diff --git a/kubernetes/MustacheTemplate/resource.yaml b/kubernetes/MustacheTemplate/resource.yaml index 288af17..307635a 100644 --- a/kubernetes/MustacheTemplate/resource.yaml +++ b/kubernetes/MustacheTemplate/resource.yaml @@ -6,7 +6,7 @@ metadata: version: "{{TRAVIS_COMMIT}}" razee.io/git-repo: "{{{GIT_REMOTE}}}" razee.io/commit-sha: "{{TRAVIS_COMMIT}}" -type: array +type: array items: - apiVersion: apps/v1 kind: Deployment @@ -49,6 +49,15 @@ items: periodSeconds: 300 timeoutSeconds: 30 failureThreshold: 1 + volumeMounts: + - mountPath: /usr/src/app/config + name: kapitan-config + volumes: + - name: kapitan-config + configMap: + name: kapitan-config + defaultMode: 420 + optional: true - apiVersion: apiextensions.k8s.io/v1beta1 kind: CustomResourceDefinition metadata: