diff --git a/config/cusprod/kustomization.yaml b/config/cusprod/kustomization.yaml new file mode 100644 index 0000000..d418373 --- /dev/null +++ b/config/cusprod/kustomization.yaml @@ -0,0 +1,4 @@ +resources: +- smardigo-mobene.yml + +namePrefix: "cusprod-" diff --git a/config/cusprod/smardigo-mobene.yml b/config/cusprod/smardigo-mobene.yml new file mode 100644 index 0000000..3f658c9 --- /dev/null +++ b/config/cusprod/smardigo-mobene.yml @@ -0,0 +1,41 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: smardigo-mobene + # You'll usually want to add your resources to the argocd namespace. + namespace: argo-cd + # Add this finalizer ONLY if you want these to cascade delete. + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + # The project the application belongs to. + project: default + # Source of the application manifests + source: + # Can point to either a Helm chart repo or a git repo. + repoURL: https://prodnso-gitea-01.smardigo.digital/argocd/smardigo-mobene.git + # This has no meaning for Helm charts pulled directly from a Helm repo instead of git. + path: smardigo + # For Helm, this refers to the chart version. + targetRevision: main + + # kustomize specific config + kustomize: + + # helm specific config + helm: + valueFiles: + - ../config/cusprod/values.yaml + + # Destination cluster and namespace to deploy the application + destination: + server: https://kubernetes.default.svc + namespace: cus-mobene-cusprod + + # Sync policy + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true diff --git a/config/cusprod/values.yaml b/config/cusprod/values.yaml new file mode 100644 index 0000000..c0ea88d --- /dev/null +++ b/config/cusprod/values.yaml @@ -0,0 +1,110 @@ +connect: + database: + host: "prodwork01-postgres-01" + name: "prodwork01_mobene_cusprod_connect" + username: "prodwork01_mobene_cusprod_connect" + password: "" + elastic: + host: "prodwork01-elastic-stack-elastic-01" + password: "" + oidc: + realm: "mobene" + client_id: "cusprod" + client_secret: "" + registration_id: "cusprod" + issuer_host: "prodwork01-kube-keycloak.smardigo.digital" + mail: + host: "" + post: "" + username: "" + password: "" + properties: + simulation: true + base_url: "https://prodwork01-mobene-cusprod-connect.smardigo.digital" + base_url_extern: "https://prodwork01-mobene-cusprod-connect.smardigo.digital" + domain: "prodwork01-mobene-cusprod-connect.smardigo.digital" + jwt: + secret: "" + hostAliases: + - name: "prodwork01-kube-keycloak.smardigo.digital" + ip: "10.3.0.12" + - name: "prodwork01-postgres-01" + ip: "10.3.0.7" + - name: "dev-elastic-stack-elastic-01" + ip: "10.3.0.13" + - name: "dev-elastic-stack-elastic-02" + ip: "10.3.0.14" + - name: "dev-elastic-stack-elastic-03" + ip: "10.3.0.16" + +iam: + keycloak: + host: "prodwork01-kube-keycloak.smardigo.digital" + username: "keycloak-admin" + password: "" + hostAliases: + - name: "prodwork01-kube-keycloak.smardigo.digital" + ip: "10.3.0.12" + +wordpress: + database: + host: "prodwork01-maria-01" + username: "prodwork01_mobene_cusprod_connect_wordpress" + password: "" + name: "prodwork01_mobene_cusprod_connect_wordpress" + oidc: + realm: "mobene" + client_id: "cusprod" + client_secret: "" + registration_id: "cusprod" + issuer_host: "prodwork01-keycloak-01.smardigo.digital" + username: "buergerportal" + password: "" + domain: "prodwork01-mobene-cusprod-wordpress.smardigo.digital" + workflow: + # user: buergerportal + api_token: "" + hostAliases: + - name: "prodwork01-maria-01" + ip: "10.3.0.4" + +sepaExporter: + workflow: + # user: client.sepa-exporter + api_token: "" + document: + # user: client.sepa-exporter + api_token: "" + +ubaExporter: + workflow: + # user: client.uba-exporter + api_token: "" + document: + # user: client.uba-exporter + api_token: "" + +# services which aren't part of the kubernetes cluster +sharedService: + postgres: + host: + ip: "10.3.0.7" + name: "prodwork01-postgres-01" + maria: + host: + ip: "10.3.0.4" + name: "prodwork01-maria-01" + elastic: + host01: + ip: "10.3.0.13" + name: "prodwork01-elastic-stack-elastic-01" + host02: + ip: "10.3.0.14" + name: "prodwork01-elastic-stack-elastic-02" + host03: + ip: "10.3.0.16" + name: "prodwork01-elastic-stack-elastic-03" + +harbor: + host: + name: "prodnso-harbor-01.smardigo.digital" \ No newline at end of file diff --git a/config/cusqa/kustomization.yaml b/config/cusqa/kustomization.yaml new file mode 100644 index 0000000..0db46e8 --- /dev/null +++ b/config/cusqa/kustomization.yaml @@ -0,0 +1,4 @@ +resources: +- smardigo-mobene.yml + +namePrefix: "cusqa-" diff --git a/config/cusqa/smardigo-mobene.yml b/config/cusqa/smardigo-mobene.yml new file mode 100644 index 0000000..10225b3 --- /dev/null +++ b/config/cusqa/smardigo-mobene.yml @@ -0,0 +1,41 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: smardigo-mobene + # You'll usually want to add your resources to the argocd namespace. + namespace: argo-cd + # Add this finalizer ONLY if you want these to cascade delete. + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + # The project the application belongs to. + project: default + # Source of the application manifests + source: + # Can point to either a Helm chart repo or a git repo. + repoURL: https://prodnso-gitea-01.smardigo.digital/argocd/smardigo-mobene.git + # This has no meaning for Helm charts pulled directly from a Helm repo instead of git. + path: smardigo + # For Helm, this refers to the chart version. + targetRevision: main + + # kustomize specific config + kustomize: + + # helm specific config + helm: + valueFiles: + - ../config/cusqa/values.yaml + + # Destination cluster and namespace to deploy the application + destination: + server: https://kubernetes.default.svc + namespace: cus-mobene-cusqa + + # Sync policy + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true diff --git a/config/cusqa/values.yaml b/config/cusqa/values.yaml new file mode 100644 index 0000000..eacd2e9 --- /dev/null +++ b/config/cusqa/values.yaml @@ -0,0 +1,110 @@ +connect: + database: + host: "prodwork01-postgres-01" + name: "prodwork01_mobene_cusqa_connect" + username: "prodwork01_mobene_cusqa_connect" + password: "" + elastic: + host: "prodwork01-elastic-stack-elastic-01" + password: "" + oidc: + realm: "mobene" + client_id: "cusqa" + client_secret: "" + registration_id: "cusqa" + issuer_host: "prodwork01-kube-keycloak.smardigo.digital" + mail: + host: "" + post: "" + username: "" + password: "" + properties: + simulation: true + base_url: "https://prodwork01-mobene-cusqa-connect.smardigo.digital" + base_url_extern: "https://prodwork01-mobene-cusqa-connect.smardigo.digital" + domain: "prodwork01-mobene-cusqa-connect.smardigo.digital" + jwt: + secret: "" + hostAliases: + - name: "prodwork01-kube-keycloak.smardigo.digital" + ip: "10.3.0.12" + - name: "prodwork01-postgres-01" + ip: "10.3.0.7" + - name: "dev-elastic-stack-elastic-01" + ip: "10.3.0.13" + - name: "dev-elastic-stack-elastic-02" + ip: "10.3.0.14" + - name: "dev-elastic-stack-elastic-03" + ip: "10.3.0.16" + +iam: + keycloak: + host: "prodwork01-kube-keycloak.smardigo.digital" + username: "keycloak-admin" + password: "" + hostAliases: + - name: "prodwork01-kube-keycloak.smardigo.digital" + ip: "10.3.0.12" + +wordpress: + database: + host: "prodwork01-maria-01" + username: "prodwork01_mobene_cusqa_connect_wordpress" + password: "" + name: "prodwork01_mobene_cusqa_connect_wordpress" + oidc: + realm: "mobene" + client_id: "cusqa" + client_secret: "" + registration_id: "cusqa" + issuer_host: "prodwork01-keycloak-01.smardigo.digital" + username: "buergerportal" + password: "" + domain: "prodwork01-mobene-cusqa-wordpress.smardigo.digital" + workflow: + # user: buergerportal + api_token: "" + hostAliases: + - name: "prodwork01-maria-01" + ip: "10.3.0.4" + +sepaExporter: + workflow: + # user: client.sepa-exporter + api_token: "" + document: + # user: client.sepa-exporter + api_token: "" + +ubaExporter: + workflow: + # user: client.uba-exporter + api_token: "" + document: + # user: client.uba-exporter + api_token: "" + +# services which aren't part of the kubernetes cluster +sharedService: + postgres: + host: + ip: "10.3.0.7" + name: "prodwork01-postgres-01" + maria: + host: + ip: "10.3.0.4" + name: "prodwork01-maria-01" + elastic: + host01: + ip: "10.3.0.13" + name: "prodwork01-elastic-stack-elastic-01" + host02: + ip: "10.3.0.14" + name: "prodwork01-elastic-stack-elastic-02" + host03: + ip: "10.3.0.16" + name: "prodwork01-elastic-stack-elastic-03" + +harbor: + host: + name: "prodnso-harbor-01.smardigo.digital" \ No newline at end of file diff --git a/config/default/kustomization.yaml b/config/default/kustomization.yaml index 9cd6dc9..f32b201 100644 --- a/config/default/kustomization.yaml +++ b/config/default/kustomization.yaml @@ -1,2 +1,4 @@ bases: -- ../nsodev \ No newline at end of file +- ../nsodev +- ../cusqa +#- ../cusprod \ No newline at end of file