-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2603 from lsst-sqre/tickets/DM-40947
DM-40947: Add secrets config for more applications
- Loading branch information
Showing
17 changed files
with
106 additions
and
29 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
"aws-credentials.ini": | ||
description: >- | ||
Google Cloud Storage credentials to the Butler data store, formatted using | ||
AWS syntax for use with boto. | ||
copy: | ||
application: nublado | ||
key: "aws-credentials.ini" | ||
"butler-gcs-idf-creds.json": | ||
description: >- | ||
Google Cloud Storage credentials to the Butler data store in the native | ||
Google syntax, containing the private asymmetric key. | ||
copy: | ||
application: nublado | ||
key: "butler-gcs-idf-creds.json" | ||
"postgres-credentials.txt": | ||
description: >- | ||
PostgreSQL credentials in its pgpass format for the Butler database. | ||
copy: | ||
application: nublado | ||
key: "postgres-credentials.txt" |
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,13 @@ | ||
--- | ||
apiVersion: ricoberger.de/v1alpha1 | ||
kind: VaultSecret | ||
metadata: | ||
name: butler-secret | ||
name: {{ template "obsloctap.fullname" . }} | ||
labels: | ||
{{- include "obsloctap.labels" . | nindent 4 }} | ||
spec: | ||
{{- if .Values.config.separateSecrets }} | ||
path: "{{ .Values.global.vaultSecretsPath }}/obsloctap" | ||
{{- else }} | ||
path: "{{ .Values.global.vaultSecretsPath }}/butler-secret" | ||
{{- end }} | ||
type: Opaque |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
"aws-credentials.ini": | ||
description: >- | ||
Google Cloud Storage credentials to the Butler data store, formatted using | ||
AWS syntax for use with boto. | ||
copy: | ||
application: nublado | ||
key: "aws-credentials.ini" | ||
"butler-gcs-idf-creds.json": | ||
description: >- | ||
Google Cloud Storage credentials to the Butler data store in the native | ||
Google syntax, containing the private asymmetric key. | ||
copy: | ||
application: nublado | ||
key: "butler-gcs-idf-creds.json" | ||
"postgres-credentials.txt": | ||
description: >- | ||
PostgreSQL credentials in its pgpass format for the Butler database. | ||
copy: | ||
application: nublado | ||
key: "postgres-credentials.txt" |
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,20 +1,13 @@ | ||
--- | ||
apiVersion: ricoberger.de/v1alpha1 | ||
kind: VaultSecret | ||
metadata: | ||
name: butler-secret | ||
name: {{ template "plot-navigator.fullname" . }} | ||
labels: | ||
{{- include "plot-navigator.labels" . | nindent 4 }} | ||
spec: | ||
{{- if .Values.config.separateSecrets }} | ||
path: "{{ .Values.global.vaultSecretsPath }}/plot-navigator" | ||
{{- else }} | ||
path: "{{ .Values.global.vaultSecretsPath }}/butler-secret" | ||
{{- end }} | ||
type: Opaque | ||
--- | ||
apiVersion: ricoberger.de/v1alpha1 | ||
kind: VaultSecret | ||
metadata: | ||
name: pull-secret | ||
labels: | ||
{{- include "plot-navigator.labels" . | nindent 4 }} | ||
spec: | ||
path: "{{- .Values.global.vaultSecretsPath }}/pull-secret" | ||
type: kubernetes.io/dockerconfigjson |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
"aws-credentials.ini": | ||
description: >- | ||
Google Cloud Storage credentials to the Butler data store, formatted using | ||
AWS syntax for use with boto. | ||
copy: | ||
application: nublado | ||
key: "aws-credentials.ini" | ||
"butler-gcs-idf-creds.json": | ||
description: >- | ||
Google Cloud Storage credentials to the Butler data store in the native | ||
Google syntax, containing the private asymmetric key. | ||
copy: | ||
application: nublado | ||
key: "butler-gcs-idf-creds.json" | ||
"postgres-credentials.txt": | ||
description: >- | ||
PostgreSQL credentials in its pgpass format for the Butler database. | ||
copy: | ||
application: nublado | ||
key: "postgres-credentials.txt" |
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