aboutsummaryrefslogtreecommitdiff
path: root/manifests/local/kustomization.yaml
blob: 7216ec4f635adc7aaebc9ca67a5349c1c5e98aed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
metadata:
  name: go-git-server-local


resources:
- ../base
- ../cgit
- pvc.yaml

images:
- name: go-git-server
  newName: go-git-registry:5000/go-git-server
  newTag: 0.3.4-latest.198fb47.2

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