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
8 changes: 8 additions & 0 deletions helm/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,15 @@ spec:
- name: {{ $key }}
value: {{ include "stac-auth-proxy.envValue" $value }}
{{- end }}
{{- with .Values.extraVolumeMounts }}
volumeMounts:
{{- toYaml . | nindent 12 }}
{{- end }}

{{- with .Values.extraVolumes }}
volumes:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down
30 changes: 30 additions & 0 deletions helm/values.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,36 @@ properties:
additionalProperties: true
description: "Init containers to run before the main container starts"

extraVolumes:
type: array
items:
type: object
additionalProperties: true
description: "Additional volumes to mount (e.g., ConfigMaps for custom filter files)"
default: []

extraVolumeMounts:
type: array
items:
type: object
required: ["name", "mountPath"]
properties:
name:
type: string
description: "Name of the volume to mount"
mountPath:
type: string
description: "Path within the container at which the volume should be mounted"
subPath:
type: string
description: "Path within the volume from which the container's volume should be mounted"
readOnly:
type: boolean
description: "Mounted read-only if true, read-write otherwise"
additionalProperties: true
description: "Additional volume mounts for the container"
default: []

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

# Additional volumes to mount
extraVolumes: []
# Example:
# extraVolumes:
# - name: filters
# configMap:
# name: stac-auth-proxy-filters

# Additional volume mounts for the container
extraVolumeMounts: []
# Example:
# extraVolumeMounts:
# - name: filters
# mountPath: /app/src/stac_auth_proxy/custom_filters.py
# subPath: custom_filters.py
# readOnly: true

# Init containers to run before the main container starts
# initContainers: []
# Example:
Expand Down
Loading