summaryrefslogtreecommitdiffstats
path: root/kubernetes/appc/templates/secrets.yaml
diff options
context:
space:
mode:
authorBorislav Glozman <Borislav.Glozman@amdocs.com>2020-02-02 13:23:12 +0000
committerGerrit Code Review <gerrit@onap.org>2020-02-02 13:23:12 +0000
commitf37261b53a7d07d6046c6710b5828e70ead678d0 (patch)
treec1d7dbdcd611d1e2318d499512b1b1d284526005 /kubernetes/appc/templates/secrets.yaml
parent5878b3db688aa32ffa4af2e88ba96eaf68f92871 (diff)
parente74ed5cd24df70e1e9b137eadf8e32d5c89f236b (diff)
Merge "[APPC] Don't hardcode mariadb root password"
Diffstat (limited to 'kubernetes/appc/templates/secrets.yaml')
-rw-r--r--kubernetes/appc/templates/secrets.yaml14
1 files changed, 1 insertions, 13 deletions
diff --git a/kubernetes/appc/templates/secrets.yaml b/kubernetes/appc/templates/secrets.yaml
index 57311a0077..65a6b24eb7 100644
--- a/kubernetes/appc/templates/secrets.yaml
+++ b/kubernetes/appc/templates/secrets.yaml
@@ -12,16 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-apiVersion: v1
-kind: Secret
-metadata:
- name: {{ include "common.fullname" . }}
- namespace: {{ include "common.namespace" . }}
- labels:
- app: {{ include "common.fullname" . }}
- chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
- release: {{ .Release.Name }}
- heritage: {{ .Release.Service }}
-type: Opaque
-data:
- db-root-password: {{ .Values.config.mariadbRootPassword | b64enc | quote }}
+{{ include "common.secret" . }}