diff --git a/hack/local-run-test/templates/dev-code-server/cosmo-template.yaml b/hack/local-run-test/templates/dev-code-server/cosmo-template.yaml index 1b686836..3c9f8fbd 100644 --- a/hack/local-run-test/templates/dev-code-server/cosmo-template.yaml +++ b/hack/local-run-test/templates/dev-code-server/cosmo-template.yaml @@ -14,6 +14,8 @@ spec: apiVersion: v1 kind: Service metadata: + annotations: + cosmo-workspace.github.io/delete-policy: keep labels: cosmo-workspace.github.io/instance: '{{INSTANCE}}' cosmo-workspace.github.io/template: '{{TEMPLATE}}' diff --git a/hack/local-run-test/templates/dev-code-server/gryffindor-template.yaml b/hack/local-run-test/templates/dev-code-server/gryffindor-template.yaml index bd9252c8..df24993b 100644 --- a/hack/local-run-test/templates/dev-code-server/gryffindor-template.yaml +++ b/hack/local-run-test/templates/dev-code-server/gryffindor-template.yaml @@ -17,6 +17,8 @@ spec: apiVersion: v1 kind: Service metadata: + annotations: + cosmo-workspace.github.io/delete-policy: keep labels: cosmo-workspace.github.io/instance: '{{INSTANCE}}' cosmo-workspace.github.io/template: '{{TEMPLATE}}' diff --git a/hack/local-run-test/templates/dev-code-server/kubernetes/network.yaml b/hack/local-run-test/templates/dev-code-server/kubernetes/network.yaml index 49020855..5a22c39a 100644 --- a/hack/local-run-test/templates/dev-code-server/kubernetes/network.yaml +++ b/hack/local-run-test/templates/dev-code-server/kubernetes/network.yaml @@ -2,6 +2,8 @@ apiVersion: v1 kind: Service metadata: name: workspace + annotations: + cosmo-workspace.github.io/delete-policy: keep spec: type: ClusterIP ports: