diff --git a/kustomize-guestbook/base/ingress.yaml b/kustomize-guestbook/base/ingress.yaml index 666c673..75dd755 100644 --- a/kustomize-guestbook/base/ingress.yaml +++ b/kustomize-guestbook/base/ingress.yaml @@ -1,7 +1,7 @@ apiVersion: extensions/v1beta1 kind: Ingress metadata: - name: kustomize-guestbook-ingress + name: guestbook-ingress # namespace: guestbook labels: app.kubernetes.io/component: server diff --git a/kustomize-guestbook/base/kustomization.yaml b/kustomize-guestbook/base/kustomization.yaml index d22b5c8..f4f3de6 100644 --- a/kustomize-guestbook/base/kustomization.yaml +++ b/kustomize-guestbook/base/kustomization.yaml @@ -1,8 +1,9 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization + namePrefix: kustomize- resources: - guestbook-ui-deployment.yaml - guestbook-ui-svc.yaml -- ingress.yaml -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization +- ingress.yamls \ No newline at end of file