From 09673798037bacbc65dc1aef39501448d2b2aa35 Mon Sep 17 00:00:00 2001 From: am Date: Sat, 6 Jun 2026 20:31:05 +0300 Subject: [PATCH 01/34] change user --- argocd-apps-structure/appsets/my-prod-appset.yml | 4 ++-- argocd-apps-structure/appsets/my-qa-appset.yml | 4 ++-- argocd-apps-structure/appsets/my-staging-appset.yml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/argocd-apps-structure/appsets/my-prod-appset.yml b/argocd-apps-structure/appsets/my-prod-appset.yml index 4dbe20c5..701dac72 100644 --- a/argocd-apps-structure/appsets/my-prod-appset.yml +++ b/argocd-apps-structure/appsets/my-prod-appset.yml @@ -8,7 +8,7 @@ spec: goTemplateOptions: ["missingkey=error"] generators: - git: - repoURL: https://github.com/codefresh-contrib/gitops-cert-level-3-examples.git + repoURL: https://github.com/Amikh/gitops-cert-level-3-examples.git revision: HEAD directories: - path: argocd-apps-structure/apps/*/envs/prod-us @@ -22,7 +22,7 @@ spec: # Source of the application manifests source: - repoURL: https://github.com/codefresh-contrib/gitops-cert-level-3-examples.git + repoURL: https://github.com/Amikh/gitops-cert-level-3-examples.git targetRevision: HEAD path: '{{.path.path}}' diff --git a/argocd-apps-structure/appsets/my-qa-appset.yml b/argocd-apps-structure/appsets/my-qa-appset.yml index 69592aa9..a5bed77e 100644 --- a/argocd-apps-structure/appsets/my-qa-appset.yml +++ b/argocd-apps-structure/appsets/my-qa-appset.yml @@ -8,7 +8,7 @@ spec: goTemplateOptions: ["missingkey=error"] generators: - git: - repoURL: https://github.com/codefresh-contrib/gitops-cert-level-3-examples.git + repoURL: https://github.com/Amikh/gitops-cert-level-3-examples.git revision: HEAD directories: - path: argocd-apps-structure/apps/*/envs/qa @@ -21,7 +21,7 @@ spec: # Source of the application manifests source: - repoURL: https://github.com/codefresh-contrib/gitops-cert-level-3-examples.git + repoURL: https://github.com/Amikh/gitops-cert-level-3-examples.git targetRevision: HEAD path: '{{.path.path}}' diff --git a/argocd-apps-structure/appsets/my-staging-appset.yml b/argocd-apps-structure/appsets/my-staging-appset.yml index 969b8f05..882b16c0 100644 --- a/argocd-apps-structure/appsets/my-staging-appset.yml +++ b/argocd-apps-structure/appsets/my-staging-appset.yml @@ -8,7 +8,7 @@ spec: goTemplateOptions: ["missingkey=error"] generators: - git: - repoURL: https://github.com/codefresh-contrib/gitops-cert-level-3-examples.git + repoURL: https://github.com/Amikh/gitops-cert-level-3-examples.git revision: HEAD directories: - path: argocd-apps-structure/apps/*/envs/staging @@ -21,7 +21,7 @@ spec: # Source of the application manifests source: - repoURL: https://github.com/codefresh-contrib/gitops-cert-level-3-examples.git + repoURL: https://github.com/Amikh/gitops-cert-level-3-examples.git targetRevision: HEAD path: '{{.path.path}}' From 17b5b1629c00438eb7695d08ece83431c05a8150 Mon Sep 17 00:00:00 2001 From: am Date: Sat, 6 Jun 2026 20:45:28 +0300 Subject: [PATCH 02/34] rm foldres --- .../apps/invoices/envs/qa/deployment.yml | 16 -------------- .../apps/invoices/envs/qa/kustomization.yml | 14 ------------- .../apps/invoices/envs/qa/settings.yml | 21 ------------------- .../apps/invoices/envs/qa/version.yml | 11 ---------- .../apps/payments/envs/prod-us/deployment.yml | 16 -------------- .../payments/envs/prod-us/kustomization.yml | 13 ------------ .../apps/payments/envs/prod-us/replicas.yml | 7 ------- .../apps/payments/envs/prod-us/settings.yml | 21 ------------------- .../apps/payments/envs/prod-us/version.yml | 11 ---------- 9 files changed, 130 deletions(-) delete mode 100644 argocd-apps-structure/apps/invoices/envs/qa/deployment.yml delete mode 100644 argocd-apps-structure/apps/invoices/envs/qa/kustomization.yml delete mode 100644 argocd-apps-structure/apps/invoices/envs/qa/settings.yml delete mode 100644 argocd-apps-structure/apps/invoices/envs/qa/version.yml delete mode 100644 argocd-apps-structure/apps/payments/envs/prod-us/deployment.yml delete mode 100644 argocd-apps-structure/apps/payments/envs/prod-us/kustomization.yml delete mode 100644 argocd-apps-structure/apps/payments/envs/prod-us/replicas.yml delete mode 100644 argocd-apps-structure/apps/payments/envs/prod-us/settings.yml delete mode 100644 argocd-apps-structure/apps/payments/envs/prod-us/version.yml diff --git a/argocd-apps-structure/apps/invoices/envs/qa/deployment.yml b/argocd-apps-structure/apps/invoices/envs/qa/deployment.yml deleted file mode 100644 index b4d29ebc..00000000 --- a/argocd-apps-structure/apps/invoices/envs/qa/deployment.yml +++ /dev/null @@ -1,16 +0,0 @@ ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: simple-deployment -spec: - template: - spec: - containers: - - name: webserver-simple - env: - - name: ENV - value: "qa" - - name: GPU_ENABLED - value: "1" - \ No newline at end of file diff --git a/argocd-apps-structure/apps/invoices/envs/qa/kustomization.yml b/argocd-apps-structure/apps/invoices/envs/qa/kustomization.yml deleted file mode 100644 index 8d95e15a..00000000 --- a/argocd-apps-structure/apps/invoices/envs/qa/kustomization.yml +++ /dev/null @@ -1,14 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization - - -resources: -- ../../base - - -patchesStrategicMerge: -- deployment.yml -- version.yml -- settings.yml - - diff --git a/argocd-apps-structure/apps/invoices/envs/qa/settings.yml b/argocd-apps-structure/apps/invoices/envs/qa/settings.yml deleted file mode 100644 index 738a5bec..00000000 --- a/argocd-apps-structure/apps/invoices/envs/qa/settings.yml +++ /dev/null @@ -1,21 +0,0 @@ ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: simple-deployment -spec: - template: - spec: - containers: - - name: webserver-simple - env: - - name: UI_THEME - value: "light" - - name: CACHE_SIZE - value: "2048kb" - - name: PAGE_LIMIT - value: "25" - - name: SORTING - value: "ascending" - - name: N_BUCKETS - value: "42" \ No newline at end of file diff --git a/argocd-apps-structure/apps/invoices/envs/qa/version.yml b/argocd-apps-structure/apps/invoices/envs/qa/version.yml deleted file mode 100644 index 51bc5350..00000000 --- a/argocd-apps-structure/apps/invoices/envs/qa/version.yml +++ /dev/null @@ -1,11 +0,0 @@ ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: simple-deployment -spec: - template: - spec: - containers: - - name: webserver-simple - image: docker.io/kostiscodefresh/simple-env-app:1.0 diff --git a/argocd-apps-structure/apps/payments/envs/prod-us/deployment.yml b/argocd-apps-structure/apps/payments/envs/prod-us/deployment.yml deleted file mode 100644 index 676bc417..00000000 --- a/argocd-apps-structure/apps/payments/envs/prod-us/deployment.yml +++ /dev/null @@ -1,16 +0,0 @@ ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: simple-deployment -spec: - template: - spec: - containers: - - name: webserver-simple - env: - - name: ENV - value: "prod-us" - - name: GPU_ENABLED - value: "1" - \ No newline at end of file diff --git a/argocd-apps-structure/apps/payments/envs/prod-us/kustomization.yml b/argocd-apps-structure/apps/payments/envs/prod-us/kustomization.yml deleted file mode 100644 index 40349214..00000000 --- a/argocd-apps-structure/apps/payments/envs/prod-us/kustomization.yml +++ /dev/null @@ -1,13 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization - -resources: -- ../../base - - -patchesStrategicMerge: -- deployment.yml -- version.yml -- replicas.yml -- settings.yml - diff --git a/argocd-apps-structure/apps/payments/envs/prod-us/replicas.yml b/argocd-apps-structure/apps/payments/envs/prod-us/replicas.yml deleted file mode 100644 index 92e30ec8..00000000 --- a/argocd-apps-structure/apps/payments/envs/prod-us/replicas.yml +++ /dev/null @@ -1,7 +0,0 @@ ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: simple-deployment -spec: - replicas: 10 \ No newline at end of file diff --git a/argocd-apps-structure/apps/payments/envs/prod-us/settings.yml b/argocd-apps-structure/apps/payments/envs/prod-us/settings.yml deleted file mode 100644 index 67c3ea38..00000000 --- a/argocd-apps-structure/apps/payments/envs/prod-us/settings.yml +++ /dev/null @@ -1,21 +0,0 @@ ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: simple-deployment -spec: - template: - spec: - containers: - - name: webserver-simple - env: - - name: UI_THEME - value: "dark" - - name: CACHE_SIZE - value: "1024kb" - - name: PAGE_LIMIT - value: "25" - - name: SORTING - value: "ascending" - - name: N_BUCKETS - value: "42" \ No newline at end of file diff --git a/argocd-apps-structure/apps/payments/envs/prod-us/version.yml b/argocd-apps-structure/apps/payments/envs/prod-us/version.yml deleted file mode 100644 index 0423d0fa..00000000 --- a/argocd-apps-structure/apps/payments/envs/prod-us/version.yml +++ /dev/null @@ -1,11 +0,0 @@ ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: simple-deployment -spec: - template: - spec: - containers: - - name: webserver-simple - image: docker.io/kostiscodefresh/simple-env-app:2.0 From 89e0533b3e16b31ab0d0cf7c2ab3c769526510ce Mon Sep 17 00:00:00 2001 From: am Date: Sat, 6 Jun 2026 20:55:52 +0300 Subject: [PATCH 03/34] change qa --- .DS_Store | Bin 0 -> 8196 bytes argocd-apps-structure/.DS_Store | Bin 0 -> 6148 bytes argocd-apps-structure/apps/.DS_Store | Bin 0 -> 6148 bytes argocd-apps-structure/apps/billing/.DS_Store | Bin 0 -> 6148 bytes .../apps/billing/envs/.DS_Store | Bin 0 -> 6148 bytes .../apps/billing/envs/qa/.DS_Store | Bin 0 -> 6148 bytes .../apps/billing/envs/qa/deployment.yml | 16 +++++++++++++ .../apps/billing/envs/qa/kustomization.yml | 13 +++++++++++ .../apps/billing/envs/qa/replicas.yml | 7 ++++++ .../apps/billing/envs/qa/settings.yml | 21 ++++++++++++++++++ .../apps/billing/envs/qa/version.yml | 11 +++++++++ 11 files changed, 68 insertions(+) create mode 100644 .DS_Store create mode 100644 argocd-apps-structure/.DS_Store create mode 100644 argocd-apps-structure/apps/.DS_Store create mode 100644 argocd-apps-structure/apps/billing/.DS_Store create mode 100644 argocd-apps-structure/apps/billing/envs/.DS_Store create mode 100644 argocd-apps-structure/apps/billing/envs/qa/.DS_Store create mode 100644 argocd-apps-structure/apps/billing/envs/qa/deployment.yml create mode 100644 argocd-apps-structure/apps/billing/envs/qa/kustomization.yml create mode 100644 argocd-apps-structure/apps/billing/envs/qa/replicas.yml create mode 100644 argocd-apps-structure/apps/billing/envs/qa/settings.yml create mode 100644 argocd-apps-structure/apps/billing/envs/qa/version.yml diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..7dc4e2213b4ee0f05d590f722768441c34999063 GIT binary patch literal 8196 zcmeHM&u<$=6n^6dY7znw+*A+{N)$&Wp+DU9dg3fu&sekT zxFw3@Ge{gba^T1xz^O+r9JzAf!au-)6Ib|VW}R;A^iWh)6lS8C_jYF9n|a^vd*e4D zB3AFW-y&Kdq9UrM-ZYwHiXPW>q7<^88Bhj!qKHBYCo3!AI4!meHZ5CUl@NDFEmcx=jI(Jiy5K8Lee>XsHo} zPMbZjOq69Q2D9QA_w{tpT1JPKT5)1loLIIp%Q6&ZR)?H#rW31K>RN|@LtqjCox4|% zv-j{9AIaYZU7#*{I;0MBda)AAuocS|q_m^eQ7`^w3OJ(jV>L-=X%j~qk)Y0)o*%~a z=p8AnEODRE#y;%+5^xD_7Zml;pQ2U7k7{CP|GB2tAn9ecJ#6*jC`p%=eqn_ZQ!l)D zvUsvMUA)uSk%LAWr2V8Gs9XAJL&~@{;)B-Bh!2`x`MMNo5DBh~K-A`#a{JRrwB?{K z`=Xr~*@hh`mWrjOx3Ir|>7C1q{<}+;4;KCXD{n6?`sg?~C>1N!H?OWYcjK;*UuuvM z+_E4@r|k1#`xUq+z%B~+GK<;IBa46YypheNm!@An^~#JlJ9m1vJX@($=3iZS?aZ0i zo8IYG5bk!Aw&l8vrK-n$z8Qs5G@>u~X3FoUnrV7-WAoN|`|hKzjR!r(Wzeh!vbBct&Ny-mhq@+ z8T^_qkGPDo>W|^j@Ebx3UMf{86MeK7cUl@G`Z)Ey1!V)k~@EPnil!&G1KuT-$;HLNCUfNj& zTrW0m$Ki5tH}ofCF82*&@yIcU9!@3eXj?G?EtQ?vZ zw@o1Inm{yWKk49=*Wpd*=)!J`f)29Bg{-{%%!K>^dr-6stJSgS=cVU?^NtCh+=NaY zE(2Jx3tKd%xwkN`%e;rYu9BG@WB2w-S4>D~#Pbq(bme(L;Dp`ig3kYM!0+8X!1MCv z+&&!wPY(e$wcJ?NKjlZiC&pFl^VvtehpLO7H?-7)<0m32bTq7hzAHISOQpfw@Y2w?$q5a6$wet z`T_g^egG3s9`yt0(W?i)fEUmB=Fjr4dNqyN*UbFh%zJNU-fwqyIsib7X7wh33IGZg zhUtE+{vgcGN{6ImPcI^2V=Q>owmfQKn+=#q!a%}6cQe5DZW>Hz;4eJ0e+{%v9dhAG z9Qj$Tup#&PN2}qvVN@)BBdMPBx!yjdPZ>})OV4Pl6q!*oG|XU~wN@zgtXMa#Ro7`% z)Z85PBh&SrfCso$2VFLvxPFzk4BGUoA&)HygOX7)6?J@n|IY21f;L^8IVfoR_ihyn z8g?8UWR%hTjr+@$9k1@w*MfF}-z6@C5@UFS%27V9y({w}U*deet7@E4rhnl4;DsSI zJ3NxjWk*M|V;9FS4PU-eQAaG(-l+v_rE}Dyf#EfsiaHcxz6&<>mjY)O^DIZs%c$hO zLeub>fMuup^tfwfuYo?f;|@OPqrh?e^;+Oo7q_=VCn}%N*Vt@!Ks|4XhHm6ie{F-$ z9y#>|f1BcrYz2!AW(rrGAVlnlDX*D9VEQ%3*xU3>%kdU{gGLdpmtD+)t(;F;YM8d` z*YXd33KlbY{hH8J$j8Jgxmc4(@}KNB*H?V%I~cSiEP4I0bWvauW}yTd@B-TK7T&>o z_zYj+2mFFVGDybA1eqiSGEMFhoy?MDvQD;$NuG=NRQ!;y%JC$S5S62cyju!wIk3awve-T{AxBzOX+fd~#wsodp59;8Z-ausH%qZCGCXuu$ z1KqT!WGx8;2?Jfh0Q){@SQzRO+XDHg1FIA^nLW*r3F`c>KcXhvy2Q3Xw4e|XiYP*f zykZb}b08ud?Yi`D3l!l%_{=ztoSDcQ3XvBNqH%X1y1=AP7)Tg6%|MT6s_guKhVc@@FfTZV3^9H6Q&(@CQ*jcM#*}}qv`LzY|5Uk{J%oTPNk7MD2HjOEW Wy2Q3X>_JKX2yhybDq-NCGVmL!LGf+? literal 0 HcmV?d00001 diff --git a/argocd-apps-structure/apps/.DS_Store b/argocd-apps-structure/apps/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..90e6f179e587d7f3c18c891dfd66fe4f31c1fbcc GIT binary patch literal 6148 zcmeHK&rcIU6n+C0wji?nC?e5hV=pG4q9TbghFUO+9w3xp5wPxVhqAJrX?7PX5|W-Z z@!-)vz(2qfM=u_|dhp^u;K7queen%+9x&nJxg3>{js-fC&Hw z7J-Q_tbSr5E=r5F=^hazatsd`lxBVII(`c~?uZqL75Li}5PP>19Pq%$U&H?84o1YW zki~N0n>6%V*iJR9IKE`>I~Csxqw(<%q^&)1tfSNDG`fwo+y<}aB0Jg&vv#l|T8o_f zPTjYiC687M=HN7Ek?k=W$ONxQk+OQjWo}LdjHHn)n8Ulf6IUk3tgGXb zdt=t_waepU7Iy6IC5=@2;`N2Xre9|KnS5>_ct%O<(O8G)=rn2Ix!ZbGp9 zu4GsD@tzaCW?%n6-(X)Vl^QxZd}?Imbio{OY#fJx7i#rwM3?6jIv2F*HvXxTc73bF1LmK59{N;k#8@d7a{dpdGk;mEc zYKT(LMzlQ3);Z3&jWW+wL?~RML5SFrlV7%jz-A?y-C6T(hx&6Y%cF>w1yhWM3z-k7 z7)j2ZtJto`O6jRDO3QR+zV4h;jtOby;2knp_cW69Tel|tMaCITCexXFI%L2o+=RQ3 zgAJ&{3wQ;uVISVXNB9h1NrDWKvt*P^kQ-!*+#$2%0ddI&@yKJ9-&TLsXY_a)NQh3; ztKQB9%;&6x5s}pc>tMqsP&hBQ!!~e47u%t_*nVt`H^^?>7{>4U${;0wgh$o5|vm^xfLBIC0ln vSRP>!CU`Z4G6gGr9ZN@C#lu*nVayT^Vn$<4A@-ofe*~lqaTP1@M-})EXW|YG literal 0 HcmV?d00001 diff --git a/argocd-apps-structure/apps/billing/.DS_Store b/argocd-apps-structure/apps/billing/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..f17f9837120e7695e8771398d70edcb8478a2196 GIT binary patch literal 6148 zcmeHKPfyf96n_JYbU~!RE+WySaW5tiT@^`;F{}lns|ScB2m-EccUUTAX47_eMMAP? zP5c0U06%~yj$S-^_29)X;K7queKVbcfZU8Rq%WEIy?K9T`hHDkIsib-M)fLy4geZ9 zfteoc{vg6H+7ancmM%mh<|zBzb$ssNSWK8o%0SA%|IL8-b~E6B4I$7&->-?j%Ri;a zA~HaMK@-A5aqo|db6R0t?FYL~-S@(%So};nIx}6Ty0vbtS6j8#dCQ9Is1cfWuq;ON zocm6q+s=YVTNOPw%~@o7j0Q5nt5OVEdF-(&Z<)Nos-euaVuzO1vK4(~dwb&gLgvy;{Gg)6rnRW|%h#$UnfJO(b}>E?nUP4MM~tIg3kn5ZJ6n&8=16cBntgOddsiQ$&i{u#mZc zikalvR^4_zRx3<>k6A2~<`U&ntmsgP6+BsTiKdVgKDceE&oj`DE|M`aL2i>Na-WpR6XKF};*sZZen;|>FR1wxkPwx< zm)x`h=5tmP)MAL7^f0-#USeDK;m@tmsET^#yA~_Tp8z4D-(4?A?o5m3>glj z6l2<_45SPkWS}!1>f-#ri{J1u_y2=Q=_q9&W#B|HKr%DdjENFFBeTGmFOA6aDq6H=W5s);bUCO{eW#AWF65k&H literal 0 HcmV?d00001 diff --git a/argocd-apps-structure/apps/billing/envs/.DS_Store b/argocd-apps-structure/apps/billing/envs/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..e5f2a07e26cad7d5138fcc86abd00fcc400e7558 GIT binary patch literal 6148 zcmeHKOK;Oa5S~o~btq7`O-ex^S*TmHQ4a{G8;X7 zTPWc;`9lb5o1@zh%BTHT^s6n=DR>Ch<`^=%Q;gjSTec_atlKTm4WmNg14;Fy_w4P} zdbK`n$!xHW8Cg*~ELp*Ael^dSXUDo_FSxW*)w7qGA6c$X1Cij?D2Cj*>H0O+DY3R+ z3q`Ie9a=`qRP~Y7)ibB3#*MRuskL!q_1vk#xPgYXwTza_Pn@5tKJc18d&=9#tq%7( zAqN!3@C+5vuj{O+UdX$+mruGLcaz!IxBtMwetlqYXdpX~%jJd-jT}C5b9cGV@qa^4hfGI?OlSC$tjLM-f-5`rwwhIa<5>+cf{Ug)!OR22ty3K&gMb9=Nrc z<>in@l@0o0Rqqd-fO+053*E?N{^Few37(EaDfIP;$*W-_vjOFm#M)-da$LWjzxY)$m@m%8%5kaake3RcK-pMR zNb;|puF&Uw=F?0jU%a7Q8jQguxDF;Xpaak01-yiHcmp5d3w$GKGE7Fv7&${Okc;FR znI^Z0LmI>-_ho)6zQM;-Jq090MciPoK506v+1lV2_9iQr)t^{|Aff41ACIb*vHprVUH}sj5n9eScag$xj$a82IlP;QNDtgJV%)SEATDa7y7N z_oq2>L7l%ea5NMa6?P?}2ZhK~M43v|CkBz}Xg5?`QDIl2Oa~%X#yVn9KDY;4*NErC97$E7gSuSBq>TKQC96xIf9QSZ= r;c;DwA_XUP91DdX#UnU`pwHk6Vo_mNB3e+A7Xd*-G9?WBRR(?nU5Npq literal 0 HcmV?d00001 diff --git a/argocd-apps-structure/apps/billing/envs/qa/.DS_Store b/argocd-apps-structure/apps/billing/envs/qa/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..6973fdb39a807e0694c157b4a880da09ebb458d8 GIT binary patch literal 6148 zcmeHK+e*Vg5Iq|!R4P*6d<=d-!9NJ4KKSepXj_qBOeARqeabiZDgL0I*%?aPv_48H zGcbGhGG{kA6SBJi!gx8q0fqqjbiw3|#SW8k@s1_db4m*7hzdyV zE-+`#-cVpYf1{Yo;;yJ>)1sO(PCk-v`sgPbYrrL5utdXrSIm5lPdu`ovsGf}4B>if zhI7=mdX5>{%^u!Yhu4s|h^v)&-p5PiD_wu$0p7{08UM#qCiNDJO*dD-6>tTPMgi{G zV*P=lm#%;-;0ml1kpDwU7t9P>#rW%BA%`m&?+J>rF2_W{)G#w_6*)o+N+l{a*cBrv zo&BlBWrnSy(h=gyoX1uUc0&nqb@rz*93fNm(iLz8HWfJ0=1}(k+x_?dO_H}<0axIt z6bQY^{bbBnvc0wQa Date: Sat, 6 Jun 2026 20:58:39 +0300 Subject: [PATCH 04/34] change qa --- argocd-apps-structure/.DS_Store | Bin 6148 -> 6148 bytes argocd-apps-structure/apps/.DS_Store | Bin 6148 -> 8196 bytes argocd-apps-structure/apps/orders/.DS_Store | Bin 0 -> 6148 bytes .../apps/orders/envs/.DS_Store | Bin 0 -> 6148 bytes .../apps/orders/envs/prod-eu/deployment.yml | 16 +++++++++++++ .../orders/envs/prod-eu/kustomization.yml | 13 +++++++++++ .../apps/orders/envs/prod-eu/replicas.yml | 7 ++++++ .../apps/orders/envs/prod-eu/settings.yml | 21 ++++++++++++++++++ .../apps/orders/envs/prod-eu/version.yml | 11 +++++++++ 9 files changed, 68 insertions(+) create mode 100644 argocd-apps-structure/apps/orders/.DS_Store create mode 100644 argocd-apps-structure/apps/orders/envs/.DS_Store create mode 100644 argocd-apps-structure/apps/orders/envs/prod-eu/deployment.yml create mode 100644 argocd-apps-structure/apps/orders/envs/prod-eu/kustomization.yml create mode 100644 argocd-apps-structure/apps/orders/envs/prod-eu/replicas.yml create mode 100644 argocd-apps-structure/apps/orders/envs/prod-eu/settings.yml create mode 100644 argocd-apps-structure/apps/orders/envs/prod-eu/version.yml diff --git a/argocd-apps-structure/.DS_Store b/argocd-apps-structure/.DS_Store index 11213c512e92a3fba4e69bcb404f84a5f5bd29f3..baed5432cebc457d88b6423bac5cb1321f52852b 100644 GIT binary patch delta 176 zcmZoMXffDe&#EpeCN3c& zP?TDhnOZ(MjdhoNL?%!mII}7>I=v_}CAc6lIWsR^+5Q6q7;sJwU^Denb_jrQl^whx z3CCX*=z*?cqlEZ diff --git a/argocd-apps-structure/apps/.DS_Store b/argocd-apps-structure/apps/.DS_Store index 90e6f179e587d7f3c18c891dfd66fe4f31c1fbcc..7a729582183cae3367fb98003951d566c4b69d20 100644 GIT binary patch delta 214 zcmZoMXmOBWU|?W$DortDU;r^WfEYvza8E20o2aMA$h|ROH}hr%jz7$c**Q2SHn1>q zZ{}fH#>~sckk3%Wkiw7(B#S5eupCDf*{sBRhfxwmQCV^S!>)9hVHmEZS vG6Q))Ai)hJTtW737UcNOJegm_bFx1V2L~g>Neq+Yd8TgeVJ#wPqzWSdr!X#P delta 104 zcmZp1XfcprU|?W$DortDU=RQ@Ie-{Mvv5r;6q~50$jGrVU^g=($7UXZWz3Vi#X=Xe qb8rYU162Tl05_0u1u5QG_?>w&zl-?j%Ri;a zA~HaMK@-A5aqo|db6R0t?FYL~-S@(%So};nIx}6Ty0vbtS6j8#dCQ9Is1cfWuq;ON zocm6q+s=YVTNOPw%~@o7j0Q5nt5OVEdF-(&Z<)Nos-euaVuzO1vK4(~dwb&gLgvy;{Gg)6rnRW|%h#$UnfJO(b}>E?nUP4MM~tIg3kn5ZJ6n&8=16cBntgOddsiQ$&i{u#mZc zikalvR^4_zRx3<>k6A2~<`U&ntmsgP6+BsTiKdVgKDceE&oj`DE|M`aL2i>Na-WpR6XKF};*sZZen;|>FR1wxkPwx< zm)x`h=5tmP)MAL7^f0-#USeDK;m@tmsET^#yA~_Tp8z4D-(4?A?o5m3>glj z6l2<_45SPkWS}!1>f-#ri{J1u_y2=Q=_q9&W#B|HKr%DdjENFFBeTGmFOA6aDq6H=W5s);bUCO{eW#AWF65k&H literal 0 HcmV?d00001 diff --git a/argocd-apps-structure/apps/orders/envs/.DS_Store b/argocd-apps-structure/apps/orders/envs/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..f92ecbc0d086613dd2a41047e46013cef8f8f15d GIT binary patch literal 6148 zcmeHK%Sr=55UgGU33$oTnmUmV8)^-+88l)kA|v3o)E>xxWEJ2n{9Ky+KvqL7hU@8Q|$19 z25TIBf3sqQvdA0p^25v)aLjJ8_thTQs0Zu{&sYvP?*q;hd%R+a4Ic4?O`k321Garc zRG~m95DJ6>p}>z7;F+y9J9UgY6bJ=EfiDGge@HBfxnSpLTL-I(U5)EC+Kg>|OQ=KqiaZMa@N(v-R8Z^sG%RcPwhk>$E{*yLSm-NB5C43wk_h Zo4j1GbJS7PZ|TIi2$&#Ig#y2zz$fiNJ~99R literal 0 HcmV?d00001 diff --git a/argocd-apps-structure/apps/orders/envs/prod-eu/deployment.yml b/argocd-apps-structure/apps/orders/envs/prod-eu/deployment.yml new file mode 100644 index 00000000..0abed867 --- /dev/null +++ b/argocd-apps-structure/apps/orders/envs/prod-eu/deployment.yml @@ -0,0 +1,16 @@ +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: simple-deployment +spec: + template: + spec: + containers: + - name: webserver-simple + env: + - name: ENV + value: "prod-eus" + - name: GPU_ENABLED + value: "1" + \ No newline at end of file diff --git a/argocd-apps-structure/apps/orders/envs/prod-eu/kustomization.yml b/argocd-apps-structure/apps/orders/envs/prod-eu/kustomization.yml new file mode 100644 index 00000000..40349214 --- /dev/null +++ b/argocd-apps-structure/apps/orders/envs/prod-eu/kustomization.yml @@ -0,0 +1,13 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization + +resources: +- ../../base + + +patchesStrategicMerge: +- deployment.yml +- version.yml +- replicas.yml +- settings.yml + diff --git a/argocd-apps-structure/apps/orders/envs/prod-eu/replicas.yml b/argocd-apps-structure/apps/orders/envs/prod-eu/replicas.yml new file mode 100644 index 00000000..92e30ec8 --- /dev/null +++ b/argocd-apps-structure/apps/orders/envs/prod-eu/replicas.yml @@ -0,0 +1,7 @@ +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: simple-deployment +spec: + replicas: 10 \ No newline at end of file diff --git a/argocd-apps-structure/apps/orders/envs/prod-eu/settings.yml b/argocd-apps-structure/apps/orders/envs/prod-eu/settings.yml new file mode 100644 index 00000000..ca8177dc --- /dev/null +++ b/argocd-apps-structure/apps/orders/envs/prod-eu/settings.yml @@ -0,0 +1,21 @@ +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: simple-deployment +spec: + template: + spec: + containers: + - name: webserver-simple + env: + - name: UI_THEME + value: "dark" + - name: CACHE_SIZE + value: "2048kb" + - name: PAGE_LIMIT + value: "25" + - name: SORTING + value: "ascending" + - name: N_BUCKETS + value: "42" \ No newline at end of file diff --git a/argocd-apps-structure/apps/orders/envs/prod-eu/version.yml b/argocd-apps-structure/apps/orders/envs/prod-eu/version.yml new file mode 100644 index 00000000..0423d0fa --- /dev/null +++ b/argocd-apps-structure/apps/orders/envs/prod-eu/version.yml @@ -0,0 +1,11 @@ +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: simple-deployment +spec: + template: + spec: + containers: + - name: webserver-simple + image: docker.io/kostiscodefresh/simple-env-app:2.0 From 4af6ab9af33f401bc61c56beba098270f67b641f Mon Sep 17 00:00:00 2001 From: am Date: Sat, 6 Jun 2026 21:16:33 +0300 Subject: [PATCH 05/34] change qa --- argocd-apps-structure/appsets/my-qa-appset.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/argocd-apps-structure/appsets/my-qa-appset.yml b/argocd-apps-structure/appsets/my-qa-appset.yml index a5bed77e..4e6124d5 100644 --- a/argocd-apps-structure/appsets/my-qa-appset.yml +++ b/argocd-apps-structure/appsets/my-qa-appset.yml @@ -7,8 +7,8 @@ spec: goTemplate: true goTemplateOptions: ["missingkey=error"] generators: - - git: - repoURL: https://github.com/Amikh/gitops-cert-level-3-examples.git + - git:https://github.com/Amikh/gitops-cert-level-3-examples.git + repoURL: revision: HEAD directories: - path: argocd-apps-structure/apps/*/envs/qa From 31995f805200ab971b1dc3243c22a990ec1a9a0b Mon Sep 17 00:00:00 2001 From: Alexei Date: Sun, 7 Jun 2026 23:50:52 +0300 Subject: [PATCH 06/34] Update version.yml --- argocd-apps-structure/apps/payments/envs/prod-eu/version.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/argocd-apps-structure/apps/payments/envs/prod-eu/version.yml b/argocd-apps-structure/apps/payments/envs/prod-eu/version.yml index c0883763..74882392 100644 --- a/argocd-apps-structure/apps/payments/envs/prod-eu/version.yml +++ b/argocd-apps-structure/apps/payments/envs/prod-eu/version.yml @@ -9,3 +9,4 @@ spec: containers: - name: webserver-simple image: docker.io/kostiscodefresh/simple-env-app:3.0 + From 3340e049a7870e86385bcae066f60ef1154ea9b6 Mon Sep 17 00:00:00 2001 From: Alexei Date: Mon, 8 Jun 2026 00:10:45 +0300 Subject: [PATCH 07/34] Update image version for webserver-simple --- argocd-apps-structure/apps/payments/envs/prod-eu/version.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/argocd-apps-structure/apps/payments/envs/prod-eu/version.yml b/argocd-apps-structure/apps/payments/envs/prod-eu/version.yml index 74882392..4604d8a4 100644 --- a/argocd-apps-structure/apps/payments/envs/prod-eu/version.yml +++ b/argocd-apps-structure/apps/payments/envs/prod-eu/version.yml @@ -9,4 +9,4 @@ spec: containers: - name: webserver-simple image: docker.io/kostiscodefresh/simple-env-app:3.0 - +--- From 43027b49fa9c44bc3182f2f8a5ce4c33dbe27c63 Mon Sep 17 00:00:00 2001 From: am Date: Mon, 8 Jun 2026 00:15:20 +0300 Subject: [PATCH 08/34] fix --- .../apps/orders/envs/.DS_Store | Bin 6148 -> 6148 bytes .../appsets/my-qa-appset.yml | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/argocd-apps-structure/apps/orders/envs/.DS_Store b/argocd-apps-structure/apps/orders/envs/.DS_Store index f92ecbc0d086613dd2a41047e46013cef8f8f15d..a43e47809cb74986ec0fabb5efbbecee44689c83 100644 GIT binary patch delta 586 zcmZXSKTq307{=c>p^3x4IN+oO(E+?vLaj1%K>`8k&_<|A)F9+gXkT zVc-KaVrF8h#FmkTcIr~8U!dwoXt#>3=Qv0ec(~`Md*0_cozADl)8eN>Vq~=Uq0oCa zkEveu>f#3`F?BYMD_sI@>UMmG2?qebJ3ga9SSeg*3ZSIlM(Jr$c!YaHZ!cZJUqfwnJcvX_9%A$&++nB3=VDOo1 z8@KQz1|7^805s#4hKlC3dotinE;z|#%(W_XV^f1gScliJ1^aLeJvfKYa0TDsC;WyR zOydkL;37W96SV6gAWn}G~p?z*Y4CLXM%gmQK|ki he#L%T%WCQm>3_k$$+N7nq$_7osg^|4)whhxB`mu~2NHo+2a5#DLw5ER%UyY&Qq7ZDri7z`@S4v4M$kGdl-A2T<8& cL5}atlles~1sH&Uk%55;O0#T^5Lv?v0P5%u@&Et; diff --git a/argocd-apps-structure/appsets/my-qa-appset.yml b/argocd-apps-structure/appsets/my-qa-appset.yml index 4e6124d5..a5bed77e 100644 --- a/argocd-apps-structure/appsets/my-qa-appset.yml +++ b/argocd-apps-structure/appsets/my-qa-appset.yml @@ -7,8 +7,8 @@ spec: goTemplate: true goTemplateOptions: ["missingkey=error"] generators: - - git:https://github.com/Amikh/gitops-cert-level-3-examples.git - repoURL: + - git: + repoURL: https://github.com/Amikh/gitops-cert-level-3-examples.git revision: HEAD directories: - path: argocd-apps-structure/apps/*/envs/qa From 40fb4f499f99fc5451f13046ed021e375740b986 Mon Sep 17 00:00:00 2001 From: am Date: Mon, 8 Jun 2026 00:18:21 +0300 Subject: [PATCH 09/34] fix --- argocd-apps-structure/appsets/my-qa-appset.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/argocd-apps-structure/appsets/my-qa-appset.yml b/argocd-apps-structure/appsets/my-qa-appset.yml index a5bed77e..463029b1 100644 --- a/argocd-apps-structure/appsets/my-qa-appset.yml +++ b/argocd-apps-structure/appsets/my-qa-appset.yml @@ -11,7 +11,7 @@ spec: repoURL: https://github.com/Amikh/gitops-cert-level-3-examples.git revision: HEAD directories: - - path: argocd-apps-structure/apps/*/envs/qa + - path: argocd-apps-structure/apps/*/envs/ template: metadata: name: '{{index .path.segments 2}}-{{index .path.segments 4}}' From a3a853213eb076326a2d9708e8be9d2f11754e64 Mon Sep 17 00:00:00 2001 From: Alexei Date: Mon, 8 Jun 2026 00:24:17 +0300 Subject: [PATCH 10/34] Delete argocd-apps-structure/apps/fake-invoices/envs/qa directory --- .../apps/fake-invoices/envs/qa/deployment.yml | 16 -------------- .../fake-invoices/envs/qa/kustomization.yml | 13 ------------ .../apps/fake-invoices/envs/qa/settings.yml | 21 ------------------- .../apps/fake-invoices/envs/qa/version.yml | 11 ---------- 4 files changed, 61 deletions(-) delete mode 100644 argocd-apps-structure/apps/fake-invoices/envs/qa/deployment.yml delete mode 100644 argocd-apps-structure/apps/fake-invoices/envs/qa/kustomization.yml delete mode 100644 argocd-apps-structure/apps/fake-invoices/envs/qa/settings.yml delete mode 100644 argocd-apps-structure/apps/fake-invoices/envs/qa/version.yml diff --git a/argocd-apps-structure/apps/fake-invoices/envs/qa/deployment.yml b/argocd-apps-structure/apps/fake-invoices/envs/qa/deployment.yml deleted file mode 100644 index b4d29ebc..00000000 --- a/argocd-apps-structure/apps/fake-invoices/envs/qa/deployment.yml +++ /dev/null @@ -1,16 +0,0 @@ ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: simple-deployment -spec: - template: - spec: - containers: - - name: webserver-simple - env: - - name: ENV - value: "qa" - - name: GPU_ENABLED - value: "1" - \ No newline at end of file diff --git a/argocd-apps-structure/apps/fake-invoices/envs/qa/kustomization.yml b/argocd-apps-structure/apps/fake-invoices/envs/qa/kustomization.yml deleted file mode 100644 index 83485073..00000000 --- a/argocd-apps-structure/apps/fake-invoices/envs/qa/kustomization.yml +++ /dev/null @@ -1,13 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization - -resources: -- ../../base - - -patchesStrategicMerge: -- deployment.yml -- version.yml -- settings.yml - - diff --git a/argocd-apps-structure/apps/fake-invoices/envs/qa/settings.yml b/argocd-apps-structure/apps/fake-invoices/envs/qa/settings.yml deleted file mode 100644 index 738a5bec..00000000 --- a/argocd-apps-structure/apps/fake-invoices/envs/qa/settings.yml +++ /dev/null @@ -1,21 +0,0 @@ ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: simple-deployment -spec: - template: - spec: - containers: - - name: webserver-simple - env: - - name: UI_THEME - value: "light" - - name: CACHE_SIZE - value: "2048kb" - - name: PAGE_LIMIT - value: "25" - - name: SORTING - value: "ascending" - - name: N_BUCKETS - value: "42" \ No newline at end of file diff --git a/argocd-apps-structure/apps/fake-invoices/envs/qa/version.yml b/argocd-apps-structure/apps/fake-invoices/envs/qa/version.yml deleted file mode 100644 index 51bc5350..00000000 --- a/argocd-apps-structure/apps/fake-invoices/envs/qa/version.yml +++ /dev/null @@ -1,11 +0,0 @@ ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: simple-deployment -spec: - template: - spec: - containers: - - name: webserver-simple - image: docker.io/kostiscodefresh/simple-env-app:1.0 From 8e11648944004f540fd64892bfbeace00ad6645f Mon Sep 17 00:00:00 2001 From: Alexei Date: Sun, 14 Jun 2026 21:05:44 +0300 Subject: [PATCH 11/34] Delete argocd-apps-structure/apps/payments/envs/prod-eu directory --- .../apps/payments/envs/prod-eu/deployment.yml | 16 -------------- .../payments/envs/prod-eu/kustomization.yml | 12 ----------- .../apps/payments/envs/prod-eu/replicas.yml | 7 ------- .../apps/payments/envs/prod-eu/settings.yml | 21 ------------------- .../apps/payments/envs/prod-eu/version.yml | 12 ----------- 5 files changed, 68 deletions(-) delete mode 100644 argocd-apps-structure/apps/payments/envs/prod-eu/deployment.yml delete mode 100644 argocd-apps-structure/apps/payments/envs/prod-eu/kustomization.yml delete mode 100644 argocd-apps-structure/apps/payments/envs/prod-eu/replicas.yml delete mode 100644 argocd-apps-structure/apps/payments/envs/prod-eu/settings.yml delete mode 100644 argocd-apps-structure/apps/payments/envs/prod-eu/version.yml diff --git a/argocd-apps-structure/apps/payments/envs/prod-eu/deployment.yml b/argocd-apps-structure/apps/payments/envs/prod-eu/deployment.yml deleted file mode 100644 index a1480d1b..00000000 --- a/argocd-apps-structure/apps/payments/envs/prod-eu/deployment.yml +++ /dev/null @@ -1,16 +0,0 @@ ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: simple-deployment -spec: - template: - spec: - containers: - - name: webserver-simple - env: - - name: ENV - value: "prod-eu" - - name: GPU_ENABLED - value: "1" - \ No newline at end of file diff --git a/argocd-apps-structure/apps/payments/envs/prod-eu/kustomization.yml b/argocd-apps-structure/apps/payments/envs/prod-eu/kustomization.yml deleted file mode 100644 index f6c27230..00000000 --- a/argocd-apps-structure/apps/payments/envs/prod-eu/kustomization.yml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization - -resources: -- ../../base - -patchesStrategicMerge: -- deployment.yml -- version.yml -- replicas.yml -- settings.yml - diff --git a/argocd-apps-structure/apps/payments/envs/prod-eu/replicas.yml b/argocd-apps-structure/apps/payments/envs/prod-eu/replicas.yml deleted file mode 100644 index e07faf08..00000000 --- a/argocd-apps-structure/apps/payments/envs/prod-eu/replicas.yml +++ /dev/null @@ -1,7 +0,0 @@ ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: simple-deployment -spec: - replicas: 8 \ No newline at end of file diff --git a/argocd-apps-structure/apps/payments/envs/prod-eu/settings.yml b/argocd-apps-structure/apps/payments/envs/prod-eu/settings.yml deleted file mode 100644 index 67c3ea38..00000000 --- a/argocd-apps-structure/apps/payments/envs/prod-eu/settings.yml +++ /dev/null @@ -1,21 +0,0 @@ ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: simple-deployment -spec: - template: - spec: - containers: - - name: webserver-simple - env: - - name: UI_THEME - value: "dark" - - name: CACHE_SIZE - value: "1024kb" - - name: PAGE_LIMIT - value: "25" - - name: SORTING - value: "ascending" - - name: N_BUCKETS - value: "42" \ No newline at end of file diff --git a/argocd-apps-structure/apps/payments/envs/prod-eu/version.yml b/argocd-apps-structure/apps/payments/envs/prod-eu/version.yml deleted file mode 100644 index 4604d8a4..00000000 --- a/argocd-apps-structure/apps/payments/envs/prod-eu/version.yml +++ /dev/null @@ -1,12 +0,0 @@ ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: simple-deployment -spec: - template: - spec: - containers: - - name: webserver-simple - image: docker.io/kostiscodefresh/simple-env-app:3.0 ---- From ccf6f44afc9e82c2ed359bb5f43c9275997a0f24 Mon Sep 17 00:00:00 2001 From: Alexei Date: Sun, 14 Jun 2026 21:07:46 +0300 Subject: [PATCH 12/34] Create envs --- argocd-apps-structure/apps/payments/base/envs | 1 + 1 file changed, 1 insertion(+) create mode 100644 argocd-apps-structure/apps/payments/base/envs diff --git a/argocd-apps-structure/apps/payments/base/envs b/argocd-apps-structure/apps/payments/base/envs new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/argocd-apps-structure/apps/payments/base/envs @@ -0,0 +1 @@ + From eb40cbfe088f8059297e00327b67e89bd636f2c5 Mon Sep 17 00:00:00 2001 From: Alexei Date: Sun, 14 Jun 2026 21:11:12 +0300 Subject: [PATCH 13/34] Create deployment.yml --- .../apps/payments/env/prod-eu/deployment.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 argocd-apps-structure/apps/payments/env/prod-eu/deployment.yml diff --git a/argocd-apps-structure/apps/payments/env/prod-eu/deployment.yml b/argocd-apps-structure/apps/payments/env/prod-eu/deployment.yml new file mode 100644 index 00000000..7d21f2e8 --- /dev/null +++ b/argocd-apps-structure/apps/payments/env/prod-eu/deployment.yml @@ -0,0 +1,15 @@ +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: simple-deployment +spec: + template: + spec: + containers: + - name: webserver-simple + env: + - name: ENV + value: "prod-eu" + - name: GPU_ENABLED + value: "1" From 3b67539b6f806c97a00c2aacdc16b74aecabea26 Mon Sep 17 00:00:00 2001 From: Alexei Date: Sun, 14 Jun 2026 21:11:32 +0300 Subject: [PATCH 14/34] Create kustomization.yml --- .../apps/payments/env/prod-eu/kustomization.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 argocd-apps-structure/apps/payments/env/prod-eu/kustomization.yml diff --git a/argocd-apps-structure/apps/payments/env/prod-eu/kustomization.yml b/argocd-apps-structure/apps/payments/env/prod-eu/kustomization.yml new file mode 100644 index 00000000..b2f77a6a --- /dev/null +++ b/argocd-apps-structure/apps/payments/env/prod-eu/kustomization.yml @@ -0,0 +1,11 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization + +resources: +- ../../base + +patchesStrategicMerge: +- deployment.yml +- version.yml +- replicas.yml +- settings.yml From 2d2d65288e572345129cbb2016b068ac10fd2add Mon Sep 17 00:00:00 2001 From: Alexei Date: Sun, 14 Jun 2026 21:11:49 +0300 Subject: [PATCH 15/34] Create replicas.yml --- .../apps/payments/env/prod-eu/replicas.yml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 argocd-apps-structure/apps/payments/env/prod-eu/replicas.yml diff --git a/argocd-apps-structure/apps/payments/env/prod-eu/replicas.yml b/argocd-apps-structure/apps/payments/env/prod-eu/replicas.yml new file mode 100644 index 00000000..94ebbd42 --- /dev/null +++ b/argocd-apps-structure/apps/payments/env/prod-eu/replicas.yml @@ -0,0 +1,7 @@ +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: simple-deployment +spec: + replicas: 8 From b02ea033ad426412aa157d2d5b82557c3c31a771 Mon Sep 17 00:00:00 2001 From: Alexei Date: Sun, 14 Jun 2026 21:12:08 +0300 Subject: [PATCH 16/34] Create settings.yml --- .../apps/payments/env/prod-eu/settings.yml | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 argocd-apps-structure/apps/payments/env/prod-eu/settings.yml diff --git a/argocd-apps-structure/apps/payments/env/prod-eu/settings.yml b/argocd-apps-structure/apps/payments/env/prod-eu/settings.yml new file mode 100644 index 00000000..7f6f6d8e --- /dev/null +++ b/argocd-apps-structure/apps/payments/env/prod-eu/settings.yml @@ -0,0 +1,21 @@ +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: simple-deployment +spec: + template: + spec: + containers: + - name: webserver-simple + env: + - name: UI_THEME + value: "dark" + - name: CACHE_SIZE + value: "1024kb" + - name: PAGE_LIMIT + value: "25" + - name: SORTING + value: "ascending" + - name: N_BUCKETS + value: "42" From 28587447817cbdb3723a17e8bc82d8174b63e692 Mon Sep 17 00:00:00 2001 From: Alexei Date: Sun, 14 Jun 2026 21:12:24 +0300 Subject: [PATCH 17/34] Create version.yml --- .../apps/payments/env/prod-eu/version.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 argocd-apps-structure/apps/payments/env/prod-eu/version.yml diff --git a/argocd-apps-structure/apps/payments/env/prod-eu/version.yml b/argocd-apps-structure/apps/payments/env/prod-eu/version.yml new file mode 100644 index 00000000..c0883763 --- /dev/null +++ b/argocd-apps-structure/apps/payments/env/prod-eu/version.yml @@ -0,0 +1,11 @@ +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: simple-deployment +spec: + template: + spec: + containers: + - name: webserver-simple + image: docker.io/kostiscodefresh/simple-env-app:3.0 From 053f6cb64627cc21899d54a64bac2ca99fae2282 Mon Sep 17 00:00:00 2001 From: Alexei Date: Sun, 14 Jun 2026 21:17:07 +0300 Subject: [PATCH 18/34] Create test.yml --- argocd-apps-structure/apps/payments/envs/test.yml | 1 + 1 file changed, 1 insertion(+) create mode 100644 argocd-apps-structure/apps/payments/envs/test.yml diff --git a/argocd-apps-structure/apps/payments/envs/test.yml b/argocd-apps-structure/apps/payments/envs/test.yml new file mode 100644 index 00000000..d536f7a5 --- /dev/null +++ b/argocd-apps-structure/apps/payments/envs/test.yml @@ -0,0 +1 @@ +asdad From 46bc2bfd11f32b72332e6550c48a116942d53642 Mon Sep 17 00:00:00 2001 From: Alexei Date: Sun, 14 Jun 2026 21:20:16 +0300 Subject: [PATCH 19/34] fix --- .../apps/payments/{env => envs}/prod-eu/deployment.yml | 0 .../apps/payments/{env => envs}/prod-eu/kustomization.yml | 0 .../apps/payments/{env => envs}/prod-eu/replicas.yml | 0 .../apps/payments/{env => envs}/prod-eu/settings.yml | 0 .../apps/payments/{env => envs}/prod-eu/version.yml | 0 argocd-apps-structure/apps/payments/envs/test.yml | 1 - 6 files changed, 1 deletion(-) rename argocd-apps-structure/apps/payments/{env => envs}/prod-eu/deployment.yml (100%) rename argocd-apps-structure/apps/payments/{env => envs}/prod-eu/kustomization.yml (100%) rename argocd-apps-structure/apps/payments/{env => envs}/prod-eu/replicas.yml (100%) rename argocd-apps-structure/apps/payments/{env => envs}/prod-eu/settings.yml (100%) rename argocd-apps-structure/apps/payments/{env => envs}/prod-eu/version.yml (100%) delete mode 100644 argocd-apps-structure/apps/payments/envs/test.yml diff --git a/argocd-apps-structure/apps/payments/env/prod-eu/deployment.yml b/argocd-apps-structure/apps/payments/envs/prod-eu/deployment.yml similarity index 100% rename from argocd-apps-structure/apps/payments/env/prod-eu/deployment.yml rename to argocd-apps-structure/apps/payments/envs/prod-eu/deployment.yml diff --git a/argocd-apps-structure/apps/payments/env/prod-eu/kustomization.yml b/argocd-apps-structure/apps/payments/envs/prod-eu/kustomization.yml similarity index 100% rename from argocd-apps-structure/apps/payments/env/prod-eu/kustomization.yml rename to argocd-apps-structure/apps/payments/envs/prod-eu/kustomization.yml diff --git a/argocd-apps-structure/apps/payments/env/prod-eu/replicas.yml b/argocd-apps-structure/apps/payments/envs/prod-eu/replicas.yml similarity index 100% rename from argocd-apps-structure/apps/payments/env/prod-eu/replicas.yml rename to argocd-apps-structure/apps/payments/envs/prod-eu/replicas.yml diff --git a/argocd-apps-structure/apps/payments/env/prod-eu/settings.yml b/argocd-apps-structure/apps/payments/envs/prod-eu/settings.yml similarity index 100% rename from argocd-apps-structure/apps/payments/env/prod-eu/settings.yml rename to argocd-apps-structure/apps/payments/envs/prod-eu/settings.yml diff --git a/argocd-apps-structure/apps/payments/env/prod-eu/version.yml b/argocd-apps-structure/apps/payments/envs/prod-eu/version.yml similarity index 100% rename from argocd-apps-structure/apps/payments/env/prod-eu/version.yml rename to argocd-apps-structure/apps/payments/envs/prod-eu/version.yml diff --git a/argocd-apps-structure/apps/payments/envs/test.yml b/argocd-apps-structure/apps/payments/envs/test.yml deleted file mode 100644 index d536f7a5..00000000 --- a/argocd-apps-structure/apps/payments/envs/test.yml +++ /dev/null @@ -1 +0,0 @@ -asdad From 654d800f5df281ddfc0d5c9c18285f78d777c6cb Mon Sep 17 00:00:00 2001 From: Alexei Date: Mon, 15 Jun 2026 20:34:29 +0300 Subject: [PATCH 20/34] add prod From bb7be5115e02f45adc35f3ddafee4a5988cdd85c Mon Sep 17 00:00:00 2001 From: Alexei Date: Mon, 15 Jun 2026 20:38:55 +0300 Subject: [PATCH 21/34] one --- argocd-apps-structure/root-argocd-app.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/argocd-apps-structure/root-argocd-app.yml b/argocd-apps-structure/root-argocd-app.yml index 28574cfd..2afc297f 100644 --- a/argocd-apps-structure/root-argocd-app.yml +++ b/argocd-apps-structure/root-argocd-app.yml @@ -6,7 +6,7 @@ metadata: spec: project: default source: - repoURL: https://github.com/codefresh-contrib/gitops-cert-level-3-examples.git + repoURL: https://github.com/amikh/gitops-cert-level-3-examples.git targetRevision: HEAD path: argocd-apps-structure/appsets destination: From f57cc06c41a216fe015d1d14ce24ebd1f1130330 Mon Sep 17 00:00:00 2001 From: Alexei Date: Mon, 15 Jun 2026 20:56:30 +0300 Subject: [PATCH 22/34] one --- .../billing/envs/qa/prod-us/deployment.yml | 16 ++++++++++++++ .../billing/envs/qa/prod-us/kustomization.yml | 13 ++++++++++++ .../apps/billing/envs/qa/prod-us/replicas.yml | 7 +++++++ .../apps/billing/envs/qa/prod-us/settings.yml | 21 +++++++++++++++++++ .../apps/billing/envs/qa/prod-us/version.yml | 11 ++++++++++ .../apps/orders/envs/prod-eu/deployment.yml | 2 +- .../envs/prod-eu/prod-us/deployment.yml | 16 ++++++++++++++ .../envs/prod-eu/prod-us/kustomization.yml | 13 ++++++++++++ .../orders/envs/prod-eu/prod-us/replicas.yml | 7 +++++++ .../orders/envs/prod-eu/prod-us/settings.yml | 21 +++++++++++++++++++ .../orders/envs/prod-eu/prod-us/version.yml | 11 ++++++++++ 11 files changed, 137 insertions(+), 1 deletion(-) create mode 100644 argocd-apps-structure/apps/billing/envs/qa/prod-us/deployment.yml create mode 100644 argocd-apps-structure/apps/billing/envs/qa/prod-us/kustomization.yml create mode 100644 argocd-apps-structure/apps/billing/envs/qa/prod-us/replicas.yml create mode 100644 argocd-apps-structure/apps/billing/envs/qa/prod-us/settings.yml create mode 100644 argocd-apps-structure/apps/billing/envs/qa/prod-us/version.yml create mode 100644 argocd-apps-structure/apps/orders/envs/prod-eu/prod-us/deployment.yml create mode 100644 argocd-apps-structure/apps/orders/envs/prod-eu/prod-us/kustomization.yml create mode 100644 argocd-apps-structure/apps/orders/envs/prod-eu/prod-us/replicas.yml create mode 100644 argocd-apps-structure/apps/orders/envs/prod-eu/prod-us/settings.yml create mode 100644 argocd-apps-structure/apps/orders/envs/prod-eu/prod-us/version.yml diff --git a/argocd-apps-structure/apps/billing/envs/qa/prod-us/deployment.yml b/argocd-apps-structure/apps/billing/envs/qa/prod-us/deployment.yml new file mode 100644 index 00000000..676bc417 --- /dev/null +++ b/argocd-apps-structure/apps/billing/envs/qa/prod-us/deployment.yml @@ -0,0 +1,16 @@ +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: simple-deployment +spec: + template: + spec: + containers: + - name: webserver-simple + env: + - name: ENV + value: "prod-us" + - name: GPU_ENABLED + value: "1" + \ No newline at end of file diff --git a/argocd-apps-structure/apps/billing/envs/qa/prod-us/kustomization.yml b/argocd-apps-structure/apps/billing/envs/qa/prod-us/kustomization.yml new file mode 100644 index 00000000..40349214 --- /dev/null +++ b/argocd-apps-structure/apps/billing/envs/qa/prod-us/kustomization.yml @@ -0,0 +1,13 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization + +resources: +- ../../base + + +patchesStrategicMerge: +- deployment.yml +- version.yml +- replicas.yml +- settings.yml + diff --git a/argocd-apps-structure/apps/billing/envs/qa/prod-us/replicas.yml b/argocd-apps-structure/apps/billing/envs/qa/prod-us/replicas.yml new file mode 100644 index 00000000..92e30ec8 --- /dev/null +++ b/argocd-apps-structure/apps/billing/envs/qa/prod-us/replicas.yml @@ -0,0 +1,7 @@ +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: simple-deployment +spec: + replicas: 10 \ No newline at end of file diff --git a/argocd-apps-structure/apps/billing/envs/qa/prod-us/settings.yml b/argocd-apps-structure/apps/billing/envs/qa/prod-us/settings.yml new file mode 100644 index 00000000..67c3ea38 --- /dev/null +++ b/argocd-apps-structure/apps/billing/envs/qa/prod-us/settings.yml @@ -0,0 +1,21 @@ +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: simple-deployment +spec: + template: + spec: + containers: + - name: webserver-simple + env: + - name: UI_THEME + value: "dark" + - name: CACHE_SIZE + value: "1024kb" + - name: PAGE_LIMIT + value: "25" + - name: SORTING + value: "ascending" + - name: N_BUCKETS + value: "42" \ No newline at end of file diff --git a/argocd-apps-structure/apps/billing/envs/qa/prod-us/version.yml b/argocd-apps-structure/apps/billing/envs/qa/prod-us/version.yml new file mode 100644 index 00000000..0423d0fa --- /dev/null +++ b/argocd-apps-structure/apps/billing/envs/qa/prod-us/version.yml @@ -0,0 +1,11 @@ +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: simple-deployment +spec: + template: + spec: + containers: + - name: webserver-simple + image: docker.io/kostiscodefresh/simple-env-app:2.0 diff --git a/argocd-apps-structure/apps/orders/envs/prod-eu/deployment.yml b/argocd-apps-structure/apps/orders/envs/prod-eu/deployment.yml index 0abed867..a1480d1b 100644 --- a/argocd-apps-structure/apps/orders/envs/prod-eu/deployment.yml +++ b/argocd-apps-structure/apps/orders/envs/prod-eu/deployment.yml @@ -10,7 +10,7 @@ spec: - name: webserver-simple env: - name: ENV - value: "prod-eus" + value: "prod-eu" - name: GPU_ENABLED value: "1" \ No newline at end of file diff --git a/argocd-apps-structure/apps/orders/envs/prod-eu/prod-us/deployment.yml b/argocd-apps-structure/apps/orders/envs/prod-eu/prod-us/deployment.yml new file mode 100644 index 00000000..676bc417 --- /dev/null +++ b/argocd-apps-structure/apps/orders/envs/prod-eu/prod-us/deployment.yml @@ -0,0 +1,16 @@ +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: simple-deployment +spec: + template: + spec: + containers: + - name: webserver-simple + env: + - name: ENV + value: "prod-us" + - name: GPU_ENABLED + value: "1" + \ No newline at end of file diff --git a/argocd-apps-structure/apps/orders/envs/prod-eu/prod-us/kustomization.yml b/argocd-apps-structure/apps/orders/envs/prod-eu/prod-us/kustomization.yml new file mode 100644 index 00000000..40349214 --- /dev/null +++ b/argocd-apps-structure/apps/orders/envs/prod-eu/prod-us/kustomization.yml @@ -0,0 +1,13 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization + +resources: +- ../../base + + +patchesStrategicMerge: +- deployment.yml +- version.yml +- replicas.yml +- settings.yml + diff --git a/argocd-apps-structure/apps/orders/envs/prod-eu/prod-us/replicas.yml b/argocd-apps-structure/apps/orders/envs/prod-eu/prod-us/replicas.yml new file mode 100644 index 00000000..92e30ec8 --- /dev/null +++ b/argocd-apps-structure/apps/orders/envs/prod-eu/prod-us/replicas.yml @@ -0,0 +1,7 @@ +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: simple-deployment +spec: + replicas: 10 \ No newline at end of file diff --git a/argocd-apps-structure/apps/orders/envs/prod-eu/prod-us/settings.yml b/argocd-apps-structure/apps/orders/envs/prod-eu/prod-us/settings.yml new file mode 100644 index 00000000..67c3ea38 --- /dev/null +++ b/argocd-apps-structure/apps/orders/envs/prod-eu/prod-us/settings.yml @@ -0,0 +1,21 @@ +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: simple-deployment +spec: + template: + spec: + containers: + - name: webserver-simple + env: + - name: UI_THEME + value: "dark" + - name: CACHE_SIZE + value: "1024kb" + - name: PAGE_LIMIT + value: "25" + - name: SORTING + value: "ascending" + - name: N_BUCKETS + value: "42" \ No newline at end of file diff --git a/argocd-apps-structure/apps/orders/envs/prod-eu/prod-us/version.yml b/argocd-apps-structure/apps/orders/envs/prod-eu/prod-us/version.yml new file mode 100644 index 00000000..0423d0fa --- /dev/null +++ b/argocd-apps-structure/apps/orders/envs/prod-eu/prod-us/version.yml @@ -0,0 +1,11 @@ +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: simple-deployment +spec: + template: + spec: + containers: + - name: webserver-simple + image: docker.io/kostiscodefresh/simple-env-app:2.0 From 0536a04d0a339f5b92bc4dbcea3d367c18fcb4a4 Mon Sep 17 00:00:00 2001 From: Alexei Date: Mon, 15 Jun 2026 21:12:03 +0300 Subject: [PATCH 23/34] cluster 2 --- argocd-apps-structure/appsets/my-prod-appset.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/argocd-apps-structure/appsets/my-prod-appset.yml b/argocd-apps-structure/appsets/my-prod-appset.yml index 701dac72..6b2d3dd5 100644 --- a/argocd-apps-structure/appsets/my-prod-appset.yml +++ b/argocd-apps-structure/appsets/my-prod-appset.yml @@ -30,6 +30,7 @@ spec: destination: server: https://kubernetes.default.svc namespace: '{{index .path.segments 2}}-{{index .path.segments 4}}' + name: cluster-2 # Sync policy syncPolicy: From e2b3a78ad4046eaedb290b445fee3c3647ef9dc0 Mon Sep 17 00:00:00 2001 From: Alexei Date: Mon, 15 Jun 2026 21:12:51 +0300 Subject: [PATCH 24/34] cluster 2 --- argocd-apps-structure/appsets/my-prod-appset.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/argocd-apps-structure/appsets/my-prod-appset.yml b/argocd-apps-structure/appsets/my-prod-appset.yml index 6b2d3dd5..69e7547e 100644 --- a/argocd-apps-structure/appsets/my-prod-appset.yml +++ b/argocd-apps-structure/appsets/my-prod-appset.yml @@ -28,8 +28,7 @@ spec: # Destination cluster and namespace to deploy the application destination: - server: https://kubernetes.default.svc - namespace: '{{index .path.segments 2}}-{{index .path.segments 4}}' + name: cluster-2 # Sync policy From 4aec07aca3903eaea4269c55a958390aea87ac51 Mon Sep 17 00:00:00 2001 From: Alexei Date: Mon, 15 Jun 2026 21:26:29 +0300 Subject: [PATCH 25/34] cluster 2 --- preview-environments/pr-generator/pr-generator.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/preview-environments/pr-generator/pr-generator.yml b/preview-environments/pr-generator/pr-generator.yml index e1d12898..1c7082eb 100644 --- a/preview-environments/pr-generator/pr-generator.yml +++ b/preview-environments/pr-generator/pr-generator.yml @@ -9,7 +9,7 @@ spec: generators: - pullRequest: github: - owner: codefresh-contrib + owner: amikh repo: gitops-cert-level-3-examples requeueAfterSeconds: 180 template: @@ -17,7 +17,7 @@ spec: name: 'myapp-{{.branch}}' spec: source: - repoURL: 'https://github.com/codefresh-contrib/gitops-cert-level-3-examples.git' + repoURL: 'https://github.com/amikh/gitops-cert-level-3-examples.git' targetRevision: HEAD path: preview-environments/kustomize-preview-app/ kustomize: From 4162e05c9633c9abca995a564f215f1bfb661d7a Mon Sep 17 00:00:00 2001 From: Alexei Date: Sun, 21 Jun 2026 20:55:59 +0300 Subject: [PATCH 26/34] add good commit --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 82505336..368b18a4 100644 --- a/README.md +++ b/README.md @@ -3,3 +3,4 @@ Codefresh GitOps Certification examples - Level 3 - GitOps Enterprise This repository contains examples for the ArgoCD/GitOps certification workshops (Level 3) Take the certification yourself at [https://codefresh.io/courses/get-gitops-certified/](https://learning.codefresh.io/) +"good commit" \ No newline at end of file From 721d8ea17aecd5a08253a785ce6e18ab6b4e3f1a Mon Sep 17 00:00:00 2001 From: Alexei Date: Sun, 21 Jun 2026 20:58:34 +0300 Subject: [PATCH 27/34] fix branch --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 82505336..368b18a4 100644 --- a/README.md +++ b/README.md @@ -3,3 +3,4 @@ Codefresh GitOps Certification examples - Level 3 - GitOps Enterprise This repository contains examples for the ArgoCD/GitOps certification workshops (Level 3) Take the certification yourself at [https://codefresh.io/courses/get-gitops-certified/](https://learning.codefresh.io/) +"good commit" \ No newline at end of file From 85b7a65b9675cecbd608ab63334d037691b41ed7 Mon Sep 17 00:00:00 2001 From: Alexei Date: Sun, 21 Jun 2026 20:59:30 +0300 Subject: [PATCH 28/34] bad --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 368b18a4..f9287056 100644 --- a/README.md +++ b/README.md @@ -3,4 +3,4 @@ Codefresh GitOps Certification examples - Level 3 - GitOps Enterprise This repository contains examples for the ArgoCD/GitOps certification workshops (Level 3) Take the certification yourself at [https://codefresh.io/courses/get-gitops-certified/](https://learning.codefresh.io/) -"good commit" \ No newline at end of file +"bad commit" \ No newline at end of file From 0eb6df7b810dd482a972c2c4a3d548edae4268d0 Mon Sep 17 00:00:00 2001 From: Alexei Date: Sun, 21 Jun 2026 21:04:24 +0300 Subject: [PATCH 29/34] test --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f9287056..026938a2 100644 --- a/README.md +++ b/README.md @@ -3,4 +3,4 @@ Codefresh GitOps Certification examples - Level 3 - GitOps Enterprise This repository contains examples for the ArgoCD/GitOps certification workshops (Level 3) Take the certification yourself at [https://codefresh.io/courses/get-gitops-certified/](https://learning.codefresh.io/) -"bad commit" \ No newline at end of file +"bad commit -test " \ No newline at end of file From ca56d9c7d47a313e24b25eb7ba5509246a63208b Mon Sep 17 00:00:00 2001 From: Alexei Date: Sun, 21 Jun 2026 21:11:27 +0300 Subject: [PATCH 30/34] preview --- preview-environments/pr-generator/pr-generator.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/preview-environments/pr-generator/pr-generator.yml b/preview-environments/pr-generator/pr-generator.yml index 1c7082eb..6ff43bc7 100644 --- a/preview-environments/pr-generator/pr-generator.yml +++ b/preview-environments/pr-generator/pr-generator.yml @@ -12,6 +12,8 @@ spec: owner: amikh repo: gitops-cert-level-3-examples requeueAfterSeconds: 180 + labels: + - preview-ready template: metadata: name: 'myapp-{{.branch}}' @@ -31,4 +33,7 @@ spec: automated: prune: true syncOptions: - - CreateNamespace=true \ No newline at end of file + - CreateNamespace=true + + + \ No newline at end of file From 6fbb19a59c02c0c19f7733d844f1517aa26aa699 Mon Sep 17 00:00:00 2001 From: Alexei Date: Sun, 21 Jun 2026 21:19:38 +0300 Subject: [PATCH 31/34] fix --- .../pr-generator/pr-generator.yml | 23 ++++++++++--------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/preview-environments/pr-generator/pr-generator.yml b/preview-environments/pr-generator/pr-generator.yml index 6ff43bc7..f59d6805 100644 --- a/preview-environments/pr-generator/pr-generator.yml +++ b/preview-environments/pr-generator/pr-generator.yml @@ -2,7 +2,7 @@ apiVersion: argoproj.io/v1alpha1 kind: ApplicationSet metadata: name: my-preview-apps - namespace: argocd + namespace: argocd spec: goTemplate: true goTemplateOptions: ["missingkey=error"] @@ -11,17 +11,20 @@ spec: github: owner: amikh repo: gitops-cert-level-3-examples - requeueAfterSeconds: 180 + tokenRef: + secretName: github-token + key: token + requeueAfterSeconds: 1800 labels: - - preview-ready + - preview-ready template: metadata: - name: 'myapp-{{.branch}}' + name: 'myapp-{{.branch}}-{{.number}}' spec: source: repoURL: 'https://github.com/amikh/gitops-cert-level-3-examples.git' - targetRevision: HEAD - path: preview-environments/kustomize-preview-app/ + targetRevision: '{{.head_sha}}' + path: preview-environments/kustomize-preview-app/ kustomize: images: - 'docker.io/kostiscodefresh/my-preview-app:{{.branch_slug}}' @@ -31,9 +34,7 @@ spec: namespace: 'preview-{{.branch_slug}}' syncPolicy: automated: - prune: true + prune: true + selfHeal: true syncOptions: - - CreateNamespace=true - - - \ No newline at end of file + - CreateNamespace=true \ No newline at end of file From 3df6545d5d8f36c851fa7f2427a9badf7ce1f618 Mon Sep 17 00:00:00 2001 From: Alexei Date: Sun, 21 Jun 2026 21:24:44 +0300 Subject: [PATCH 32/34] fix location --- preview-environments/pr-generator/pr-generator.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/preview-environments/pr-generator/pr-generator.yml b/preview-environments/pr-generator/pr-generator.yml index f59d6805..d2017d69 100644 --- a/preview-environments/pr-generator/pr-generator.yml +++ b/preview-environments/pr-generator/pr-generator.yml @@ -11,12 +11,12 @@ spec: github: owner: amikh repo: gitops-cert-level-3-examples + labels: + - preview-ready tokenRef: secretName: github-token key: token requeueAfterSeconds: 1800 - labels: - - preview-ready template: metadata: name: 'myapp-{{.branch}}-{{.number}}' From b492b3ac360b1ab38aa849ad6d4d3ecb0a41b797 Mon Sep 17 00:00:00 2001 From: Alexei Date: Sun, 21 Jun 2026 21:38:11 +0300 Subject: [PATCH 33/34] PR3 --- preview-environments/pr-generator/pr-generator.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/preview-environments/pr-generator/pr-generator.yml b/preview-environments/pr-generator/pr-generator.yml index d2017d69..1e9c6170 100644 --- a/preview-environments/pr-generator/pr-generator.yml +++ b/preview-environments/pr-generator/pr-generator.yml @@ -11,8 +11,6 @@ spec: github: owner: amikh repo: gitops-cert-level-3-examples - labels: - - preview-ready tokenRef: secretName: github-token key: token From 06a3827db1ea8aac6e1f1e96cfd1e9fc4e982715 Mon Sep 17 00:00:00 2001 From: Alexei Date: Sun, 21 Jun 2026 21:44:49 +0300 Subject: [PATCH 34/34] aaa --- preview-environments/pr-generator/pr-generator.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/preview-environments/pr-generator/pr-generator.yml b/preview-environments/pr-generator/pr-generator.yml index 1e9c6170..6a9b3bad 100644 --- a/preview-environments/pr-generator/pr-generator.yml +++ b/preview-environments/pr-generator/pr-generator.yml @@ -2,6 +2,7 @@ apiVersion: argoproj.io/v1alpha1 kind: ApplicationSet metadata: name: my-preview-apps + namespace: argocd spec: goTemplate: true