diff options
Diffstat (limited to 'roles/openshift_metrics/templates/secret.j2')
-rw-r--r-- | roles/openshift_metrics/templates/secret.j2 | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/roles/openshift_metrics/templates/secret.j2 b/roles/openshift_metrics/templates/secret.j2 new file mode 100644 index 000000000..5b9dba122 --- /dev/null +++ b/roles/openshift_metrics/templates/secret.j2 @@ -0,0 +1,18 @@ +apiVersion: v1 +kind: Secret +metadata: + name: "{{ name }}" +{% if annotations is defined%} + annotations: +{% for key, value in annotations.iteritems() %} + {{key}}: {{value}} +{% endfor %} +{% endif %} + labels: +{% for k, v in labels.iteritems() %} + {{ k }}: {{ v }} +{% endfor %} +data: +{% for k, v in data.iteritems() %} + {{ k }}: {{ v }} +{% endfor %} |