This commit is contained in:
jaey 2024-12-09 08:28:17 +00:00
parent f1e63a9bc9
commit d89e6c9274
7 changed files with 10 additions and 69624 deletions

View File

@ -619,7 +619,7 @@ spec:
key: auth key: auth
name: argocd-redis name: argocd-redis
#image: harbor.nativedeck.com/nd002-rc.1/redis:7.0.15-alpine #image: harbor.nativedeck.com/nd002-rc.1/redis:7.0.15-alpine
image: 36671e2b-kr1-registry.container.nhncloud.com/billing-base/argoproj/argocd:v2.12.3 image: 36671e2b-kr1-registry.container.nhncloud.com/billing-base/redis:7.0.15-alpine
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
name: redis name: redis
ports: ports:

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,28 +0,0 @@
#!/bin/bash
# 원본 YAML 파일
input_file="argocd_v2.12.3_add_ns.yaml"
# CRD가 저장될 파일
crd_file="crds.yaml"
# CRD를 제외한 나머지 리소스를 저장할 파일
output_file="deployment_without_crds.yaml"
# CRD 분리
awk '
BEGIN { in_crd = 0 }
/\r$/ { sub(/\r$/, ""); } # 줄 끝에 있는 \r 제거
/^---/ {
if (in_crd) {
in_crd = 0
} else if ($0 ~ /^---/) {
if (!in_crd) print "---" > "'$output_file'"
}
}
/^apiVersion: apiextensions.k8s.io\/v1/ { in_crd = 1; print "---" > "'$crd_file'" }
in_crd { print > "'$crd_file'" }
!in_crd && $0 !~ /^---/ { print > "'$output_file'" }
' "$input_file"
echo "CRD 부분은 $crd_file에 저장되었고, 나머지 리소스는 $output_file에 저장되었습니다."

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -427,6 +427,8 @@ spec:
app.kubernetes.io/part-of: ingress-nginx app.kubernetes.io/part-of: ingress-nginx
app.kubernetes.io/version: 1.11.2 app.kubernetes.io/version: 1.11.2
spec: spec:
imagePullSecrets:
- name: ncr-billing
containers: containers:
- args: - args:
- /nginx-ingress-controller - /nginx-ingress-controller
@ -450,7 +452,7 @@ spec:
fieldPath: metadata.namespace fieldPath: metadata.namespace
- name: LD_PRELOAD - name: LD_PRELOAD
value: /usr/local/lib/libmimalloc.so value: /usr/local/lib/libmimalloc.so
image: registry.k8s.io/ingress-nginx/controller:v1.11.2@sha256:d5f8217feeac4887cb1ed21f27c2674e58be06bd8f5184cacea2a69abaf78dce image: 36671e2b-kr1-registry.container.nhncloud.com/billing-base/ingress-nginx/kube-webhook-certgen:v1.4.3
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
lifecycle: lifecycle:
preStop: preStop:
@ -540,6 +542,8 @@ spec:
app.kubernetes.io/version: 1.11.2 app.kubernetes.io/version: 1.11.2
name: ingress-nginx-admission-create name: ingress-nginx-admission-create
spec: spec:
imagePullSecrets:
- name: ncr-billing
containers: containers:
- args: - args:
- create - create
@ -551,7 +555,7 @@ spec:
valueFrom: valueFrom:
fieldRef: fieldRef:
fieldPath: metadata.namespace fieldPath: metadata.namespace
image: registry.k8s.io/ingress-nginx/kube-webhook-certgen:v1.4.3@sha256:a320a50cc91bd15fd2d6fa6de58bd98c1bd64b9a6f926ce23a600d87043455a3 image: 36671e2b-kr1-registry.container.nhncloud.com/billing-base/ingress-nginx/controller:v1.11.2
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
name: create name: create
securityContext: securityContext:
@ -591,6 +595,8 @@ spec:
app.kubernetes.io/version: 1.11.2 app.kubernetes.io/version: 1.11.2
name: ingress-nginx-admission-patch name: ingress-nginx-admission-patch
spec: spec:
imagePullSecrets:
- name: ncr-billing
containers: containers:
- args: - args:
- patch - patch
@ -604,7 +610,7 @@ spec:
valueFrom: valueFrom:
fieldRef: fieldRef:
fieldPath: metadata.namespace fieldPath: metadata.namespace
image: registry.k8s.io/ingress-nginx/kube-webhook-certgen:v1.4.3@sha256:a320a50cc91bd15fd2d6fa6de58bd98c1bd64b9a6f926ce23a600d87043455a3 image: 36671e2b-kr1-registry.container.nhncloud.com/billing-base/ingress-nginx/kube-webhook-certgen:v1.4.3
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
name: patch name: patch
securityContext: securityContext: