diff --git a/charts/mlflow/Chart.yaml b/charts/mlflow/Chart.yaml index de8dcdf..a713a15 100644 --- a/charts/mlflow/Chart.yaml +++ b/charts/mlflow/Chart.yaml @@ -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 diff --git a/charts/mlflow/templates/networkpolicy-ingress.yaml b/charts/mlflow/templates/networkpolicy-ingress.yaml index b1edae9..3003d2d 100644 --- a/charts/mlflow/templates/networkpolicy-ingress.yaml +++ b/charts/mlflow/templates/networkpolicy-ingress.yaml @@ -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 }} \ No newline at end of file +{{ include "library-chart.networkPolicyIngress" . }} \ No newline at end of file diff --git a/charts/mlflow/templates/networkpolicy.yaml b/charts/mlflow/templates/networkpolicy.yaml index a7bfb13..0fd137c 100644 --- a/charts/mlflow/templates/networkpolicy.yaml +++ b/charts/mlflow/templates/networkpolicy.yaml @@ -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 }} \ No newline at end of file +{{ include "library-chart.networkPolicy" . }} \ No newline at end of file diff --git a/charts/mlflow/values.yaml b/charts/mlflow/values.yaml index 9385a61..9c120f6 100644 --- a/charts/mlflow/values.yaml +++ b/charts/mlflow/values.yaml @@ -94,7 +94,9 @@ ingress: # - secretName: chart-example-tls # hosts: # - chart-example.local - + useCertManager: false + certManagerClusterIssuer: "" + route: enabled: false annotations: