Modification des fichiers nginx et argo en .yaml pour k8' selon best practice en prod + écriture de 2 scripts vérifés et fonctionnels pour configurer le dashbord de k8' et argoced et les ouvrir dans une page web
This commit is contained in:
@@ -23,17 +23,17 @@ spec:
|
||||
- containerPort: 443
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /mnt/c/DevOpsProject/config/nginx.conf
|
||||
mountPath: /etc/nginx/nginx.conf
|
||||
subPath: nginx.conf
|
||||
- name: certs
|
||||
mountPath: /mnt/c/DevOpsProject/config/certs
|
||||
mountPath: /etc/nginx/certs
|
||||
volumes:
|
||||
- name: config
|
||||
configMap:
|
||||
name: nginx-config
|
||||
- name: certs
|
||||
secret:
|
||||
secretName: nginx-tls
|
||||
- name: config
|
||||
configMap:
|
||||
name: nginx-config
|
||||
- name: certs
|
||||
secret:
|
||||
secretName: nginx-tls
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
@@ -51,5 +51,5 @@ spec:
|
||||
- name: https
|
||||
protocol: TCP
|
||||
port: 443
|
||||
targetPort: 443
|
||||
targetPort: 443
|
||||
type: NodePort
|
||||
Reference in New Issue
Block a user