Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions helm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ apiVersion: v2
name: private-location
description: Escape Private Location
type: application
version: 0.6.6
appVersion: 0.6.6
version: 0.6.7
appVersion: 0.6.7
7 changes: 7 additions & 0 deletions helm/templates/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,14 @@ spec:
- name: HEALTH_CHECK_PORT
value: '8080'
- name: ESCAPE_API_KEY
{{- if .Values.existingSecret.name }}
valueFrom:
secretKeyRef:
name: {{ .Values.existingSecret.name }}
key: {{ .Values.existingSecret.key }}
{{- else }}
value: {{ .Values.ESCAPE_API_KEY | default "" | quote }}
{{- end }}
- name: ESCAPE_K8S_INTEGRATION
value: {{ .Values.ESCAPE_K8S_INTEGRATION | quote }}
- name: ESCAPE_ENABLE_LOGS_ENDPOINT
Expand Down
6 changes: 6 additions & 0 deletions helm/values.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
---
ESCAPE_API_KEY: "00000000-0000-0000-0000-000000000000"

# Reference a pre-existing Kubernetes Secret to source ESCAPE_API_KEY.
# When set, this takes precedence over the ESCAPE_API_KEY value above.
existingSecret:
name: ""
key: ""

# You can set the private location name here
# or it will fallback to the helm release name
ESCAPE_PRIVATE_LOCATION: ""
Expand Down
Loading