Skip to content

Commit

Permalink
Merge pull request #157 from uc-cdis/feat/externalSecretsPatch
Browse files Browse the repository at this point in the history
External Secret Patches
  • Loading branch information
EliseCastle23 authored Mar 11, 2024
2 parents e1bb6fd + f4f2194 commit 2676d80
Show file tree
Hide file tree
Showing 11 changed files with 20 additions and 16 deletions.
2 changes: 1 addition & 1 deletion helm/fence/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.15
version: 0.1.16

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 1 addition & 1 deletion helm/fence/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# fence

![Version: 0.1.15](https://img.shields.io/badge/Version-0.1.15-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: master](https://img.shields.io/badge/AppVersion-master-informational?style=flat-square)
![Version: 0.1.16](https://img.shields.io/badge/Version-0.1.16-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: master](https://img.shields.io/badge/AppVersion-master-informational?style=flat-square)

A Helm chart for gen3 Fence

Expand Down
2 changes: 1 addition & 1 deletion helm/fence/templates/fence-config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if or (not .Values.global.externalSecrets.deploy) (and .Values.global.externalSecrets.deploy .Values.externalSecrets.createK8sFenceSecrets) }}
{{- if or (not .Values.global.externalSecrets.deploy) (and .Values.global.externalSecrets.deploy .Values.externalSecrets.createK8sFenceConfigSecret) }}
apiVersion: v1
kind: Secret
metadata:
Expand Down
2 changes: 1 addition & 1 deletion helm/fence/templates/fence-secret.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{{- if or (not .Values.global.externalSecrets.deploy) (and .Values.global.externalSecrets.deploy .Values.externalSecrets.createK8sFenceSecrets) }}
apiVersion: v1
kind: Secret
metadata:
name: fence-secret
type: Opaque
data:
{{ (.Files.Glob "fence-secret/*").AsSecrets | indent 2 }}
{{- if or (not .Values.global.externalSecrets.deploy) (and .Values.global.externalSecrets.deploy .Values.externalSecrets.createK8sGoogleAppSecrets) }}
---
apiVersion: v1
kind: Secret
Expand Down
2 changes: 1 addition & 1 deletion helm/fence/templates/jwt-keys.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if or (not .Values.global.externalSecrets.deploy) (and .Values.global.externalSecrets.deploy .Values.externalSecrets.createK8sFenceSecrets) }}
{{- if or (not .Values.global.externalSecrets.deploy) (and .Values.global.externalSecrets.deploy .Values.externalSecrets.createK8sJwtKeysSecret) }}
apiVersion: v1
kind: Secret
metadata:
Expand Down
8 changes: 6 additions & 2 deletions helm/fence/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,12 @@ global:

# -- (map) External Secrets settings.
externalSecrets:
# -- (string) Will create the Helm "fence-config", "fence-google-app-creds-secret", "fence-google-storage-creds-secret", and "fence-jwt-keys" secrets even if Secrets Manager is enabled. This is helpful if you are wanting to use External Secrets for some, but not all secrets.
createK8sFenceSecrets: false
# -- (string) Will create the Helm "fence-config" secret even if Secrets Manager is enabled. This is helpful if you are wanting to use External Secrets for some, but not all secrets.
createK8sFenceConfigSecret: false
# -- (string) Will create the Helm "fence-jwt-keys" secret even if Secrets Manager is enabled. This is helpful if you are wanting to use External Secrets for some, but not all secrets.
createK8sJwtKeysSecret: false
# -- (string) Will create the Helm "fence-google-app-creds-secret" and "fence-google-storage-creds-secret" secrets even if Secrets Manager is enabled. This is helpful if you are wanting to use External Secrets for some, but not all secrets.
createK8sGoogleAppSecrets: false
# -- (string) Will override the name of the aws secrets manager secret. Default is "fence-jwt-keys"
fenceJwtKeys:
# -- (string) Will override the name of the aws secrets manager secret. Default is "fence-google-app-creds-secret"
Expand Down
6 changes: 3 additions & 3 deletions helm/gen3/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ dependencies:
repository: file://../etl
condition: etl.enabled
- name: fence
version: 0.1.15
version: 0.1.16
repository: "file://../fence"
condition: fence.enabled
- name: guppy
Expand All @@ -44,7 +44,7 @@ dependencies:
repository: "file://../hatchery"
condition: hatchery.enabled
- name: indexd
version: 0.1.12
version: 0.1.13
repository: "file://../indexd"
condition: indexd.enabled
- name: manifestservice
Expand Down Expand Up @@ -115,7 +115,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.22
version: 0.1.23

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
6 changes: 3 additions & 3 deletions helm/gen3/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# gen3

![Version: 0.1.22](https://img.shields.io/badge/Version-0.1.22-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: master](https://img.shields.io/badge/AppVersion-master-informational?style=flat-square)
![Version: 0.1.23](https://img.shields.io/badge/Version-0.1.23-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: master](https://img.shields.io/badge/AppVersion-master-informational?style=flat-square)

Helm chart to deploy Gen3 Data Commons

Expand All @@ -25,10 +25,10 @@ Helm chart to deploy Gen3 Data Commons
| file://../aws-es-proxy | aws-es-proxy | 0.1.8 |
| file://../common | common | 0.1.9 |
| file://../etl | etl | 0.1.0 |
| file://../fence | fence | 0.1.15 |
| file://../fence | fence | 0.1.16 |
| file://../guppy | guppy | 0.1.10 |
| file://../hatchery | hatchery | 0.1.8 |
| file://../indexd | indexd | 0.1.12 |
| file://../indexd | indexd | 0.1.13 |
| file://../manifestservice | manifestservice | 0.1.12 |
| file://../metadata | metadata | 0.1.10 |
| file://../peregrine | peregrine | 0.1.11 |
Expand Down
2 changes: 1 addition & 1 deletion helm/indexd/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.12
version: 0.1.13

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 1 addition & 1 deletion helm/indexd/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# indexd

![Version: 0.1.12](https://img.shields.io/badge/Version-0.1.12-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: master](https://img.shields.io/badge/AppVersion-master-informational?style=flat-square)
![Version: 0.1.13](https://img.shields.io/badge/Version-0.1.13-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: master](https://img.shields.io/badge/AppVersion-master-informational?style=flat-square)

A Helm chart for gen3 indexd

Expand Down
2 changes: 1 addition & 1 deletion helm/indexd/templates/indexd-secret.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{{- if or (not .Values.global.externalSecrets.deploy) (and .Values.global.externalSecrets.deploy .Values.externalSecrets.createK8sServiceCredsSecret) }}
apiVersion: v1
kind: Secret
metadata:
Expand All @@ -7,6 +6,7 @@ type: Opaque
data:
{{ (.Files.Glob "indexd-settings/*").AsSecrets | indent 2 }}
---
{{- if or (not .Values.global.externalSecrets.deploy) (and .Values.global.externalSecrets.deploy .Values.externalSecrets.createK8sServiceCredsSecret) }}
apiVersion: v1
kind: Secret
metadata:
Expand Down

0 comments on commit 2676d80

Please sign in to comment.