Skip to content

Commit

Permalink
Update demo-deploy.tmpl.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
ShanaLMoore committed Jan 3, 2024
1 parent 375ab02 commit 3919adb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ops/demo-deploy.tmpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,13 @@ extraVolumeMounts: &volMounts

ingress:
enabled: true
{{- $beta := semverCompare "<1.19-0" (default .Capabilities.KubeVersion.Version .Values.kubeVersion) -}}
{{- if $beta }}
apiVersion: networking.k8s.io/v1beta1
{{- else }}
apiVersion: networking.k8s.io/v1
{{- end }}
kind: Ingress
hosts:
- host: hyku-demo.$BASE_URL
paths:
Expand Down

0 comments on commit 3919adb

Please sign in to comment.