-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
salt: wait for cert-manager before installing olm
- Loading branch information
Showing
1 changed file
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,39 @@ | ||
include: | ||
- .namespace | ||
- .chart | ||
|
||
Wait for cert-manager deployment to be Ready: | ||
test.configurable_test_state: | ||
- changes: False | ||
- result: __slot__:salt:metalk8s_kubernetes.check_object_ready( | ||
apiVersion=apps/v1, kind=Deployment, | ||
name=cert-manager, namespace=metalk8s-certs) | ||
- comment: wait for cert-manager | ||
- retry: | ||
attempts: 30 | ||
- require: | ||
- sls: metalk8s.addons.cert-manager.deployed.chart | ||
|
||
Wait for cert-manager webhook to be Ready: | ||
test.configurable_test_state: | ||
- changes: False | ||
- result: __slot__:salt:metalk8s_kubernetes.check_object_ready( | ||
apiVersion=apps/v1, kind=Deployment, | ||
name=cert-manager-webhook, namespace=metalk8s-certs) | ||
- comment: wait for cert-manager-webhook | ||
- retry: | ||
attempts: 30 | ||
- require: | ||
- sls: metalk8s.addons.cert-manager.deployed.chart | ||
|
||
Wait for cert-manager cainjector to be Ready: | ||
test.configurable_test_state: | ||
- changes: False | ||
- result: __slot__:salt:metalk8s_kubernetes.check_object_ready( | ||
apiVersion=apps/v1, kind=Deployment, | ||
name=cert-manager-cainjector, namespace=metalk8s-certs) | ||
- comment: wait for cert-manager-cainjector | ||
- retry: | ||
attempts: 30 | ||
- require: | ||
- sls: metalk8s.addons.cert-manager.deployed.chart |