diff --git a/apps/templates/mbgwp-folder.yaml b/apps/templates/mbg-folder.yaml similarity index 87% rename from apps/templates/mbgwp-folder.yaml rename to apps/templates/mbg-folder.yaml index c2fd5d3..4d13877 100644 --- a/apps/templates/mbgwp-folder.yaml +++ b/apps/templates/mbg-folder.yaml @@ -1,7 +1,7 @@ apiVersion: argoproj.io/v1alpha1 kind: Application metadata: - name: mbgwp-folder + name: mbg-folder namespace: argocd finalizers: - resources-finalizer.argocd.argoproj.io @@ -10,10 +10,10 @@ spec: source: repoURL: https://github.com/rubenhensen/k8scd.git targetRevision: HEAD - path: mbgwp + path: mbg destination: server: https://kubernetes.default.svc - namespace: mbgwp + namespace: mbg syncPolicy: syncOptions: - CreateNamespace=true diff --git a/apps/templates/mbg-helm.yaml b/apps/templates/mbg-helm.yaml new file mode 100644 index 0000000..3501d68 --- /dev/null +++ b/apps/templates/mbg-helm.yaml @@ -0,0 +1,95 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: mbgwp-helm + namespace: argocd + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + destination: + namespace: mbgwp + 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: + ## 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 diff --git a/apps/templates/mbgwp-helm.yaml b/apps/templates/mbgwp-helm.yaml index 3501d68..5a32b25 100644 --- a/apps/templates/mbgwp-helm.yaml +++ b/apps/templates/mbgwp-helm.yaml @@ -21,7 +21,7 @@ spec: ## type: ClusterIP ingress: - enabled: true + enabled: false ingressClassName: nginx hostname: scoutingmbg.nl path: /