Merge "[COMMON] Make imagePullSecrets configurable"
authorLukasz Rajewski <lukasz.rajewski@t-mobile.pl>
Mon, 25 Mar 2024 09:54:20 +0000 (09:54 +0000)
committerGerrit Code Review <gerrit@onap.org>
Mon, 25 Mar 2024 09:54:20 +0000 (09:54 +0000)
1  2 
kubernetes/so/components/so-bpmn-infra/templates/deployment.yaml

@@@ -1,6 -1,5 +1,6 @@@
  {{/*
  # Copyright © 2018 AT&T USA
 +# Copyright © 2024 Deutsche Telekom Intellectual Property. All rights reserved.
  #
  # Licensed under the Apache License, Version 2.0 (the "License");
  # you may not use this file except in compliance with the License.
@@@ -48,11 -47,6 +48,11 @@@ spec
            {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "db-admin-creds" "key" "login") | indent 10 }}
          - name: DB_ADMIN_PASSWORD
            {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "db-admin-creds" "key" "password") | indent 10 }}
 +        - name: JAAS_CONFIG
 +          valueFrom:
 +            secretKeyRef:
 +              name: {{ include "common.name" . }}-ku
 +              key: sasl.jaas.config
          envFrom:
          - configMapRef:
              name: {{ include "common.fullname" . }}-configmap
@@@ -82,5 -76,4 +82,4 @@@
        {{ include "common.log.volumes" (dict "dot" . "configMapNamePrefix" (tpl .Values.logConfigMapNamePrefix .)) | nindent 6 }}
        - name:  {{ include "common.fullname" . }}-logs
          emptyDir: {}
-       imagePullSecrets:
-         - name: "{{ include "common.namespace" . }}-docker-registry-key"
+       {{- include "common.imagePullSecrets" . | nindent 6 }}