Try server-side apply
This commit is contained in:
parent
a173b8942a
commit
10d1bfd12e
|
|
@ -79,7 +79,7 @@ pipelines:
|
|||
image: node:22
|
||||
script:
|
||||
- apt-get update && apt-get install -y curl jq git
|
||||
- curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
|
||||
- curl -LO "https://dl.k8s.io/release/v1.28.3/bin/linux/amd64/kubectl"
|
||||
- install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
|
||||
- echo $KUBE_CONFIG_PRD | base64 -d > kubeconfig
|
||||
- export KUBECONFIG=$(pwd)/kubeconfig
|
||||
|
|
@ -163,7 +163,7 @@ pipelines:
|
|||
image: node:22
|
||||
script:
|
||||
- apt-get update && apt-get install -y curl jq git
|
||||
- curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
|
||||
- curl -LO "https://dl.k8s.io/release/v1.28.3/bin/linux/amd64/kubectl"
|
||||
- install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
|
||||
- echo $KUBE_CONFIG_STG | base64 -d > kubeconfig
|
||||
- export KUBECONFIG=$(pwd)/kubeconfig
|
||||
|
|
@ -219,7 +219,7 @@ pipelines:
|
|||
image: node:22
|
||||
script:
|
||||
- apt-get update && apt-get install -y curl jq git
|
||||
- curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
|
||||
- curl -LO "https://dl.k8s.io/release/v1.28.3/bin/linux/amd64/kubectl"
|
||||
- install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
|
||||
- echo $KUBE_CONFIG_STG | base64 -d > kubeconfig
|
||||
- export KUBECONFIG=$(pwd)/kubeconfig
|
||||
|
|
|
|||
|
|
@ -12,13 +12,15 @@ spec:
|
|||
repoURL: 'git@bitbucket.org:jamkazam/video-iac.git'
|
||||
targetRevision: {{ .Values.gitBranch }}
|
||||
project: default
|
||||
# syncPolicy:
|
||||
# automated:
|
||||
# prune: true
|
||||
# allowEmpty: false
|
||||
# retry:
|
||||
# limit: 5
|
||||
# backoff:
|
||||
# duration: 5s
|
||||
# factor: 2
|
||||
# maxDuration: 3m
|
||||
syncPolicy:
|
||||
syncOptions:
|
||||
- ServerSideApply=true
|
||||
# automated:
|
||||
# prune: true
|
||||
# allowEmpty: false
|
||||
retry:
|
||||
limit: 5
|
||||
backoff:
|
||||
duration: 5s
|
||||
factor: 2
|
||||
maxDuration: 3m
|
||||
|
|
@ -30,6 +30,7 @@ spec:
|
|||
syncPolicy:
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
- ServerSideApply=true
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
|
|
|
|||
Loading…
Reference in New Issue