diff --git a/Certbot_Cron_renew_jobs.yaml b/Certbot_Cron_renew_jobs.yaml deleted file mode 100644 index bfee7b7..0000000 --- a/Certbot_Cron_renew_jobs.yaml +++ /dev/null @@ -1,40 +0,0 @@ -apiVersion: v1 -kind: Namespace -metadata: - name: certbot ---- -apiVersion: batch/v1 -kind: CronJob -metadata: - name: certbotrenew - namespace: certbot -spec: - schedule: "0 0 */15 * *" - jobTemplate: - spec: - ttlSecondsAfterFinished: 100 - template: - spec: - containers: - - name: certbotrenew - image: certbot/certbot:latest - command: ["certbot","renew", "--non-interactive", "--agree-tos", "-m", "franckrobbin6@gmail.com", "--webroot", "--webroot-path", "/var/www/certbot/"] - volumeMounts: - - name: certbot-www - mountPath: /var/www/certbot/ - - name: certbot-conf - mountPath: /etc/letsencrypt/ - - name: letsencrypt-log - mountPath: /var/log/letsencrypt/ - volumes: - - name: certbot-www - hostPath: - path: /opt/kubernetes/Reverse_proxy_Nginx/certbot/www/ - - name: certbot-conf - hostPath: - path: /opt/kubernetes/Reverse_proxy_Nginx/certbot/conf/ - - name: letsencrypt-log - hostPath: - path: /var/log/letsencrypt/ - restartPolicy: Never - diff --git a/Certbot_manual_certonly.yaml b/Certbot_manual_certonly.yaml deleted file mode 100644 index b7599ed..0000000 --- a/Certbot_manual_certonly.yaml +++ /dev/null @@ -1,37 +0,0 @@ -apiVersion: v1 -kind: Namespace -metadata: - name: certbot ---- -apiVersion: batch/v1 -kind: Job -metadata: - name: certbotcertonly - namespace: certbot -spec: - ttlSecondsAfterFinished: 100 - template: - spec: - containers: - - name: certbotcertonly - image: certbot/certbot:latest - command: ["certbot","certonly", "--non-interactive", "--agree-tos", "-m", "franckrobbin6@gmail.com", "--webroot", "--webroot-path", "/var/www/certbot/","-d", "echo.tryton.geeraert.eu"] - volumeMounts: - - name: certbot-www - mountPath: /var/www/certbot/ - - name: certbot-conf - mountPath: /etc/letsencrypt/ - - name: letsencrypt-log - mountPath: /var/log/letsencrypt/ - volumes: - - name: certbot-www - hostPath: - path: /opt/kubernetes/Reverse_proxy_Nginx/certbot/www/ - - name: certbot-conf - hostPath: - path: /opt/kubernetes/Reverse_proxy_Nginx/certbot/conf/ - - name: letsencrypt-log - hostPath: - path: /var/log/letsencrypt/ - restartPolicy: Never - backoffLimit: 4 diff --git a/Certbot_manual_renew_jobs.yaml b/Certbot_manual_renew_jobs.yaml deleted file mode 100644 index a906f53..0000000 --- a/Certbot_manual_renew_jobs.yaml +++ /dev/null @@ -1,37 +0,0 @@ -apiVersion: v1 -kind: Namespace -metadata: - name: certbot ---- -apiVersion: batch/v1 -kind: Job -metadata: - name: certbotrenew - namespace: certbot -spec: - ttlSecondsAfterFinished: 100 - template: - spec: - containers: - - name: certbotrenew - image: certbot/certbot:latest - command: ["certbot","renew", "--non-interactive", "--agree-tos", "-m", "franckrobbin6@gmail.com", "--webroot", "--webroot-path", "/var/www/certbot/"] - volumeMounts: - - name: certbot-www - mountPath: /var/www/certbot/ - - name: certbot-conf - mountPath: /etc/letsencrypt/ - - name: letsencrypt-log - mountPath: /var/log/letsencrypt/ - volumes: - - name: certbot-www - hostPath: - path: /opt/kubernetes/Reverse_proxy_Nginx/certbot/www/ - - name: certbot-conf - hostPath: - path: /opt/kubernetes/Reverse_proxy_Nginx/certbot/conf/ - - name: letsencrypt-log - hostPath: - path: /var/log/letsencrypt/ - restartPolicy: Never - backoffLimit: 4 diff --git a/Certbot_manual_wildcart.yaml b/Certbot_manual_wildcart.yaml deleted file mode 100644 index f508e50..0000000 --- a/Certbot_manual_wildcart.yaml +++ /dev/null @@ -1,46 +0,0 @@ -apiVersion: v1 -kind: Namespace -metadata: - name: certbot ---- -apiVersion: batch/v1 -kind: Job -metadata: - name: certbotwilcart - namespace: certbot -spec: - ttlSecondsAfterFinished: 100 - template: - spec: - containers: - - name: certbotwildcart - image: certbot/dns-ovh:latest - command: ["certbot","certonly","--dns-ovh","--dns-ovh-credentials","/secret/ovh.ini","--dns-ovh-propagation-seconds","60","-d","*.tryton.geeraert.eu"] - volumeMounts: - - name: certbot-www - mountPath: /var/www/certbot/ - - name: certbot-conf - mountPath: /etc/letsencrypt/ - - name: letsencrypt-log - mountPath: /var/log/letsencrypt/ - - name: secret-ovh - mountPath: /secret/ - volumes: - - name: certbot-www - hostPath: - path: /opt/kubernetes/Reverse_proxy_Nginx/certbot/www/ - - name: certbot-conf - hostPath: - path: /opt/kubernetes/Reverse_proxy_Nginx/certbot/conf/ - - name: letsencrypt-log - hostPath: - path: /var/log/letsencrypt/ -# - name: secret-ovh -# hostPath: -# path: /opt/kubernetes/Certbot_jobs/ovh.ini -# type: File - - name: secret-ovh - secret: - secretName: ovh-secret-certbot - restartPolicy: Never - backoffLimit: 4