-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Description
- Which image of the operator are you using? v1.6.3 helm chart from github repository
- Where do you run it - cloud or metal? Kubernetes or OpenShift? OVH managed Kubernetes
- Are you running Postgres Operator in production? no
- Type of issue? Bug report
I setup the postgres-operator-ui using helm. In the values.yaml
I have setup an nginx ingress with the following configuration:
ingress:
enabled: true
annotations:
kubernetes.io/ingress.class: nginx
kubernetes.io/tls-acme: "true"
hosts:
- host: ui.yourname.xyz
paths: [""]
tls:
- secretName: postgres-operator-ui-tls
hosts:
- ui.yourname.xyz
During the installation I get this deprecation warnings:
W0802 18:44:38.032843 17478 warnings.go:70] networking.k8s.io/v1beta1 Ingress is deprecated in v1.19+, unavailable in v1.22+; use networking.k8s.io/v1 Ingress
W0802 18:44:38.938036 17478 warnings.go:70] networking.k8s.io/v1beta1 Ingress is deprecated in v1.19+, unavailable in v1.22+; use networking.k8s.io/v1 Ingress
W0802 18:44:39.062773 17478 warnings.go:70] networking.k8s.io/v1beta1 Ingress is deprecated in v1.19+, unavailable in v1.22+; use networking.k8s.io/v1 Ingress
I expect the chart installing without the deprecation warnings.
I think the fix is relative easy. Just updating the apiVersion in the ingress template and double-check if there are any incompatibilities with the new version. The old version will not longer supported with K8S release 1.22.
More Information: https://kubernetes.io/docs/reference/using-api/deprecation-guide/
Metadata
Metadata
Assignees
Labels
No labels