Skip to content

Commit

Permalink
chore: updated annotations from frontend!
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathias Brunkow Moser committed Jul 23, 2024
1 parent f318a68 commit 53411b9
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions charts/digital-product-pass/templates/ingress-frontend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,14 @@
{{- end }}
{{- end }}

#{{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion -}}
#apiVersion: networking.k8s.io/v1
#{{- else if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}}
#apiVersion: networking.k8s.io/v1beta1
#{{- else -}}
#apiVersion: extensions/v1beta1
#{{- end }}

{{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion -}}
apiVersion: networking.k8s.io/v1
{{- else if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}}
apiVersion: networking.k8s.io/v1beta1
{{- else -}}
apiVersion: extensions/v1beta1
{{- end }}

kind: Ingress
metadata:
name: {{ $fullName }}
Expand Down

0 comments on commit 53411b9

Please sign in to comment.