Skip to content
Snippets Groups Projects
Commit 85d72bcd authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

downgrade ingress and cronjob api

parent ad375d42
No related branches found
No related tags found
No related merge requests found
Pipeline #88829 failed
apiVersion: batch/v1 apiVersion: batch/v1beta1
kind: CronJob kind: CronJob
metadata: metadata:
name: {{ include "chart.fullnameCleanTmpFiles" . }} name: {{ include "chart.fullnameCleanTmpFiles" . }}
......
{{- if .Values.ingress.enabled -}} {{- if .Values.ingress.enabled -}}
{{- $fullName := include "chart.fullname" . -}} {{- $fullName := include "chart.fullname" . -}}
{{- if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}} {{- if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}}
apiVersion: networking.k8s.io/v1 apiVersion: networking.k8s.io/v1beta1
{{- else -}} {{- else -}}
apiVersion: extensions/v1beta1 apiVersion: extensions/v1beta1
{{- end }} {{- end }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment