Skip to content

Commit

Permalink
ConfigMapRefの追加。Connection数の指定
Browse files Browse the repository at this point in the history
  • Loading branch information
Sugi275 committed Dec 2, 2018
1 parent 06e5d58 commit 2aab34b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
4 changes: 3 additions & 1 deletion base/qicoo-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ spec:
envFrom:
- secretRef:
name: qicoo-api-secret
- configMapRef:
name: qicoo-api-configmap
securityContext:
privileged: false
readOnlyRootFilesystem: true
runAsNonRoot: true
runAsNonRoot: true
2 changes: 2 additions & 0 deletions overlays/production/patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@ spec:
envFrom:
- secretRef:
name: qicoo-api-secret-production
- configMapRef:
name: qicoo-api-configmap-production
4 changes: 2 additions & 2 deletions overlays/staging/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ resources:
patches:
- patch.yaml
imageTags:
- name: cndjp/qicoo-api
newTag: @@NEW_TAG@@
- name: cndjp/qicoo-api
newTag: 0.0.2
4 changes: 3 additions & 1 deletion overlays/staging/patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,6 @@ spec:
cpu: 200m
envFrom:
- secretRef:
name: qicoo-api-secret-staging
name: qicoo-api-secret-staging
- configMapRef:
name: qicoo-api-configmap-staging

0 comments on commit 2aab34b

Please sign in to comment.