diff --git a/kustomize/kustomization.yaml b/kustomize/kustomization.yaml index c443d2e..e39cf60 100644 --- a/kustomize/kustomization.yaml +++ b/kustomize/kustomization.yaml @@ -4,3 +4,4 @@ kind: Kustomization namespace: toy resources: - deployment.yaml + - services.yaml diff --git a/kustomize/services.yaml b/kustomize/services.yaml new file mode 100644 index 0000000..d95ffec --- /dev/null +++ b/kustomize/services.yaml @@ -0,0 +1,13 @@ +--- +apiVersion: v1 +kind: Service +metadata: + name: toy + +spec: + ports: + - name: web + port: 80 + targetPort: web + selector: + app: toy