diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2020-08-20 04:02:45 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2020-08-20 04:02:45 +0200 |
commit | 430b52b32bb44e05516b0178501cf2878909aaec (patch) | |
tree | bf3e01323b69cf465c48c3242083422e08193c57 /docs/samples/mysql/templates | |
parent | 5de35a8ae4e76f283abf159f84bfa9c9b17efddb (diff) | |
download | ands-430b52b32bb44e05516b0178501cf2878909aaec.tar.gz ands-430b52b32bb44e05516b0178501cf2878909aaec.tar.bz2 ands-430b52b32bb44e05516b0178501cf2878909aaec.tar.xz ands-430b52b32bb44e05516b0178501cf2878909aaec.zip |
EPICS namespace and documetation update
Diffstat (limited to 'docs/samples/mysql/templates')
-rw-r--r-- | docs/samples/mysql/templates/01-sds-secrets.yml.j2 | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/docs/samples/mysql/templates/01-sds-secrets.yml.j2 b/docs/samples/mysql/templates/01-sds-secrets.yml.j2 new file mode 100644 index 0000000..2922118 --- /dev/null +++ b/docs/samples/mysql/templates/01-sds-secrets.yml.j2 @@ -0,0 +1,26 @@ +apiVersion: v1 +kind: Template +metadata: + name: sds-secrets + labels: + app: sds + annotations: + descriptions: "SymmetricDS Secrets" +objects: +- apiVersion: v1 + kind: Secret + metadata: + annotations: + template.openshift.io/expose-root_password: '{.data[''root-password'']}' + template.openshift.io/expose-database_password: '{.data[''database-password'']}' + name: sds + stringData: + root-password: "${DATABASE_PASSWORD}" + database-password: "${DATABASE_PASSWORD}" +parameters: +- description: SymmetricDS Database Password + displayName: SymmetricDS Database Password + from: '[a-zA-Z0-9]{16}' + generate: expression + name: DATABASE_PASSWORD + required: true |