diff --git a/charts/agh3/templates/minio/agh-minio-cm.yml b/charts/agh3/templates/minio/agh-minio-cm.yml new file mode 100644 index 00000000..ce9ca16e --- /dev/null +++ b/charts/agh3/templates/minio/agh-minio-cm.yml @@ -0,0 +1,11 @@ +{{- if .Values.minio.internal }} +apiVersion: v1 +kind: ConfigMap +metadata: + name: agh-minio-cm + labels: + {{- include "AGH3.labels" . | nindent 4 }} +data: + MINIO_NOTIFY_WEBHOOK_ENABLE_PRIMARY: "on" + MINIO_NOTIFY_WEBHOOK_ENDPOINT_PRIMARY: "http://captain.{{ .Release.Namespace }}.svc.cluster.local:8080/internal/webhook/minio" +{{- end }} diff --git a/charts/agh3/values.yaml b/charts/agh3/values.yaml index 5e1d9785..596293db 100644 --- a/charts/agh3/values.yaml +++ b/charts/agh3/values.yaml @@ -340,6 +340,9 @@ minio: - "s3:GetObject" usersExistingSecrets: - agh-minio-users-secret + ## @param minio.extraEnvVarsCM + ## + extraEnvVarsCM: agh-minio-cm ## @section Redis parameters ## redis: