fix: require microservices doppler token
This commit is contained in:
@@ -12,6 +12,12 @@
|
|||||||
- ghcr_read_token | default("") | length > 0
|
- ghcr_read_token | default("") | length > 0
|
||||||
fail_msg: ghcr_username and ghcr_read_token must be provided for private MicroServices image pulls.
|
fail_msg: ghcr_username and ghcr_read_token must be provided for private MicroServices image pulls.
|
||||||
|
|
||||||
|
- name: Ensure OpenStaticFish MicroServices Doppler token is provided
|
||||||
|
assert:
|
||||||
|
that:
|
||||||
|
- doppler_openstaticfish_microservices_service_token | default("") | length > 0
|
||||||
|
fail_msg: doppler_openstaticfish_microservices_service_token must be provided for MicroServices runtime secrets.
|
||||||
|
|
||||||
- name: Ensure external-secrets namespace exists
|
- name: Ensure external-secrets namespace exists
|
||||||
shell: kubectl create namespace external-secrets --dry-run=client -o yaml | kubectl apply -f -
|
shell: kubectl create namespace external-secrets --dry-run=client -o yaml | kubectl apply -f -
|
||||||
changed_when: true
|
changed_when: true
|
||||||
@@ -35,7 +41,6 @@
|
|||||||
--dry-run=client -o yaml | kubectl apply -f -
|
--dry-run=client -o yaml | kubectl apply -f -
|
||||||
changed_when: true
|
changed_when: true
|
||||||
no_log: true
|
no_log: true
|
||||||
when: doppler_openstaticfish_microservices_service_token | default("") | length > 0
|
|
||||||
|
|
||||||
- name: Apply GHCR pull secret for private MicroServices images
|
- name: Apply GHCR pull secret for private MicroServices images
|
||||||
shell: >-
|
shell: >-
|
||||||
|
|||||||
Reference in New Issue
Block a user