Switch to mbg-wordpress

This commit is contained in:
Ruben Hensen
2025-03-28 20:41:31 +01:00
parent 5ae881a4d6
commit 37787d8db5
5 changed files with 98 additions and 3 deletions
@@ -1,7 +1,7 @@
apiVersion: argoproj.io/v1alpha1 apiVersion: argoproj.io/v1alpha1
kind: Application kind: Application
metadata: metadata:
name: mbg-folder name: mbg-wordpress-folder
namespace: argocd namespace: argocd
finalizers: finalizers:
- resources-finalizer.argocd.argoproj.io - resources-finalizer.argocd.argoproj.io
@@ -10,10 +10,10 @@ spec:
source: source:
repoURL: https://github.com/rubenhensen/k8scd.git repoURL: https://github.com/rubenhensen/k8scd.git
targetRevision: HEAD targetRevision: HEAD
path: mbg path: mbg-wordpress
destination: destination:
server: https://kubernetes.default.svc server: https://kubernetes.default.svc
namespace: mbg namespace: mbg-wordpress
syncPolicy: syncPolicy:
syncOptions: syncOptions:
- CreateNamespace=true - CreateNamespace=true
+95
View File
@@ -0,0 +1,95 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: mbg-wordpress-helm
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
destination:
namespace: mbg-wordpress
server: https://kubernetes.default.svc
project: default
source:
repoURL: registry-1.docker.io/bitnamicharts
targetRevision: 24.1.13
chart: wordpress
helm:
values: |
service:
## @param service.type WordPress service type
##
type: ClusterIP
ingress:
enabled: true
ingressClassName: nginx
hostname: scoutingmbg.nl
path: /
annotations:
cert-manager.io/cluster-issuer: prod-cluster-issuer
nginx.ingress.kubernetes.io/proxy-body-size: 1G
tls: true
tlsWwwPrefix: false
selfSigned: false
extraHosts:
- name: www.scoutingmbg.nl
extraPaths: []
extraTls:
- secretName: letsencrypt-prod
hosts:
- scoutingmbg.nl
- www.scoutingmbg.nl
secrets: []
extraRules: []
persistence:
## @param persistence.enabled Enable persistence using Persistent Volume Claims
##
enabled: true
## @param persistence.storageClass Persistent Volume storage class
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If undefined (the default) or set to null, no storageClassName spec is set, choosing the default provisioner
##
storageClass: ""
## @param persistence.accessModes [array] Persistent Volume access modes
##
accessModes:
- ReadWriteOnce
## @param persistence.accessMode Persistent Volume access mode (DEPRECATED: use `persistence.accessModes` instead)
##
accessMode: ReadWriteOnce
## @param persistence.size Persistent Volume size
##
size: 10Gi
## @param persistence.dataSource Custom PVC data source
##
dataSource: {}
## @param persistence.existingClaim The name of an existing PVC to use for persistence
##
existingClaim: ""
## @param persistence.selector Selector to match an existing Persistent Volume for WordPress data PVC
## If set, the PVC can't have a PV dynamically provisioned for it
## E.g.
## selector:
## matchLabels:
## app: my-app
##
selector: {}
## @param persistence.annotations Persistent Volume Claim annotations
##
annotations: {}
allowEmptyPassword: false
existingSecret: wordpress-credentials
wordpressUsername: rubenhensen
smtpExistingSecret: wordpress-credentials
customHTAccessCM: prod-wordpress-cm
resourcesPreset: "large"
livenessProbe:
enabled: false
syncPolicy:
syncOptions:
- CreateNamespace=true
automated:
selfHeal: true