Mise en place d'ArgoCD : début du transfert des docker compose vers kubern8 ==> suppression du docker compose pour nginx (remplacer par nginx-proxy.yaml

This commit is contained in:
Waloshi6
2026-02-02 11:30:27 +01:00
parent 88a99c0be1
commit dcf530f6e2
33 changed files with 641 additions and 128 deletions

View File

@@ -23,17 +23,17 @@ spec:
- containerPort: 443
volumeMounts:
- name: config
mountPath: /etc/nginx/nginx.conf
mountPath: /mnt/c/DevOpsProject/config/nginx.conf
subPath: nginx.conf
- name: certs
mountPath: /etc/nginx/certs
mountPath: /mnt/c/DevOpsProject/config/certs
volumes:
- name: config
hostPath:
path: /run/desktop/mnt/host/c/DevOpsProject/kubernetes/manifests/nginx/nginx.conf
- name: certs
hostPath:
path: /run/desktop/mnt/host/c/DevOpsProject/kubernetes/manifests/nginx/certs
- name: config
configMap:
name: nginx-config
- name: certs
secret:
secretName: nginx-tls
---
apiVersion: v1
kind: Service
@@ -44,10 +44,12 @@ spec:
selector:
app: nginx-proxy
ports:
- protocol: TCP
- name: http
protocol: TCP
port: 80
targetPort: 80
- protocol: TCP
- name: https
protocol: TCP
port: 443
targetPort: 443
targetPort: 443
type: NodePort