Skip to content

Commit 9ec75a3

Browse files
authored
Merge pull request #557 from uc-cdis/feat/jwt-bootstrap
Add pushSecret for JWT
2 parents 967699e + 747d590 commit 9ec75a3

File tree

5 files changed

+31
-6
lines changed

5 files changed

+31
-6
lines changed

helm/fence/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.1.71
18+
version: 0.1.72
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to

helm/fence/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# fence
22

3-
![Version: 0.1.71](https://img.shields.io/badge/Version-0.1.71-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)
3+
![Version: 0.1.72](https://img.shields.io/badge/Version-0.1.71-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)
44

55
A Helm chart for gen3 Fence
66

helm/fence/templates/jwt-keys.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,29 @@ metadata:
66
type: Opaque
77
data:
88
jwt_private_key.pem: {{ include "getOrCreatePrivateKey" . }}
9+
{{- end }}
10+
---
11+
{{- if and $.Values.global.externalSecrets.deploy (or $.Values.global.externalSecrets.pushSecret .Values.externalSecrets.pushSecret) }}
12+
apiVersion: external-secrets.io/v1alpha1
13+
kind: PushSecret
14+
metadata:
15+
name: fence-jwt-keys
16+
spec:
17+
updatePolicy: IfNotExists
18+
refreshInterval: 2m
19+
secretStoreRefs:
20+
{{- if ne .Values.global.externalSecrets.clusterSecretStoreRef "" }}
21+
- name: {{ .Values.global.externalSecrets.clusterSecretStoreRef }}
22+
kind: ClusterSecretStore
23+
{{- else }}
24+
- name: {{include "common.SecretStore" .}}
25+
kind: SecretStore
26+
{{- end }}
27+
selector:
28+
secret:
29+
name: fence-jwt-keys
30+
data:
31+
- match:
32+
remoteRef:
33+
remoteKey: {{include "fence-jwt-keys" .}}
934
{{- end }}

helm/gen3/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ dependencies:
6464
repository: "file://../frontend-framework"
6565
condition: frontend-framework.enabled
6666
- name: fence
67-
version: 0.1.71
67+
version: 0.1.72
6868
repository: "file://../fence"
6969
condition: fence.enabled
7070
- name: funnel
@@ -193,7 +193,7 @@ type: application
193193
# to the chart and its templates, including the app version.
194194
# Versions are expected to follow Semantic Versioning (https://semver.org/)
195195

196-
version: 0.3.18
196+
version: 0.3.19
197197

198198
# This is the version number of the application being deployed. This version number should be
199199
# incremented each time you make changes to the application. Versions are not expected to

helm/gen3/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# gen3
22

3-
![Version: 0.3.18](https://img.shields.io/badge/Version-0.3.18-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)
3+
![Version: 0.3.19](https://img.shields.io/badge/Version-0.3.18-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)
44

55
Helm chart to deploy Gen3 Data Commons
66

@@ -33,7 +33,7 @@ Helm chart to deploy Gen3 Data Commons
3333
| file://../dicom-server | dicom-server | 0.1.27 |
3434
| file://../embedding-management-service | embedding-management-service | 0.1.4 |
3535
| file://../etl | etl | 0.1.22 |
36-
| file://../fence | fence | 0.1.71 |
36+
| file://../fence | fence | 0.1.72 |
3737
| file://../frontend-framework | frontend-framework | 0.1.22 |
3838
| file://../funnel | funnel | 0.1.13 |
3939
| file://../gen3-analysis | gen3-analysis | 0.1.9 |

0 commit comments

Comments
 (0)