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 @@ EOF
cat <<EOF >>$DEMO_HOME/kustomization.yaml
patchesJson6902:
- target:
group: extensions
group: networking.k8s.io
version: v1beta1
kind: Ingress
name: my-ingress
@@ -106,7 +106,7 @@ test 1 == \
cat <<EOF >>$DEMO_HOME/kustomization.yaml
patchesJson6902:
- target:
group: extensions
group: networking.k8s.io
version: v1beta1
kind: Ingress
name: my-ingress
@@ -121,4 +121,4 @@ EOF
test 1 == \
$(kustomize build $DEMO_HOME | grep "path: /test" | wc -l); \
echo $?
```
```