-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add service account to registry service (#1923)
* add service account to registry service * add service account template * update registry service account configuration * cleanup values * disable sa creation by default * update base test cases for registry sa * fix pre-commit * update registry test cases * update valid spec path * fix test cases * test case complete
- Loading branch information
1 parent
d5b72a4
commit 9f9255d
Showing
5 changed files
with
131 additions
and
0 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
15 changes: 15 additions & 0 deletions
15
charts/astronomer/templates/registry/registry-serviceaccount.yaml
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
################################ | ||
## Registry ServiceAccount | ||
################################# | ||
{{- if .Values.registry.serviceAccount.create }} | ||
apiVersion: v1 | ||
kind: ServiceAccount | ||
metadata: | ||
name: {{ template "registry.ServiceAccount" . }} | ||
labels: | ||
release: {{ .Release.Name }} | ||
chart: {{ .Chart.Name }} | ||
heritage: {{ .Release.Service }} | ||
annotations: | ||
{{- toYaml .Values.registry.serviceAccount.annotations | 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
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