Skip to content

Commit

Permalink
Merge pull request #527 from kiloutyg/526-issue---certificate-given-b…
Browse files Browse the repository at this point in the history
…y-the-groups-are-not-enough-prioritised-acme-certificates-to-insure-correct-app-behavior

526 issue   certificate given by the groups are not enough prioritised acme certificates to insure correct app behavior
  • Loading branch information
kiloutyg authored Jan 27, 2025
2 parents f7f4fb5 + 6a95b33 commit 8aea289
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 40 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,6 @@ symfony copy.lock


test.yml
.dockerignore
.dockerignore
*.pem
*.key
53 changes: 14 additions & 39 deletions template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ metadata:
traefik.http.routers.docauposte-phpmyadmin.entrypoints: websecure
traefik.http.routers.docauposte-phpmyadmin.tls: true
# Remove or comment out the certresolver if using dedicated certificate files
traefik.http.routers.docauposte-phpmyadmin.tls.certresolver: myresolver
# traefik.http.routers.docauposte-phpmyadmin.tls.certresolver: myresolver
traefik.http.routers.docauposte-phpmyadmin.middlewares: strip-docauposte-phpmyadmin-prefix
traefik.http.services.docauposte-phpmyadmin.loadbalancer.server.port: 80
traefik.http.middlewares.strip-docauposte-phpmyadmin-prefix.stripPrefix.prefixes: /dappma
Expand All @@ -165,11 +165,6 @@ spec:
value: "true"
- name: PMA_SSL_CA
value: /etc/phpmyadmin/ssl/ca-cert.pem
# Un-comment if using client authentication
# - name: PMA_SSL_CERT
# value: /etc/phpmyadmin/ssl/client-cert.pem
# - name: PMA_SSL_KEY
# value: /etc/phpmyadmin/ssl/client-key.pem
volumeMounts:
- mountPath: /etc/phpmyadmin/config.user.inc.php
name: phpmyadmin-config
Expand All @@ -180,13 +175,6 @@ spec:
- mountPath: /etc/phpmyadmin/ssl
name: ssl-certificates
readOnly: true
# Un-comment if using client authentication
# - mountPath: /etc/phpmyadmin/ssl/client-cert.pem
# name: client-cert
# readOnly: true
# - mountPath: /etc/phpmyadmin/ssl/client-key.pem
# name: client-key
# readOnly: true
resources:
limits:
memory: 1000Mi
Expand All @@ -206,15 +194,6 @@ spec:
path: ./secrets/ssl/ca-cert.pem
type: File
name: ca-cert
# Un-comment if using client authentication
# - hostPath:
# path: ./secrets/ssl/client-cert.pem
# type: File
# name: client-cert
# - hostPath:
# path: ./secrets/ssl/client-key.pem
# type: File
# name: client-key
---
apiVersion: v1
kind: LimitRange
Expand All @@ -241,7 +220,7 @@ metadata:
traefik.http.routers.docauposte-web.entrypoints: websecure
traefik.http.routers.docauposte-web.tls: true
# Remove or comment out the certresolver if using dedicated certificate files
traefik.http.routers.docauposte-web.tls.certresolver: myresolver
# traefik.http.routers.docauposte-web.tls.certresolver: myresolver
traefik.http.routers.docauposte-web.middlewares: strip-docauposte-web-prefix
traefik.http.services.docauposte-web.loadbalancer.server.port: 80
traefik.http.middlewares.strip-docauposte-web-prefix.stripPrefix.prefixes: /docauposte
Expand All @@ -267,6 +246,10 @@ spec:
volumeMounts:
- mountPath: /var/www
name: web-data
- mountPath: /var/www/public/doc
name: doc
- mountPath: /var/www/.env
name: dotenv
- mountPath: /etc/localtime
name: localtime-settings
readOnly: true
Expand All @@ -279,13 +262,6 @@ spec:
- mountPath: /etc/ssl/certs/server-key.pem
name: server-key
readOnly: true
# Un-comment if using client authentication
# - mountPath: /etc/ssl/certs/client-cert.pem
# name: client-cert
# readOnly: true
# - mountPath: /etc/ssl/certs/client-key.pem
# name: client-key
# readOnly: true
resources:
limits:
memory: 2000Mi
Expand All @@ -298,6 +274,14 @@ spec:
path: ./
type: Directory
name: web-data
- hostPath:
path: ./public/doc
type: Directory
name: doc
- hostPath:
path: .env
type: File
name: dotenv
- hostPath:
path: /etc/localtime
name: localtime-settings
Expand All @@ -313,12 +297,3 @@ spec:
path: ./secrets/ssl/server-key.pem
type: File
name: server-key
# Un-comment if using client authentication
# - hostPath:
# path: ./secrets/ssl/client-cert.pem
# type: File
# name: client-cert
# - hostPath:
# path: ./secrets/ssl/client-key.pem
# type: File
# name: client-key

0 comments on commit 8aea289

Please sign in to comment.