diff options
| author | Max Resnick <max@ofmax.li> | 2024-08-30 23:19:25 -0700 |
|---|---|---|
| committer | Max Resnick <max@ofmax.li> | 2024-08-30 23:19:25 -0700 |
| commit | a09270f7da25cda20c7e1d07c19784a7440a5348 (patch) | |
| tree | bec53e1b2b8c740478a27419b21bec439b69ca4b | |
| parent | 5bf575d506acccce52cf2611a264e674cebb0016 (diff) | |
| download | go-git-server-a09270f7da25cda20c7e1d07c19784a7440a5348.tar.gz | |
feat: add local deploy env, fixup labels
| -rw-r--r-- | manifests/cgit/kustomization.yaml | 8 | ||||
| -rw-r--r-- | manifests/local/kustomization.yaml | 22 |
2 files changed, 25 insertions, 5 deletions
diff --git a/manifests/cgit/kustomization.yaml b/manifests/cgit/kustomization.yaml index 26c634a..4b6d8aa 100644 --- a/manifests/cgit/kustomization.yaml +++ b/manifests/cgit/kustomization.yaml @@ -1,6 +1,4 @@ # Labels to add to all resources and selectors. -commonLabels: - app.kubernetes.io/name: cgit # Images modify the tags for images without # creating patches. @@ -16,3 +14,9 @@ resources: - cgit-sa.yaml - cgit-svc.yaml - cgit-cm.yaml +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +labels: +- includeSelectors: true + pairs: + app.kubernetes.io/name: cgit diff --git a/manifests/local/kustomization.yaml b/manifests/local/kustomization.yaml index c808606..575ced9 100644 --- a/manifests/local/kustomization.yaml +++ b/manifests/local/kustomization.yaml @@ -3,9 +3,6 @@ kind: Kustomization metadata: name: go-git-server-local -commonLabels: - app.kubernetes.io/part-of: go-git-server - app.kubernetes.io/managed-by: kustomize resources: - ../base @@ -15,3 +12,22 @@ resources: images: - name: go-git-server newName: go-git-registry:5000/go-git-server + newTag: 0.3.2-latest.4d55e5d.7 + +labels: +- includeSelectors: true + pairs: + app.kubernetes.io/managed-by: kustomize + app.kubernetes.io/part-of: go-git-server + +patches: +- patch: | + - op: add + path: "/spec/template/spec/containers/0/env" + value: + - name: GO_GIT_SERVER_LOG_LEVEL + value: "DEBUG" + target: + kind: Deployment + name: go-git-server + version: v1 |