diff --git a/apps/templates/mbgwp-folder.yaml b/apps/templates/mbgwp-folder.yaml new file mode 100644 index 0000000..c2fd5d3 --- /dev/null +++ b/apps/templates/mbgwp-folder.yaml @@ -0,0 +1,21 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: mbgwp-folder + namespace: argocd + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + project: default + source: + repoURL: https://github.com/rubenhensen/k8scd.git + targetRevision: HEAD + path: mbgwp + destination: + server: https://kubernetes.default.svc + namespace: mbgwp + syncPolicy: + syncOptions: + - CreateNamespace=true + automated: + selfHeal: true \ No newline at end of file diff --git a/apps/templates/mbgwp-helm.yaml b/apps/templates/mbgwp-helm.yaml index 8add069..8286a1d 100644 --- a/apps/templates/mbgwp-helm.yaml +++ b/apps/templates/mbgwp-helm.yaml @@ -76,6 +76,9 @@ spec: ## annotations: {} allowEmptyPassword: false + wordpressPassword: wordpress-password + wordpressUsername: rubenhensen + smtpExistingSecret: smtp-password lifecycleHooks: postStart: exec: diff --git a/ente-photos/custom-logs-persistentvolumeclaim.yaml b/disable/ente-photos/custom-logs-persistentvolumeclaim.yaml similarity index 100% rename from ente-photos/custom-logs-persistentvolumeclaim.yaml rename to disable/ente-photos/custom-logs-persistentvolumeclaim.yaml diff --git a/ente-photos/ente-deployment.yaml b/disable/ente-photos/ente-deployment.yaml similarity index 100% rename from ente-photos/ente-deployment.yaml rename to disable/ente-photos/ente-deployment.yaml diff --git a/ente-photos/ente-ingress.yaml b/disable/ente-photos/ente-ingress.yaml similarity index 100% rename from ente-photos/ente-ingress.yaml rename to disable/ente-photos/ente-ingress.yaml diff --git a/ente-photos/ente-photos-es.yaml b/disable/ente-photos/ente-photos-es.yaml similarity index 100% rename from ente-photos/ente-photos-es.yaml rename to disable/ente-photos/ente-photos-es.yaml diff --git a/ente-photos/ente-web-deployment.yaml b/disable/ente-photos/ente-web-deployment.yaml similarity index 100% rename from ente-photos/ente-web-deployment.yaml rename to disable/ente-photos/ente-web-deployment.yaml diff --git a/ente-photos/ente-web-ingress.yaml b/disable/ente-photos/ente-web-ingress.yaml similarity index 100% rename from ente-photos/ente-web-ingress.yaml rename to disable/ente-photos/ente-web-ingress.yaml diff --git a/ente-photos/ente-web-service.yaml b/disable/ente-photos/ente-web-service.yaml similarity index 100% rename from ente-photos/ente-web-service.yaml rename to disable/ente-photos/ente-web-service.yaml diff --git a/ente-photos/helm-postgres.yaml b/disable/ente-photos/helm-postgres.yaml similarity index 100% rename from ente-photos/helm-postgres.yaml rename to disable/ente-photos/helm-postgres.yaml diff --git a/ente-photos/museum-claim1-persistentvolumeclaim.yaml b/disable/ente-photos/museum-claim1-persistentvolumeclaim.yaml similarity index 100% rename from ente-photos/museum-claim1-persistentvolumeclaim.yaml rename to disable/ente-photos/museum-claim1-persistentvolumeclaim.yaml diff --git a/ente-photos/museum-claim3-persistentvolumeclaim.yaml b/disable/ente-photos/museum-claim3-persistentvolumeclaim.yaml similarity index 100% rename from ente-photos/museum-claim3-persistentvolumeclaim.yaml rename to disable/ente-photos/museum-claim3-persistentvolumeclaim.yaml diff --git a/ente-photos/museum-service.yaml b/disable/ente-photos/museum-service.yaml similarity index 100% rename from ente-photos/museum-service.yaml rename to disable/ente-photos/museum-service.yaml diff --git a/ente-photos/pgadmin-es.yaml b/disable/ente-photos/pgadmin-es.yaml similarity index 100% rename from ente-photos/pgadmin-es.yaml rename to disable/ente-photos/pgadmin-es.yaml diff --git a/ente-photos/pgadmin.yaml b/disable/ente-photos/pgadmin.yaml similarity index 100% rename from ente-photos/pgadmin.yaml rename to disable/ente-photos/pgadmin.yaml diff --git a/ente-photos/postgres-values.yaml b/disable/ente-photos/postgres-values.yaml similarity index 100% rename from ente-photos/postgres-values.yaml rename to disable/ente-photos/postgres-values.yaml diff --git a/ente-photos/postgresql-es.yaml b/disable/ente-photos/postgresql-es.yaml similarity index 100% rename from ente-photos/postgresql-es.yaml rename to disable/ente-photos/postgresql-es.yaml diff --git a/mbgwp/default-pw-es.yaml b/mbgwp/default-pw-es.yaml new file mode 100644 index 0000000..70e5f10 --- /dev/null +++ b/mbgwp/default-pw-es.yaml @@ -0,0 +1,22 @@ +apiVersion: external-secrets.io/v1beta1 +kind: ExternalSecret +metadata: + name: wordpress-secrets + namespace: default # Change to your desired namespace +spec: + refreshInterval: "15m" + secretStoreRef: + name: vault-backend + kind: ClusterSecretStore + target: + name: wordpress-credentials + creationPolicy: Owner + data: + - secretKey: wordpress-password + remoteRef: + key: kv/mbgwp + property: wordpress-password + - secretKey: smtp-password + remoteRef: + key: kv/mbgwp + property: smtp-password \ No newline at end of file