Skip to content
Merged
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 @@ -2,5 +2,5 @@ apiVersion: v2
name: stac-auth-proxy
description: A Helm chart for stac-auth-proxy
type: application
version: 0.1.0
appVersion: "1.0.0"
version: 0.1.1
appVersion: "1.0.0"
4 changes: 4 additions & 0 deletions helm/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ spec:
serviceAccountName: {{ include "stac-auth-proxy.serviceAccountName" . }}
securityContext:
{{- toYaml .Values.securityContext | nindent 8 }}
{{- with .Values.initContainers }}
initContainers:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: {{ .Chart.Name }}
securityContext:
Expand Down
7 changes: 7 additions & 0 deletions helm/values.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,13 @@ properties:
additionalProperties: true
description: "Pod affinity rules"

initContainers:
type: array
items:
type: object
additionalProperties: true
description: "Init containers to run before the main container starts"

serviceAccount:
type: object
properties:
Expand Down
8 changes: 8 additions & 0 deletions helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,14 @@ nodeSelector: {}
tolerations: []
affinity: {}

# Init containers to run before the main container starts
# initContainers: []
# Example:
# initContainers:
# - name: wait-for-oidc
# image: busybox:1.35
# command: ['sh', '-c', 'until nc -z oidc-server 8080; do sleep 2; done']

# Environment variables for the application
env:
# Required configuration
Expand Down
Loading