refactor: 폴더 구조 변경
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
resources:
|
||||
- https://github.com/cert-manager/cert-manager/releases/download/v1.20.2/cert-manager.yaml
|
||||
@@ -0,0 +1,95 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
resources:
|
||||
- ../../base
|
||||
|
||||
labels:
|
||||
- pairs:
|
||||
app.kubernetes.io/part-of: certificate-platform
|
||||
app.kubernetes.io/managed-by: kustomize
|
||||
includeSelectors: false
|
||||
includeTemplates: true
|
||||
|
||||
patches:
|
||||
- target:
|
||||
kind: Deployment
|
||||
name: cert-manager
|
||||
patch: |-
|
||||
- op: add
|
||||
path: /spec/revisionHistoryLimit
|
||||
value: 5
|
||||
- op: add
|
||||
path: /spec/progressDeadlineSeconds
|
||||
value: 600
|
||||
- op: add
|
||||
path: /spec/template/spec/securityContext/runAsUser
|
||||
value: 1000
|
||||
- op: add
|
||||
path: /spec/template/spec/securityContext/runAsGroup
|
||||
value: 1000
|
||||
- op: add
|
||||
path: /spec/template/spec/securityContext/fsGroup
|
||||
value: 1000
|
||||
- op: add
|
||||
path: /spec/template/spec/containers/0/resources
|
||||
value:
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 64Mi
|
||||
limits:
|
||||
memory: 256Mi
|
||||
- target:
|
||||
kind: Deployment
|
||||
name: cert-manager-cainjector
|
||||
patch: |-
|
||||
- op: add
|
||||
path: /spec/revisionHistoryLimit
|
||||
value: 5
|
||||
- op: add
|
||||
path: /spec/progressDeadlineSeconds
|
||||
value: 600
|
||||
- op: add
|
||||
path: /spec/template/spec/securityContext/runAsUser
|
||||
value: 1000
|
||||
- op: add
|
||||
path: /spec/template/spec/securityContext/runAsGroup
|
||||
value: 1000
|
||||
- op: add
|
||||
path: /spec/template/spec/securityContext/fsGroup
|
||||
value: 1000
|
||||
- op: add
|
||||
path: /spec/template/spec/containers/0/resources
|
||||
value:
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 64Mi
|
||||
limits:
|
||||
memory: 256Mi
|
||||
- target:
|
||||
kind: Deployment
|
||||
name: cert-manager-webhook
|
||||
patch: |-
|
||||
- op: add
|
||||
path: /spec/revisionHistoryLimit
|
||||
value: 5
|
||||
- op: add
|
||||
path: /spec/progressDeadlineSeconds
|
||||
value: 600
|
||||
- op: add
|
||||
path: /spec/template/spec/securityContext/runAsUser
|
||||
value: 1000
|
||||
- op: add
|
||||
path: /spec/template/spec/securityContext/runAsGroup
|
||||
value: 1000
|
||||
- op: add
|
||||
path: /spec/template/spec/securityContext/fsGroup
|
||||
value: 1000
|
||||
- op: add
|
||||
path: /spec/template/spec/containers/0/resources
|
||||
value:
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 64Mi
|
||||
limits:
|
||||
memory: 128Mi
|
||||
Reference in New Issue
Block a user