Skip to content

Commit

Permalink
Add optional config cm
Browse files Browse the repository at this point in the history
  • Loading branch information
alewitt2 committed Jul 31, 2019
1 parent 3d769d9 commit c5d5423
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion kubernetes/MustacheTemplate/resource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit c5d5423

Please sign in to comment.