Merge pull request #450 from Zokormazo/secrets

Backup and restore secret type
This commit is contained in:
Yanis Guenane
2021-07-02 14:05:17 +02:00
committed by GitHub
3 changed files with 5 additions and 2 deletions

View File

@@ -11,6 +11,7 @@ metadata:
app.kubernetes.io/managed-by: '{{ deployment_type }}-operator'
app.kubernetes.io/component: '{{ deployment_type }}'
app.kubernetes.io/operator-version: '{{ lookup("env", "OPERATOR_VERSION") }}'
type: '{{ secrets[secret]['type'] }}'
stringData:
{% for key, value in secrets[secret]['data'].items() %}
{{ key }}: |-