mirror of
https://github.com/ansible/awx.git
synced 2024-10-31 23:51:09 +03:00
12 lines
353 B
Django/Jinja
12 lines
353 B
Django/Jinja
---
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
namespace: {{ kubernetes_namespace }}
|
|
name: "{{ kubernetes_deployment_name }}-secrets"
|
|
type: Opaque
|
|
data:
|
|
secret_key: "{{ secret_key | b64encode }}"
|
|
credentials_py: "{{ lookup('template', 'credentials.py.j2') | b64encode }}"
|
|
environment_sh: "{{ lookup('template', 'environment.sh.j2') | b64encode }}"
|