Skip to content

Commit

Permalink
Merge pull request #63 from InseeFrLab/mlflow-add-cert-manager
Browse files Browse the repository at this point in the history
mlflow - clean and add use of certmanager
  • Loading branch information
odysseu authored Feb 21, 2024
2 parents 7f09e2d + 58fd484 commit 7d7cc04
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 34 deletions.
2 changes: 1 addition & 1 deletion charts/mlflow/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ dependencies:
version: 13.1.5
repository: https://charts.bitnami.com/bitnami
- name: library-chart
version: 1.5.15
version: 1.5.19
repository: https://inseefrlab.github.io/helm-charts-interactive-services
18 changes: 1 addition & 17 deletions charts/mlflow/templates/networkpolicy-ingress.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1 @@
{{- if .Values.security.networkPolicy.enabled -}}
{{- if .Values.ingress.enabled -}}
kind: NetworkPolicy
apiVersion: networking.k8s.io/v1
metadata:
name: {{ include "library-chart.fullname" . }}-2
spec:
podSelector:
matchLabels:
{{- include "library-chart.selectorLabels" . | nindent 6 }}
ingress:
- from:
{{- toYaml .Values.security.networkPolicy.from | nindent 4 }}
policyTypes:
- Ingress
{{- end }}
{{- end }}
{{ include "library-chart.networkPolicyIngress" . }}
16 changes: 1 addition & 15 deletions charts/mlflow/templates/networkpolicy.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1 @@
{{- if .Values.security.networkPolicy.enabled -}}
kind: NetworkPolicy
apiVersion: networking.k8s.io/v1
metadata:
name: {{ include "library-chart.fullname" . }}
spec:
podSelector:
matchLabels:
{{- include "library-chart.selectorLabels" . | nindent 6 }}
ingress:
- from:
- podSelector: {}
policyTypes:
- Ingress
{{- end }}
{{ include "library-chart.networkPolicy" . }}
4 changes: 3 additions & 1 deletion charts/mlflow/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ ingress:
# - secretName: chart-example-tls
# hosts:
# - chart-example.local

useCertManager: false
certManagerClusterIssuer: ""

route:
enabled: false
annotations:
Expand Down

0 comments on commit 7d7cc04

Please sign in to comment.