-
Notifications
You must be signed in to change notification settings - Fork 190
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(annotations): add global annotations (#356)
* feat(annotations): add global annotations * bump chart * fix checksum for unit tests * use global context * add to readme * fix yaml for range * add global annotation to new pvc template
- Loading branch information
1 parent
4cdb790
commit ba2d710
Showing
26 changed files
with
1,987 additions
and
1,887 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
{{- if .Values.config -}} | ||
{{- if .Values.config }} | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: {{ template "atlantis.fullname" . }} | ||
labels: | ||
{{- include "atlantis.labels" . | nindent 4 }} | ||
{{- include "atlantis.labels" . | nindent 4 }} | ||
{{- with .Values.extraAnnotations }} | ||
annotations: | ||
{{- toYaml . | nindent 4 }} | ||
{{- end }} | ||
data: | ||
atlantis.yaml: | | ||
{{ .Values.config | indent 4 }} | ||
{{- end -}} | ||
{{- .Values.config | nindent 4 }} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
{{- if .Values.repoConfig -}} | ||
{{- if .Values.repoConfig }} | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: {{ template "atlantis.fullname" . }}-repo-config | ||
labels: | ||
{{- include "atlantis.labels" . | nindent 4 }} | ||
{{- include "atlantis.labels" . | nindent 4 }} | ||
{{- with .Values.extraAnnotations }} | ||
annotations: | ||
{{- toYaml . | nindent 4 }} | ||
{{- end }} | ||
data: | ||
repos.yaml: | | ||
{{ .Values.repoConfig | indent 4 }} | ||
{{- end -}} | ||
{{- .Values.repoConfig | indent 4 }} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,14 @@ | ||
{{- if .Values.gitconfig}} | ||
{{- if .Values.gitconfig }} | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: {{ template "atlantis.fullname" . }}-gitconfig | ||
labels: | ||
{{- include "atlantis.labels" . | nindent 4 }} | ||
{{- include "atlantis.labels" . | nindent 4 }} | ||
{{- with .Values.extraAnnotations }} | ||
annotations: | ||
{{- toYaml . | nindent 4 }} | ||
{{- end }} | ||
data: | ||
gitconfig: {{ .Values.gitconfig | b64enc }} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,14 @@ | ||
{{- if .Values.netrc}} | ||
{{- if .Values.netrc }} | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: {{ template "atlantis.fullname" . }}-netrc | ||
labels: | ||
{{- include "atlantis.labels" . | nindent 4 }} | ||
{{- include "atlantis.labels" . | nindent 4 }} | ||
{{- with .Values.extraAnnotations }} | ||
annotations: | ||
{{- toYaml . | nindent 4 }} | ||
{{- end }} | ||
data: | ||
netrc: {{ .Values.netrc | b64enc }} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,16 @@ | ||
{{- $all := . -}} | ||
{{ range $name, $secret := .Values.serviceAccountSecrets }} | ||
{{- range $name, $secret := .Values.serviceAccountSecrets }} | ||
--- | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: {{ $name }} | ||
labels: | ||
component: service-account-secret | ||
{{- include "atlantis.labels" $all | nindent 4 }} | ||
{{- include "atlantis.labels" $ | nindent 4 }} | ||
{{- with $.Values.extraAnnotations }} | ||
annotations: | ||
{{- toYaml . | nindent 4 }} | ||
{{- end }} | ||
data: | ||
service-account.json: {{ $secret }} | ||
--- | ||
{{ end }} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.