Skip to content

Commit

Permalink
Create default config map for ai-config (#1520)
Browse files Browse the repository at this point in the history
* Create default config map for ai-config

* more
  • Loading branch information
shifucun authored Apr 7, 2022
1 parent f936743 commit 26a7d60
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 1 deletion.
Empty file added deploy/base/ai.yaml
Empty file.
5 changes: 5 additions & 0 deletions deploy/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,8 @@ resources:
- ../../mixer/deploy/mapping
- deployment.yaml
- namespace.yaml

configMapGenerator:
- name: ai-config
files:
- ai.yaml
1 change: 1 addition & 0 deletions deploy/overlays/autopush/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ configMapGenerator:
- mixerProject=datcom-website-autopush
- serviceName=website-esp.endpoints.datcom-website-autopush.cloud.goog
- name: ai-config
behavior: replace
files:
- ai.yaml

Expand Down
3 changes: 2 additions & 1 deletion deploy/overlays/dev/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ configMapGenerator:
- mixerProject=datcom-website-dev
- serviceName=website-esp.endpoints.datcom-website-dev.cloud.goog
- name: ai-config
behavior: replace
files:
- ai.yaml

Expand All @@ -52,4 +53,4 @@ patchesStrategicMerge:
# maximum number of Pods that can be created over the desired number of Pods
maxSurge: 2
# maximum number of Pods that can be unavailable during the update process
maxUnavailable: 75%
maxUnavailable: 75%
1 change: 1 addition & 0 deletions deploy/overlays/prod/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ configMapGenerator:
files:
- redis.json
- name: ai-config
behavior: replace
files:
- ai.yaml

Expand Down

0 comments on commit 26a7d60

Please sign in to comment.