Update Ingress apiVersion to networking.k8s.io/v1beta1

This commit is contained in:
Jerome Brette
2019-09-20 18:14:55 +00:00
parent 0c32691e9e
commit b1faa989f4
4 changed files with 11 additions and 11 deletions

View File

@@ -16,7 +16,7 @@ resources:
EOF
cat <<EOF >$DEMO_HOME/ingress.yaml
apiVersion: extensions/v1beta1
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: my-ingress
@@ -72,7 +72,7 @@ Apply the patch by adding _patchesJson6902_ field in kustomization.yaml
cat <<EOF >>$DEMO_HOME/kustomization.yaml
patchesJson6902:
- target:
group: extensions
group: networking.k8s.io
version: v1beta1
kind: Ingress
name: my-ingress
@@ -102,7 +102,7 @@ If the patch is YAML-formatted, it will be parsed correctly:
cat <<EOF >>$DEMO_HOME/kustomization.yaml
patchesJson6902:
- target:
group: extensions
group: networking.k8s.io
version: v1beta1
kind: Ingress
name: my-ingress