mirror of
https://github.com/argoproj/argo-cd
synced 2026-04-21 17:07:16 +00:00
* test: unit test for respectIgnoreDifferences bug Signed-off-by: Jesse Suen <jesse@akuity.io> * test: simplify unit test Signed-off-by: Jesse Suen <jesse@akuity.io> * fix: fix calculating patch for respect ignore diff feature Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> --------- Signed-off-by: Jesse Suen <jesse@akuity.io> Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> Co-authored-by: Jesse Suen <jesse@akuity.io>
35 lines
No EOL
901 B
YAML
35 lines
No EOL
901 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
annotations:
|
|
argocd.argoproj.io/tracking-id: 'guestbook:apps/Deployment:default/kustomize-guestbook-ui'
|
|
iksm-version: '1.0'
|
|
name: kustomize-guestbook-ui
|
|
namespace: default
|
|
spec:
|
|
replicas: 1
|
|
revisionHistoryLimit: 3
|
|
selector:
|
|
matchLabels:
|
|
app: guestbook-ui
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: guestbook-ui
|
|
spec:
|
|
containers:
|
|
- env:
|
|
- name: SOME_OTHER_ENV_VAR
|
|
value: some_other_value
|
|
- name: YET_ANOTHER_ENV_VAR
|
|
value: yet_another_value
|
|
- name: SOME_ENV_VAR
|
|
value: different_value!
|
|
image: 'gcr.io/heptio-images/ks-guestbook-demo:0.1'
|
|
name: guestbook-ui
|
|
ports:
|
|
- containerPort: 80
|
|
resources:
|
|
requests:
|
|
cpu: 50m
|
|
memory: 100Mi |