From fed82f754c5debdfd60fe069cd2ae9895ab149e8 Mon Sep 17 00:00:00 2001 From: jlandowner Date: Wed, 22 May 2024 22:22:57 +0900 Subject: [PATCH] Update local-run-test --- .../templates/dev-code-server/cosmo-template.yaml | 2 ++ .../templates/dev-code-server/gryffindor-template.yaml | 2 ++ .../templates/dev-code-server/kubernetes/network.yaml | 2 ++ 3 files changed, 6 insertions(+) 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: