Skip to content

Commit

Permalink
Merge pull request #67 from codecademy-engineering/lindsay-rails-2.9.2
Browse files Browse the repository at this point in the history
add annotations to pods
  • Loading branch information
lindsaylandry authored Aug 16, 2022
2 parents 96632d7 + b476f1d commit d4b80da
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/rails/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ maintainers:
- email: [email protected] # pragma: allowlist secret
name: devops
name: rails
version: 2.9.1
version: 2.9.2
3 changes: 3 additions & 0 deletions charts/rails/ci/custom.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
annotations:
foo: bar
bar: baz
service:
additionalPort:
port: 4000
Expand Down
4 changes: 4 additions & 0 deletions charts/rails/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ spec:
tags.datadoghq.com/version: {{ .version | quote }}
{{- end }}
{{- end }}
{{- with .Values.annotations }}
annotations:
{{ toYaml . | indent 8 }}
{{- end }}
spec:
{{- if .Values.serviceAccountName }}
serviceAccountName: {{ .Values.serviceAccountName }}
Expand Down

0 comments on commit d4b80da

Please sign in to comment.