Skip to content

Commit

Permalink
make ca bundle a settable value
Browse files Browse the repository at this point in the history
  • Loading branch information
strangiato committed Apr 1, 2024
1 parent 9242bc6 commit 4b3c7fa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion charts/mlflow-server/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,10 @@ spec:
name: {{ include "mlflow-server.fullname" . }}
key: S3_ENDPOINT_URL
{{ end }}
{{ if .Values.objectStorage.caBundle }}
- name: AWS_CA_BUNDLE
value: /run/secrets/kubernetes.io/serviceaccount/service-ca.crt
value: .Values.objectStorage.caBundle
{{ end }}
{{ if .Values.crunchyPostgres.enabled }}
- name: PGBOUNCE_HOST
valueFrom:
Expand Down
2 changes: 2 additions & 0 deletions charts/mlflow-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ objectStorage:
s3AccessKeyId: ""
# -- S3 Secret Access Key if the objectBucketClaim is disabled
s3SecretAccessKey: ""
# -- The CA bundle for the internal cluster certs. Set this value to "" for AWS S3.
caBundle: /run/secrets/kubernetes.io/serviceaccount/service-ca.crt

crunchyPostgres:
# -- Enable creation of a postgres instance using crunchyPostgres operator
Expand Down

0 comments on commit 4b3c7fa

Please sign in to comment.