Skip to content

Commit

Permalink
fix(k8s): update ingress API to support k8s >v1.21
Browse files Browse the repository at this point in the history
Update from v1beta1 to v1, as v1beta1 is removed in v1.22 onwards per https://kubernetes.io/docs/reference/using-api/deprecation-guide/#ingress-v122
  • Loading branch information
pl4nty authored Jul 30, 2022
1 parent 9871866 commit dce8322
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rcds/backends/k8s/manifests.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
KIND_TO_API_VERISON = {
"Deployment": "apps/v1",
"Service": "v1",
"Ingress": "networking.k8s.io/v1beta1",
"Ingress": "networking.k8s.io/v1",
"NetworkPolicy": "networking.k8s.io/v1",
}

Expand Down

0 comments on commit dce8322

Please sign in to comment.