move AAF cert to APPC helm chart
[oom.git] / kubernetes / appc / templates / secrets.yaml
index 57311a0..c6aeb1e 100644 (file)
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
+{{ include "common.secretFast" . }}
+---
 apiVersion: v1
 kind: Secret
 metadata:
-  name: {{ include "common.fullname" . }}
+  name: {{ include "common.fullname" . }}-certs
   namespace: {{ include "common.namespace" . }}
   labels:
-    app: {{ include "common.fullname" . }}
+    app: {{ include "common.name" . }}
     chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
     release: {{ .Release.Name }}
     heritage: {{ .Release.Service }}
 type: Opaque
 data:
-  db-root-password: {{ .Values.config.mariadbRootPassword | b64enc | quote }}
+{{ tpl (.Files.Glob "resources/config/certs/*").AsSecrets . | indent 2 }}