modified: mylimbo-ansible-collections-global/workflowTemplates/mylimbo-ansible-collections-global-tbot-script.yaml
This commit is contained in:
1 parent
eb6414bb12
commit
f5c254eab4
1 file changed
+14
-12
+14
-12
@@ -17,6 +17,7 @@ spec:
|
|||||||
- name: inventory_image_reference
|
- name: inventory_image_reference
|
||||||
- name: ansible_secret_name
|
- name: ansible_secret_name
|
||||||
- name: tbot_configmap_name
|
- name: tbot_configmap_name
|
||||||
|
- name: ssh_domain
|
||||||
script:
|
script:
|
||||||
image: oci.limbosolutions.com/public/mylimbo.ansible.collections.global:latest
|
image: oci.limbosolutions.com/public/mylimbo.ansible.collections.global:latest
|
||||||
source: |
|
source: |
|
||||||
@@ -25,20 +26,21 @@ spec:
|
|||||||
tbot start --config=/etc/tbot/tbot.yaml --oneshot
|
tbot start --config=/etc/tbot/tbot.yaml --oneshot
|
||||||
{{ inputs.parameters.source }}
|
{{ inputs.parameters.source }}
|
||||||
env:
|
env:
|
||||||
- name: ANSIBLE_VAULT_PASSWORD_FILE
|
- name: ANSIBLE_VAULT_PASSWORD_FILE
|
||||||
value: /workspace/secrets/vault_password
|
value: /workspace/secrets/vault_password
|
||||||
|
|
||||||
|
- name: ANSIBLE_SSH_ARGS
|
||||||
|
value: -F /opt/machine-id/ssh_config
|
||||||
|
|
||||||
- name: ANSIBLE_SSH_ARGS
|
- name: ANSIBLE_BECOME_PASS
|
||||||
value: -F /opt/machine-id/ssh_config
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
- name: SSH_DOMAIN
|
name: "{{ inputs.parameters.ansible_secret_name }}"
|
||||||
value: teleport.limbosolutions.com
|
key: ansible_become_password
|
||||||
|
|
||||||
|
- name: SSH_DOMAIN
|
||||||
|
value: {{ inputs.parameters.ssh_domain }}
|
||||||
|
|
||||||
- name: ANSIBLE_BECOME_PASS
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: "{{ inputs.parameters.ansible_secret_name }}"
|
|
||||||
key: ansible_become_password
|
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: "512Mi"
|
memory: "512Mi"
|
||||||
|
|||||||
Reference in new issue
Block a user