-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathkustomization.yaml
More file actions
33 lines (29 loc) · 1.11 KB
/
kustomization.yaml
File metadata and controls
33 lines (29 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
---
# Use this to add labels to all of your deployment's resources
commonLabels:
app: {{ .Params.name }}
role: {{ .Params.role }}
# Use this to add annotations to all of your deployment's resources
commonAnnotations: {}
# Resources to include in the deployment
resources:
- service.yaml
- podDisruptionBudget.yaml
- virtualService.yaml
# Uncomment this line to enable autoscaling. You'll need to add `app_resources`
# in ../spinnaker.tf for this to work. Lastly, customize your scaling in
# `./horizontalPodAutoscaler.yaml`. See https://truss.bridgeops.sh/#/howto/autoscaling
# - horizontalPodAutoscaler.yaml
# Generate config maps for your deployment. This should be overridden in an
# environment-specific kustomization.yaml. Defaults go here.
configMapGenerator:
- name: {{ .Params.name }}-{{ .Params.role }}
literals:
- RAILS_ENV=production
- INST_DOG_TAGS='{}'
- INST_STATSD_HOST="datadog"
- INST_STATSD_APPEND_HOSTNAME="false"
# Since we're using Spinnaker to create the Deployment, we need to disable this
# fancy Kustomize feature.
generatorOptions:
disableNameSuffixHash: true