From 330e4e9d4a1d0af131d15e4d755c7367d70cbc3e Mon Sep 17 00:00:00 2001 From: admju Date: Wed, 11 Sep 2024 13:49:13 +0000 Subject: [PATCH] =?UTF-8?q?Suppression=20fichiers=20obsol=C3=A8les?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Helm/oc-catalog/Chart.yaml | 5 - Helm/oc-catalog/templates/service.yml | 12 -- Helm/oc-catalog/templates/statefulset.yml | 33 ------ Helm/oc-catalog/values.yaml | 19 ---- Helm/oc-deploy/.helmignore | 23 ---- Helm/oc-deploy/Chart.lock | 12 -- Helm/oc-deploy/Chart.yaml | 14 --- Helm/oc-deploy/charts/oc-catalog-0.1.0.tgz | Bin 841 -> 0 bytes Helm/oc-deploy/charts/oc-catalog/Chart.yaml | 5 - .../charts/oc-catalog/templates/service.yml | 12 -- .../oc-catalog/templates/statefulset.yml | 33 ------ Helm/oc-deploy/charts/oc-catalog/values.yaml | 19 ---- Helm/oc-deploy/charts/oc-mongo-0.1.0.tgz | Bin 968 -> 0 bytes .../charts/oc-mongo-express-0.1.0.tgz | Bin 847 -> 0 bytes .../charts/oc-mongo-express/Chart.yaml | 5 - .../oc-mongo-express/templates/service.yaml | 12 -- .../templates/statefulset.yaml | 39 ------- .../charts/oc-mongo-express/values.yaml | 18 --- Helm/oc-deploy/charts/oc-mongo/Chart.yaml | 5 - .../charts/oc-mongo/templates/pvc.yaml | 10 -- .../charts/oc-mongo/templates/secret.yaml | 8 -- .../charts/oc-mongo/templates/service.yaml | 11 -- .../oc-mongo/templates/statefulset.yaml | 31 ----- Helm/oc-deploy/charts/oc-mongo/values.yaml | 19 ---- Helm/oc-deploy/values.yaml | 48 -------- Helm/oc-mongo-express/Chart.yaml | 5 - Helm/oc-mongo-express/templates/service.yaml | 12 -- .../templates/statefulset.yaml | 39 ------- Helm/oc-mongo-express/values.yaml | 18 --- Helm/oc-mongo/Chart.yaml | 5 - Helm/oc-mongo/templates/pvc.yaml | 10 -- Helm/oc-mongo/templates/secret.yaml | 8 -- Helm/oc-mongo/templates/service.yaml | 11 -- Helm/oc-mongo/templates/statefulset.yaml | 31 ----- Helm/oc-mongo/values.yaml | 19 ---- docker/docker-compose.yml | 88 -------------- kube/occhart/.helmignore | 23 ---- kube/occhart/Chart.yaml | 24 ---- kube/occhart/charts/dex/dex-deployment.yaml | 32 ------ kube/occhart/charts/dex/dex-service.yaml | 11 -- .../charts/grafana/grafana-deployment.yaml | 21 ---- .../charts/grafana/grafana-service.yaml | 11 -- kube/occhart/charts/ldap/ldap-deployment.yaml | 21 ---- kube/occhart/charts/ldap/ldap-service.yaml | 11 -- kube/occhart/charts/loki/loki-deployment.yaml | 21 ---- kube/occhart/charts/loki/loki-service.yaml | 11 -- .../charts/mongo/mongo-deployment.yaml | 21 ---- kube/occhart/charts/mongo/mongo-service.yaml | 11 -- kube/occhart/charts/nats/nats-deployment.yaml | 21 ---- kube/occhart/charts/nats/nats-service.yaml | 11 -- .../charts/traefik/traefik-deployment.yaml | 37 ------ .../charts/traefik/traefik-ingress.yaml | 81 ------------- .../charts/traefik/traefik-service.yaml | 17 --- kube/occhart/charts/zinc/zinc-deployment.yaml | 21 ---- kube/occhart/charts/zinc/zinc-service.yaml | 11 -- kube/occhart/templates/NOTES.txt | 22 ---- kube/occhart/templates/_helpers.tpl | 62 ---------- kube/occhart/templates/deployment.yaml | 68 ----------- kube/occhart/templates/hpa.yaml | 32 ------ kube/occhart/templates/ingress.yaml | 61 ---------- kube/occhart/templates/service.yaml | 15 --- kube/occhart/templates/serviceaccount.yaml | 13 --- .../templates/tests/test-connection.yaml | 15 --- kube/occhart/values.yaml | 107 ------------------ oc-catalog/oc-catalog-deployment.yml | 29 ----- oc-catalog/oc-catalog-service.yml | 13 --- .../mongo-express-deployment.yml | 32 ------ .../mongo-express/mongo-express-service.yml | 13 --- oc-mongo/mongo/mongo-deployment.yml | 42 ------- oc-mongo/mongo/mongo-secret.yml | 9 -- oc-mongo/mongo/mongo-service.yml | 12 -- offline/default_value_1.0.yml | 7 -- 72 files changed, 1608 deletions(-) delete mode 100644 Helm/oc-catalog/Chart.yaml delete mode 100644 Helm/oc-catalog/templates/service.yml delete mode 100644 Helm/oc-catalog/templates/statefulset.yml delete mode 100644 Helm/oc-catalog/values.yaml delete mode 100644 Helm/oc-deploy/.helmignore delete mode 100644 Helm/oc-deploy/Chart.lock delete mode 100644 Helm/oc-deploy/Chart.yaml delete mode 100644 Helm/oc-deploy/charts/oc-catalog-0.1.0.tgz delete mode 100644 Helm/oc-deploy/charts/oc-catalog/Chart.yaml delete mode 100644 Helm/oc-deploy/charts/oc-catalog/templates/service.yml delete mode 100644 Helm/oc-deploy/charts/oc-catalog/templates/statefulset.yml delete mode 100644 Helm/oc-deploy/charts/oc-catalog/values.yaml delete mode 100644 Helm/oc-deploy/charts/oc-mongo-0.1.0.tgz delete mode 100644 Helm/oc-deploy/charts/oc-mongo-express-0.1.0.tgz delete mode 100644 Helm/oc-deploy/charts/oc-mongo-express/Chart.yaml delete mode 100644 Helm/oc-deploy/charts/oc-mongo-express/templates/service.yaml delete mode 100644 Helm/oc-deploy/charts/oc-mongo-express/templates/statefulset.yaml delete mode 100644 Helm/oc-deploy/charts/oc-mongo-express/values.yaml delete mode 100644 Helm/oc-deploy/charts/oc-mongo/Chart.yaml delete mode 100644 Helm/oc-deploy/charts/oc-mongo/templates/pvc.yaml delete mode 100644 Helm/oc-deploy/charts/oc-mongo/templates/secret.yaml delete mode 100644 Helm/oc-deploy/charts/oc-mongo/templates/service.yaml delete mode 100644 Helm/oc-deploy/charts/oc-mongo/templates/statefulset.yaml delete mode 100644 Helm/oc-deploy/charts/oc-mongo/values.yaml delete mode 100644 Helm/oc-deploy/values.yaml delete mode 100644 Helm/oc-mongo-express/Chart.yaml delete mode 100644 Helm/oc-mongo-express/templates/service.yaml delete mode 100644 Helm/oc-mongo-express/templates/statefulset.yaml delete mode 100644 Helm/oc-mongo-express/values.yaml delete mode 100644 Helm/oc-mongo/Chart.yaml delete mode 100644 Helm/oc-mongo/templates/pvc.yaml delete mode 100644 Helm/oc-mongo/templates/secret.yaml delete mode 100644 Helm/oc-mongo/templates/service.yaml delete mode 100644 Helm/oc-mongo/templates/statefulset.yaml delete mode 100644 Helm/oc-mongo/values.yaml delete mode 100644 docker/docker-compose.yml delete mode 100644 kube/occhart/.helmignore delete mode 100644 kube/occhart/Chart.yaml delete mode 100644 kube/occhart/charts/dex/dex-deployment.yaml delete mode 100644 kube/occhart/charts/dex/dex-service.yaml delete mode 100644 kube/occhart/charts/grafana/grafana-deployment.yaml delete mode 100644 kube/occhart/charts/grafana/grafana-service.yaml delete mode 100644 kube/occhart/charts/ldap/ldap-deployment.yaml delete mode 100644 kube/occhart/charts/ldap/ldap-service.yaml delete mode 100644 kube/occhart/charts/loki/loki-deployment.yaml delete mode 100644 kube/occhart/charts/loki/loki-service.yaml delete mode 100644 kube/occhart/charts/mongo/mongo-deployment.yaml delete mode 100644 kube/occhart/charts/mongo/mongo-service.yaml delete mode 100644 kube/occhart/charts/nats/nats-deployment.yaml delete mode 100644 kube/occhart/charts/nats/nats-service.yaml delete mode 100644 kube/occhart/charts/traefik/traefik-deployment.yaml delete mode 100644 kube/occhart/charts/traefik/traefik-ingress.yaml delete mode 100644 kube/occhart/charts/traefik/traefik-service.yaml delete mode 100644 kube/occhart/charts/zinc/zinc-deployment.yaml delete mode 100644 kube/occhart/charts/zinc/zinc-service.yaml delete mode 100644 kube/occhart/templates/NOTES.txt delete mode 100644 kube/occhart/templates/_helpers.tpl delete mode 100644 kube/occhart/templates/deployment.yaml delete mode 100644 kube/occhart/templates/hpa.yaml delete mode 100644 kube/occhart/templates/ingress.yaml delete mode 100644 kube/occhart/templates/service.yaml delete mode 100644 kube/occhart/templates/serviceaccount.yaml delete mode 100644 kube/occhart/templates/tests/test-connection.yaml delete mode 100644 kube/occhart/values.yaml delete mode 100644 oc-catalog/oc-catalog-deployment.yml delete mode 100644 oc-catalog/oc-catalog-service.yml delete mode 100644 oc-mongo/mongo-express/mongo-express-deployment.yml delete mode 100644 oc-mongo/mongo-express/mongo-express-service.yml delete mode 100644 oc-mongo/mongo/mongo-deployment.yml delete mode 100644 oc-mongo/mongo/mongo-secret.yml delete mode 100644 oc-mongo/mongo/mongo-service.yml delete mode 100644 offline/default_value_1.0.yml diff --git a/Helm/oc-catalog/Chart.yaml b/Helm/oc-catalog/Chart.yaml deleted file mode 100644 index 490589d..0000000 --- a/Helm/oc-catalog/Chart.yaml +++ /dev/null @@ -1,5 +0,0 @@ -apiVersion: v2 -name: oc-catalog -description: A Helm chart for deploying the oc-catalog application -version: 0.1.0 -appVersion: "1.0" diff --git a/Helm/oc-catalog/templates/service.yml b/Helm/oc-catalog/templates/service.yml deleted file mode 100644 index e290a41..0000000 --- a/Helm/oc-catalog/templates/service.yml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: {{ .Release.Name }}-oc-catalog -spec: - selector: - app: {{ .Chart.Name }} - ports: - - protocol: TCP - port: {{ .Values.service.port }} - targetPort: {{ .Values.service.targetPort }} - type: {{ .Values.service.type }} diff --git a/Helm/oc-catalog/templates/statefulset.yml b/Helm/oc-catalog/templates/statefulset.yml deleted file mode 100644 index 47aeb40..0000000 --- a/Helm/oc-catalog/templates/statefulset.yml +++ /dev/null @@ -1,33 +0,0 @@ -apiVersion: apps/v1 -kind: StatefulSet -metadata: - name: {{ .Release.Name }}-oc-catalog - labels: - app: oc-catalog -spec: - serviceName: "{{ .Release.Name }}-oc-catalog" - replicas: {{ .Values.replicaCount }} - selector: - matchLabels: - app: oc-catalog - template: - metadata: - labels: - app: oc-catalog - spec: - containers: - - name: oc-catalog - image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" - ports: - - containerPort: 8080 - env: - - name: MONGO_DATABASE - value: "DC_myDC" - - name: MONGO_URI - value: "mongodb://mongo:27017" - imagePullSecrets: - {{- if .Values.imagePullSecrets }} - {{- range .Values.imagePullSecrets }} - - name: {{ .name }} - {{- end }} - {{- end }} diff --git a/Helm/oc-catalog/values.yaml b/Helm/oc-catalog/values.yaml deleted file mode 100644 index d76b83a..0000000 --- a/Helm/oc-catalog/values.yaml +++ /dev/null @@ -1,19 +0,0 @@ -replicaCount: 1 - -image: - repository: registry.dev.svc.cluster.local:5000/oc-catalog - tag: latest - pullPolicy: IfNotPresent - -service: - type: NodePort - port: 8087 - targetPort: 8080 - -mongo: - database: DC_myDC - uri: mongodb://mongo:27017 - -imagePullSecrets: - - name: regcred - diff --git a/Helm/oc-deploy/.helmignore b/Helm/oc-deploy/.helmignore deleted file mode 100644 index 0e8a0eb..0000000 --- a/Helm/oc-deploy/.helmignore +++ /dev/null @@ -1,23 +0,0 @@ -# Patterns to ignore when building packages. -# This supports shell glob matching, relative path matching, and -# negation (prefixed with !). Only one pattern per line. -.DS_Store -# Common VCS dirs -.git/ -.gitignore -.bzr/ -.bzrignore -.hg/ -.hgignore -.svn/ -# Common backup files -*.swp -*.bak -*.tmp -*.orig -*~ -# Various IDEs -.project -.idea/ -*.tmproj -.vscode/ diff --git a/Helm/oc-deploy/Chart.lock b/Helm/oc-deploy/Chart.lock deleted file mode 100644 index a994431..0000000 --- a/Helm/oc-deploy/Chart.lock +++ /dev/null @@ -1,12 +0,0 @@ -dependencies: -- name: oc-mongo - repository: file://../oc-mongo - version: 0.1.0 -- name: oc-mongo-express - repository: file://../oc-mongo-express - version: 0.1.0 -- name: oc-catalog - repository: file://../oc-catalog - version: 0.1.0 -digest: sha256:036af8acf7fe0a73f039776d13f63aeb7530e7a8b0febb49fd5e8415ac6672c6 -generated: "2024-08-27T14:34:41.6038407+02:00" diff --git a/Helm/oc-deploy/Chart.yaml b/Helm/oc-deploy/Chart.yaml deleted file mode 100644 index 40903e8..0000000 --- a/Helm/oc-deploy/Chart.yaml +++ /dev/null @@ -1,14 +0,0 @@ -apiVersion: v2 -name: oc-deploy -description: A Helm chart to deploy oc-mongo, oc-mongo-express, and oc-catalog together -version: 0.1.0 -dependencies: - - name: oc-mongo - version: 0.1.0 - repository: "file://../oc-mongo" - - name: oc-mongo-express - version: 0.1.0 - repository: "file://../oc-mongo-express" - - name: oc-catalog - version: 0.1.0 - repository: "file://../oc-catalog" diff --git a/Helm/oc-deploy/charts/oc-catalog-0.1.0.tgz b/Helm/oc-deploy/charts/oc-catalog-0.1.0.tgz deleted file mode 100644 index ccb3cc7f4182c24906d0f75a1755f02d0faffd85..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 841 zcmV-P1GfAhiwG0|00000|0w_~VMtOiV@ORlOnEsqVl!4SWK%V1T2nbTPgYhoO;>Dc zVQyr3R8em|NM&qo0PI&$Z`(Ey_A`IQ!S9wSOLhvrWzMh_*j%IO`dTp5MG;1c1W6eX z0{{1cqGZdiwrp7Hps2qWCFFfap2+XhS&5n8j!Tu#*H7HIsNtoYye=rEbd{#%+g( zIHFUMp%tdkt{u9CUs0AI{7r#JWgtT>RZ~|;Wdg3XECly7Qt=YmV3O?mC1?~! zl)Uvj_>nQt|BlNV?Kd!hm-L?|^j!bxa&guFC19}C=~~s5V-OQklsrd901Rqn3#UxO zz+hfjXPPL(U1WD660)`qO(d1zk}WBv^MSqr9M2g@?$9~{pld0&N*1DF@cwb5+}5DQ z$`NAG>`Il65>LrR)-5%MzJC&$; z9Vd8E|BL0B{+H=8z3TrGIQjm^TjBkJEt?oMtSr(e2LO`cN*2as4~)@UfN_-D`Nj3;K`K^t}IHC9C+V|4U$~f3CHi zA5EaU1o!CvyAc3L{(#aB3}DnITHS5hjMINkISnm|Z&vJyc!wQK(D$kPl-!A@-v+z+ zdOraD-R~%aay{e;dyEgz*W@8o<#@&S5i9^9UCy%@7Y(=j_0u7 zPY-zpW*SyJ>|)S0^|M&*hM{3|zkk^L^5M(f?WfzHZts6SOarvP3>Zwi{%ZO+%s)Q9 zA0dr)VSS3RUd-e9c?QMfX~l!EqxJhh!>b(sMeK3E{$*B&&rqKSt88@Otu=bZ6<1vG TE$~+W00960Bh9%902TlMHXWp^ diff --git a/Helm/oc-deploy/charts/oc-catalog/Chart.yaml b/Helm/oc-deploy/charts/oc-catalog/Chart.yaml deleted file mode 100644 index 490589d..0000000 --- a/Helm/oc-deploy/charts/oc-catalog/Chart.yaml +++ /dev/null @@ -1,5 +0,0 @@ -apiVersion: v2 -name: oc-catalog -description: A Helm chart for deploying the oc-catalog application -version: 0.1.0 -appVersion: "1.0" diff --git a/Helm/oc-deploy/charts/oc-catalog/templates/service.yml b/Helm/oc-deploy/charts/oc-catalog/templates/service.yml deleted file mode 100644 index 4540d6b..0000000 --- a/Helm/oc-deploy/charts/oc-catalog/templates/service.yml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: oc-catalog -spec: - selector: - app: {{ .Chart.Name }} - ports: - - protocol: TCP - port: {{ .Values.service.port }} - targetPort: {{ .Values.service.targetPort }} - type: {{ .Values.service.type }} diff --git a/Helm/oc-deploy/charts/oc-catalog/templates/statefulset.yml b/Helm/oc-deploy/charts/oc-catalog/templates/statefulset.yml deleted file mode 100644 index 308856c..0000000 --- a/Helm/oc-deploy/charts/oc-catalog/templates/statefulset.yml +++ /dev/null @@ -1,33 +0,0 @@ -apiVersion: apps/v1 -kind: StatefulSet -metadata: - name: {{ .Release.Name }}-oc-catalog - labels: - app: oc-catalog -spec: - serviceName: "oc-catalog" - replicas: {{ .Values.replicaCount }} - selector: - matchLabels: - app: oc-catalog - template: - metadata: - labels: - app: oc-catalog - spec: - containers: - - name: oc-catalog - image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" - ports: - - containerPort: 8080 - env: - - name: MONGO_DATABASE - value: "DC_myDC" - - name: MONGO_URI - value: "mongodb://{{ .Release.Name }}-mongo:27017" - imagePullSecrets: - {{- if .Values.imagePullSecrets }} - {{- range .Values.imagePullSecrets }} - - name: {{ .name }} - {{- end }} - {{- end }} diff --git a/Helm/oc-deploy/charts/oc-catalog/values.yaml b/Helm/oc-deploy/charts/oc-catalog/values.yaml deleted file mode 100644 index 55812e7..0000000 --- a/Helm/oc-deploy/charts/oc-catalog/values.yaml +++ /dev/null @@ -1,19 +0,0 @@ -replicaCount: 1 - -image: - repository: registry.dev.svc.cluster.local:5000/oc-catalog - tag: latest - pullPolicy: IfNotPresent - -service: - type: NodePort - port: 8087 - targetPort: 8080 - -mongo: - database: DC_myDC - uri: mongodb://oc-deploy-mongo:27017 - -imagePullSecrets: - - name: regcred - diff --git a/Helm/oc-deploy/charts/oc-mongo-0.1.0.tgz b/Helm/oc-deploy/charts/oc-mongo-0.1.0.tgz deleted file mode 100644 index f3f9580b13f343354769a99c09d8a9e03eef0789..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 968 zcmV;(12_C1iwG0|00000|0w_~VMtOiV@ORlOnEsqVl!4SWK%V1T2nbTPgYhoO;>Dc zVQyr3R8em|NM&qo0PL90kJ>mC$2t42cw!Gd0SU=~WT}U04&9ZuQ`D|z&&GK`v`*~W z4l7#mzposV5Hhf|+AMUWd@m@m{bHN<`TB?CqfF*&IeFYLZO1#7i9y#2f*_d1arqkr zLHjod=d(c=&t_2+NAoxu1mScZ1p^2=@5vbz#xgw!{`0rmgL@@nDt$(6QkhfOP6<=0 zejJA5U`P@)T&K#GuinA0C^FzKS70SIB&dYkrTH4{2BAtO;4)J($J~;fWk~A+vaNy# z<8U01dyl?X&Ht8(0?q$o0N41BXY&^SQ8*8K{%;|TN~D}U$|AQELPFAvt&tJ{jY^u- zO1-1t;RUd4O+he=#u5Nk2(geNe-uBo_>bdiNC6c!bx_F0M|!$-l=jAUq8!Yn(I z`|TTypZ&VgAbaczVZSFvA*Uz&8uth=y43Pm)3tXVWMrXv)lTD=0*yU90T?T_bE`|? zoH@8a_nzdRSZDb6KH8xLT;qQ_Yw!Ob!iQMZ}|=B+yexVrvFQJep0+MoY# zq6_?&8SoOx5F2^*0A3X>o^Vn^dGA` zuxMPeRK?r!==QWToFYr0@|Lt)}(Xp$^D3BzT+O4oHT-_P?? q_-~QbxkD;#e3-izPv3J;y*GrtdiCmc2mKQO0RR8iNh~4&9smGyJJz-U diff --git a/Helm/oc-deploy/charts/oc-mongo-express-0.1.0.tgz b/Helm/oc-deploy/charts/oc-mongo-express-0.1.0.tgz deleted file mode 100644 index ceddd766bd471fda297b9432c6585f89ef7beca0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 847 zcmV-V1F-xbiwG0|00000|0w_~VMtOiV@ORlOnEsqVl!4SWK%V1T2nbTPgYhoO;>Dc zVQyr3R8em|NM&qo0PI&^Z~8VA0NuxTkWgE5# z<-1Rg`I7`%s!_F?n)5~#2ft5^89|k*YkS=ztDa38;u4QL31y0j#X*w|ZF3XXbBXiS zn{UuM(Ep0EC8`fKfK&SSy>4CqeZSHFr$C}$aY#pend$&M$B7dfVc-Br6kNrc%Pgpg z8$i=207f+`?Er`+V-wEeFbm*%G3I(AQDLebN162a98#=WQw3l{mtdP zG`bCaQ!_fyzs5uqCws9uyz{N#r2e~pP5%Spkw*WYfy(>eb6(C0=ypy1&bE>Hk zmQ~(*4ek^fQiblACJ1?6d&Mh(q2ViJ7-}xf-vCsILl-fYpzL@DgyfosoCR<{niR3E zXP7k~?OSPkCCvcj`G!_@lOyE)u$^L^<`^*(W<%e~3EtAbrWzMZrtr+~ffM@glK!Bs z|3SCW|EHj=e=3B!*qgxS_-Cm9lMw(g`WG_wssZesqLAOX$lE@dxNUnA)3vCIjLWTz zReIHf5~{=JKT0*dVoO^EY-W|VZon!DUP%G4-JC(lQ%&O( - http: - paths: - - path: /front - pathType: Prefix - backend: - service: - name: front-service - port: - number: 80 - - path: /back1 - pathType: Prefix - backend: - service: - name: back1-service - port: - number: 80 - - path: /back2 - pathType: Prefix - backend: - service: - name: back2-service - port: - number: 80 - - path: /mongo - pathType: Prefix - backend: - service: - name: mongo - port: - number: 27017 - - path: /nats - pathType: Prefix - backend: - service: - name: nats - port: - number: 4222 - - path: /zinc - pathType: Prefix - backend: - service: - name: zinc - port: - number: 4080 - - path: /dex - pathType: Prefix - backend: - service: - name: dex - port: - number: 5556 - - path: /ldap - pathType: Prefix - backend: - service: - name: ldap - port: - number: 389 - - path: /grafana - pathType: Prefix - backend: - service: - name: grafana - port: - number: 3000 - - path: /loki - pathType: Prefix - backend: - service: - name: loki - port: - number: 3100 diff --git a/kube/occhart/charts/traefik/traefik-service.yaml b/kube/occhart/charts/traefik/traefik-service.yaml deleted file mode 100644 index ced00ff..0000000 --- a/kube/occhart/charts/traefik/traefik-service.yaml +++ /dev/null @@ -1,17 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: traefik - labels: - app: traefik -spec: - type: LoadBalancer - ports: - - port: 80 - name: web - targetPort: 80 - - port: 8080 - name: admin - targetPort: 8080 - selector: - app: traefik diff --git a/kube/occhart/charts/zinc/zinc-deployment.yaml b/kube/occhart/charts/zinc/zinc-deployment.yaml deleted file mode 100644 index 1e8ec56..0000000 --- a/kube/occhart/charts/zinc/zinc-deployment.yaml +++ /dev/null @@ -1,21 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: zinc - labels: - app: zinc -spec: - replicas: 1 - selector: - matchLabels: - app: zinc - template: - metadata: - labels: - app: zinc - spec: - containers: - - name: zinc - image: public.ecr.aws/zinclabs/zinc:latest - ports: - - containerPort: 4080 diff --git a/kube/occhart/charts/zinc/zinc-service.yaml b/kube/occhart/charts/zinc/zinc-service.yaml deleted file mode 100644 index 920a6dd..0000000 --- a/kube/occhart/charts/zinc/zinc-service.yaml +++ /dev/null @@ -1,11 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: zinc - labels: - app: zinc -spec: - ports: - - port: 4080 - selector: - app: zinc diff --git a/kube/occhart/templates/NOTES.txt b/kube/occhart/templates/NOTES.txt deleted file mode 100644 index 7eb4fd4..0000000 --- a/kube/occhart/templates/NOTES.txt +++ /dev/null @@ -1,22 +0,0 @@ -1. Get the application URL by running these commands: -{{- if .Values.ingress.enabled }} -{{- range $host := .Values.ingress.hosts }} - {{- range .paths }} - http{{ if $.Values.ingress.tls }}s{{ end }}://{{ $host.host }}{{ .path }} - {{- end }} -{{- end }} -{{- else if contains "NodePort" .Values.service.type }} - export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "occhart.fullname" . }}) - export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}") - echo http://$NODE_IP:$NODE_PORT -{{- else if contains "LoadBalancer" .Values.service.type }} - NOTE: It may take a few minutes for the LoadBalancer IP to be available. - You can watch its status by running 'kubectl get --namespace {{ .Release.Namespace }} svc -w {{ include "occhart.fullname" . }}' - export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "occhart.fullname" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}") - echo http://$SERVICE_IP:{{ .Values.service.port }} -{{- else if contains "ClusterIP" .Values.service.type }} - export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "occhart.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}") - export CONTAINER_PORT=$(kubectl get pod --namespace {{ .Release.Namespace }} $POD_NAME -o jsonpath="{.spec.containers[0].ports[0].containerPort}") - echo "Visit http://127.0.0.1:8080 to use your application" - kubectl --namespace {{ .Release.Namespace }} port-forward $POD_NAME 8080:$CONTAINER_PORT -{{- end }} diff --git a/kube/occhart/templates/_helpers.tpl b/kube/occhart/templates/_helpers.tpl deleted file mode 100644 index a468e9c..0000000 --- a/kube/occhart/templates/_helpers.tpl +++ /dev/null @@ -1,62 +0,0 @@ -{{/* -Expand the name of the chart. -*/}} -{{- define "occhart.name" -}} -{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }} -{{- end }} - -{{/* -Create a default fully qualified app name. -We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). -If release name contains chart name it will be used as a full name. -*/}} -{{- define "occhart.fullname" -}} -{{- if .Values.fullnameOverride }} -{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }} -{{- else }} -{{- $name := default .Chart.Name .Values.nameOverride }} -{{- if contains $name .Release.Name }} -{{- .Release.Name | trunc 63 | trimSuffix "-" }} -{{- else }} -{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }} -{{- end }} -{{- end }} -{{- end }} - -{{/* -Create chart name and version as used by the chart label. -*/}} -{{- define "occhart.chart" -}} -{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }} -{{- end }} - -{{/* -Common labels -*/}} -{{- define "occhart.labels" -}} -helm.sh/chart: {{ include "occhart.chart" . }} -{{ include "occhart.selectorLabels" . }} -{{- if .Chart.AppVersion }} -app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} -{{- end }} -app.kubernetes.io/managed-by: {{ .Release.Service }} -{{- end }} - -{{/* -Selector labels -*/}} -{{- define "occhart.selectorLabels" -}} -app.kubernetes.io/name: {{ include "occhart.name" . }} -app.kubernetes.io/instance: {{ .Release.Name }} -{{- end }} - -{{/* -Create the name of the service account to use -*/}} -{{- define "occhart.serviceAccountName" -}} -{{- if .Values.serviceAccount.create }} -{{- default (include "occhart.fullname" .) .Values.serviceAccount.name }} -{{- else }} -{{- default "default" .Values.serviceAccount.name }} -{{- end }} -{{- end }} diff --git a/kube/occhart/templates/deployment.yaml b/kube/occhart/templates/deployment.yaml deleted file mode 100644 index b0f577c..0000000 --- a/kube/occhart/templates/deployment.yaml +++ /dev/null @@ -1,68 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: {{ include "occhart.fullname" . }} - labels: - {{- include "occhart.labels" . | nindent 4 }} -spec: - {{- if not .Values.autoscaling.enabled }} - replicas: {{ .Values.replicaCount }} - {{- end }} - selector: - matchLabels: - {{- include "occhart.selectorLabels" . | nindent 6 }} - template: - metadata: - {{- with .Values.podAnnotations }} - annotations: - {{- toYaml . | nindent 8 }} - {{- end }} - labels: - {{- include "occhart.labels" . | nindent 8 }} - {{- with .Values.podLabels }} - {{- toYaml . | nindent 8 }} - {{- end }} - spec: - {{- with .Values.imagePullSecrets }} - imagePullSecrets: - {{- toYaml . | nindent 8 }} - {{- end }} - serviceAccountName: {{ include "occhart.serviceAccountName" . }} - securityContext: - {{- toYaml .Values.podSecurityContext | nindent 8 }} - containers: - - name: {{ .Chart.Name }} - securityContext: - {{- toYaml .Values.securityContext | nindent 12 }} - image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" - imagePullPolicy: {{ .Values.image.pullPolicy }} - ports: - - name: http - containerPort: {{ .Values.service.port }} - protocol: TCP - livenessProbe: - {{- toYaml .Values.livenessProbe | nindent 12 }} - readinessProbe: - {{- toYaml .Values.readinessProbe | nindent 12 }} - resources: - {{- toYaml .Values.resources | nindent 12 }} - {{- with .Values.volumeMounts }} - volumeMounts: - {{- toYaml . | nindent 12 }} - {{- end }} - {{- with .Values.volumes }} - volumes: - {{- toYaml . | nindent 8 }} - {{- end }} - {{- with .Values.nodeSelector }} - nodeSelector: - {{- toYaml . | nindent 8 }} - {{- end }} - {{- with .Values.affinity }} - affinity: - {{- toYaml . | nindent 8 }} - {{- end }} - {{- with .Values.tolerations }} - tolerations: - {{- toYaml . | nindent 8 }} - {{- end }} diff --git a/kube/occhart/templates/hpa.yaml b/kube/occhart/templates/hpa.yaml deleted file mode 100644 index 5a29738..0000000 --- a/kube/occhart/templates/hpa.yaml +++ /dev/null @@ -1,32 +0,0 @@ -{{- if .Values.autoscaling.enabled }} -apiVersion: autoscaling/v2 -kind: HorizontalPodAutoscaler -metadata: - name: {{ include "occhart.fullname" . }} - labels: - {{- include "occhart.labels" . | nindent 4 }} -spec: - scaleTargetRef: - apiVersion: apps/v1 - kind: Deployment - name: {{ include "occhart.fullname" . }} - minReplicas: {{ .Values.autoscaling.minReplicas }} - maxReplicas: {{ .Values.autoscaling.maxReplicas }} - metrics: - {{- if .Values.autoscaling.targetCPUUtilizationPercentage }} - - type: Resource - resource: - name: cpu - target: - type: Utilization - averageUtilization: {{ .Values.autoscaling.targetCPUUtilizationPercentage }} - {{- end }} - {{- if .Values.autoscaling.targetMemoryUtilizationPercentage }} - - type: Resource - resource: - name: memory - target: - type: Utilization - averageUtilization: {{ .Values.autoscaling.targetMemoryUtilizationPercentage }} - {{- end }} -{{- end }} diff --git a/kube/occhart/templates/ingress.yaml b/kube/occhart/templates/ingress.yaml deleted file mode 100644 index cd4f245..0000000 --- a/kube/occhart/templates/ingress.yaml +++ /dev/null @@ -1,61 +0,0 @@ -{{- if .Values.ingress.enabled -}} -{{- $fullName := include "occhart.fullname" . -}} -{{- $svcPort := .Values.service.port -}} -{{- if and .Values.ingress.className (not (semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion)) }} - {{- if not (hasKey .Values.ingress.annotations "kubernetes.io/ingress.class") }} - {{- $_ := set .Values.ingress.annotations "kubernetes.io/ingress.class" .Values.ingress.className}} - {{- end }} -{{- end }} -{{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion -}} -apiVersion: networking.k8s.io/v1 -{{- else if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}} -apiVersion: networking.k8s.io/v1beta1 -{{- else -}} -apiVersion: extensions/v1beta1 -{{- end }} -kind: Ingress -metadata: - name: {{ $fullName }} - labels: - {{- include "occhart.labels" . | nindent 4 }} - {{- with .Values.ingress.annotations }} - annotations: - {{- toYaml . | nindent 4 }} - {{- end }} -spec: - {{- if and .Values.ingress.className (semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion) }} - ingressClassName: {{ .Values.ingress.className }} - {{- end }} - {{- if .Values.ingress.tls }} - tls: - {{- range .Values.ingress.tls }} - - hosts: - {{- range .hosts }} - - {{ . | quote }} - {{- end }} - secretName: {{ .secretName }} - {{- end }} - {{- end }} - rules: - {{- range .Values.ingress.hosts }} - - host: {{ .host | quote }} - http: - paths: - {{- range .paths }} - - path: {{ .path }} - {{- if and .pathType (semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion) }} - pathType: {{ .pathType }} - {{- end }} - backend: - {{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }} - service: - name: {{ $fullName }} - port: - number: {{ $svcPort }} - {{- else }} - serviceName: {{ $fullName }} - servicePort: {{ $svcPort }} - {{- end }} - {{- end }} - {{- end }} -{{- end }} diff --git a/kube/occhart/templates/service.yaml b/kube/occhart/templates/service.yaml deleted file mode 100644 index fb1ca05..0000000 --- a/kube/occhart/templates/service.yaml +++ /dev/null @@ -1,15 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: {{ include "occhart.fullname" . }} - labels: - {{- include "occhart.labels" . | nindent 4 }} -spec: - type: {{ .Values.service.type }} - ports: - - port: {{ .Values.service.port }} - targetPort: http - protocol: TCP - name: http - selector: - {{- include "occhart.selectorLabels" . | nindent 4 }} diff --git a/kube/occhart/templates/serviceaccount.yaml b/kube/occhart/templates/serviceaccount.yaml deleted file mode 100644 index 5960499..0000000 --- a/kube/occhart/templates/serviceaccount.yaml +++ /dev/null @@ -1,13 +0,0 @@ -{{- if .Values.serviceAccount.create -}} -apiVersion: v1 -kind: ServiceAccount -metadata: - name: {{ include "occhart.serviceAccountName" . }} - labels: - {{- include "occhart.labels" . | nindent 4 }} - {{- with .Values.serviceAccount.annotations }} - annotations: - {{- toYaml . | nindent 4 }} - {{- end }} -automountServiceAccountToken: {{ .Values.serviceAccount.automount }} -{{- end }} diff --git a/kube/occhart/templates/tests/test-connection.yaml b/kube/occhart/templates/tests/test-connection.yaml deleted file mode 100644 index ca44c9d..0000000 --- a/kube/occhart/templates/tests/test-connection.yaml +++ /dev/null @@ -1,15 +0,0 @@ -apiVersion: v1 -kind: Pod -metadata: - name: "{{ include "occhart.fullname" . }}-test-connection" - labels: - {{- include "occhart.labels" . | nindent 4 }} - annotations: - "helm.sh/hook": test -spec: - containers: - - name: wget - image: busybox - command: ['wget'] - args: ['{{ include "occhart.fullname" . }}:{{ .Values.service.port }}'] - restartPolicy: Never diff --git a/kube/occhart/values.yaml b/kube/occhart/values.yaml deleted file mode 100644 index 43e0286..0000000 --- a/kube/occhart/values.yaml +++ /dev/null @@ -1,107 +0,0 @@ -# Default values for occhart. -# This is a YAML-formatted file. -# Declare variables to be passed into your templates. - -replicaCount: 1 - -image: - repository: nginx - pullPolicy: IfNotPresent - # Overrides the image tag whose default is the chart appVersion. - tag: "" - -imagePullSecrets: [] -nameOverride: "" -fullnameOverride: "" - -serviceAccount: - # Specifies whether a service account should be created - create: true - # Automatically mount a ServiceAccount's API credentials? - automount: true - # Annotations to add to the service account - annotations: {} - # The name of the service account to use. - # If not set and create is true, a name is generated using the fullname template - name: "" - -podAnnotations: {} -podLabels: {} - -podSecurityContext: {} - # fsGroup: 2000 - -securityContext: {} - # capabilities: - # drop: - # - ALL - # readOnlyRootFilesystem: true - # runAsNonRoot: true - # runAsUser: 1000 - -service: - type: ClusterIP - port: 80 - -ingress: - enabled: false - className: "" - annotations: {} - # kubernetes.io/ingress.class: nginx - # kubernetes.io/tls-acme: "true" - hosts: - - host: chart-example.local - paths: - - path: / - pathType: ImplementationSpecific - tls: [] - # - secretName: chart-example-tls - # hosts: - # - chart-example.local - -resources: {} - # We usually recommend not to specify default resources and to leave this as a conscious - # choice for the user. This also increases chances charts run on environments with little - # resources, such as Minikube. If you do want to specify resources, uncomment the following - # lines, adjust them as necessary, and remove the curly braces after 'resources:'. - # limits: - # cpu: 100m - # memory: 128Mi - # requests: - # cpu: 100m - # memory: 128Mi - -livenessProbe: - httpGet: - path: / - port: http -readinessProbe: - httpGet: - path: / - port: http - -autoscaling: - enabled: false - minReplicas: 1 - maxReplicas: 100 - targetCPUUtilizationPercentage: 80 - # targetMemoryUtilizationPercentage: 80 - -# Additional volumes on the output Deployment definition. -volumes: [] -# - name: foo -# secret: -# secretName: mysecret -# optional: false - -# Additional volumeMounts on the output Deployment definition. -volumeMounts: [] -# - name: foo -# mountPath: "/etc/foo" -# readOnly: true - -nodeSelector: {} - -tolerations: [] - -affinity: {} diff --git a/oc-catalog/oc-catalog-deployment.yml b/oc-catalog/oc-catalog-deployment.yml deleted file mode 100644 index 7c903ef..0000000 --- a/oc-catalog/oc-catalog-deployment.yml +++ /dev/null @@ -1,29 +0,0 @@ -# oc-catalog-deployment.yml -apiVersion: apps/v1 -kind: Deployment -metadata: - name: oc-catalog - labels: - app: oc-catalog -spec: - replicas: 1 - selector: - matchLabels: - app: oc-catalog - template: - metadata: - labels: - app: oc-catalog - spec: - containers: - - name: oc-catalog - image: registry.dev.svc.cluster.local:5000/oc-catalog:latest - ports: - - containerPort: 8080 - env: - - name: MONGO_DATABASE - value: "DC_myDC" - - name: MONGO_URI - value: "mongodb://mongo:27017" - imagePullSecrets: - - name: regcred \ No newline at end of file diff --git a/oc-catalog/oc-catalog-service.yml b/oc-catalog/oc-catalog-service.yml deleted file mode 100644 index 499a401..0000000 --- a/oc-catalog/oc-catalog-service.yml +++ /dev/null @@ -1,13 +0,0 @@ -# oc-catalog-service.yml -apiVersion: v1 -kind: Service -metadata: - name: oc-catalog -spec: - selector: - app: oc-catalog - ports: - - protocol: TCP - port: 8087 - targetPort: 8080 - type: NodePort # Optional, useful for accessing via Minikube IP and NodePort diff --git a/oc-mongo/mongo-express/mongo-express-deployment.yml b/oc-mongo/mongo-express/mongo-express-deployment.yml deleted file mode 100644 index a08300f..0000000 --- a/oc-mongo/mongo-express/mongo-express-deployment.yml +++ /dev/null @@ -1,32 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: mongo-express -spec: - replicas: 1 - selector: - matchLabels: - app: mongo-express - template: - metadata: - labels: - app: mongo-express - spec: - containers: - - name: mongo-express - image: mongo-express:latest - ports: - - containerPort: 8081 - env: - - name: ME_CONFIG_BASICAUTH_USERNAME - valueFrom: - secretKeyRef: - name: mongo-secret - key: mongo-username - - name: ME_CONFIG_BASICAUTH_PASSWORD - valueFrom: - secretKeyRef: - name: mongo-secret - key: mongo-password - imagePullSecrets: - - name: my-registry-key diff --git a/oc-mongo/mongo-express/mongo-express-service.yml b/oc-mongo/mongo-express/mongo-express-service.yml deleted file mode 100644 index 956b26d..0000000 --- a/oc-mongo/mongo-express/mongo-express-service.yml +++ /dev/null @@ -1,13 +0,0 @@ -# mongo-express-service.yml -apiVersion: v1 -kind: Service -metadata: - name: mongo-express -spec: - selector: - app: mongo-express - ports: - - protocol: TCP - port: 8081 - targetPort: 8081 - type: NodePort # Optional, useful for accessing via Minikube IP and NodePort diff --git a/oc-mongo/mongo/mongo-deployment.yml b/oc-mongo/mongo/mongo-deployment.yml deleted file mode 100644 index a5ea4a6..0000000 --- a/oc-mongo/mongo/mongo-deployment.yml +++ /dev/null @@ -1,42 +0,0 @@ -# mongo-deployment.yml -apiVersion: apps/v1 -kind: Deployment -metadata: - name: mongo - labels: - app: mongo -spec: - replicas: 1 - selector: - matchLabels: - app: mongo - template: - metadata: - labels: - app: mongo - spec: - containers: - - name: mongo - image: mongo:latest - ports: - - containerPort: 27017 - volumeMounts: - - name: mongo-persistent-storage - mountPath: /data/db - - name: mongo-persistent-storage - mountPath: /data/configdb - volumes: - - name: mongo-persistent-storage - persistentVolumeClaim: - claimName: mongo-pvc ---- -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: mongo-pvc -spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 1Gi diff --git a/oc-mongo/mongo/mongo-secret.yml b/oc-mongo/mongo/mongo-secret.yml deleted file mode 100644 index 5027ce2..0000000 --- a/oc-mongo/mongo/mongo-secret.yml +++ /dev/null @@ -1,9 +0,0 @@ -# mongo-secret.yml -apiVersion: v1 -kind: Secret -metadata: - name: mongo-secret -type: Opaque -data: - username: dGVzdA== # base64 encoding of 'test' - password: dGVzdA== # base64 encoding of 'test' diff --git a/oc-mongo/mongo/mongo-service.yml b/oc-mongo/mongo/mongo-service.yml deleted file mode 100644 index 4822cf9..0000000 --- a/oc-mongo/mongo/mongo-service.yml +++ /dev/null @@ -1,12 +0,0 @@ -# mongo-service.yml -apiVersion: v1 -kind: Service -metadata: - name: mongo -spec: - selector: - app: mongo - ports: - - protocol: TCP - port: 27017 - targetPort: 27017 diff --git a/offline/default_value_1.0.yml b/offline/default_value_1.0.yml deleted file mode 100644 index 54cb1e6..0000000 --- a/offline/default_value_1.0.yml +++ /dev/null @@ -1,7 +0,0 @@ ---- - -globals: - -composant1: - -composant2: