Skip to content

Commit

Permalink
feat: add app setup for the stages 'dev' and 'int' in order to deploy…
Browse files Browse the repository at this point in the history
… the (new) 'Managed-Identity-Wallet' on these stages.
  • Loading branch information
mknoopvw committed Jun 13, 2023
1 parent 3a9a209 commit 8bf1124
Show file tree
Hide file tree
Showing 3 changed files with 80 additions and 0 deletions.
22 changes: 22 additions & 0 deletions charts/managed-identity-wallet/argocd/appsetup-dev.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: managed-identity-wallets-new
spec:
destination:
name: ''
namespace: product-managed-identity-wallets
server: 'https://kubernetes.default.svc'
source:
path: charts/managed-identity-wallet
repoURL: 'https://github.com/catenax-ng/tx-managed-identity-wallets.git'
targetRevision: features/java-did-web
plugin:
name: argocd-vault-plugin-helm-args
env:
- name: AVP_SECRET
value: vault-secret
- name: helm_args
value: '-f values.yaml -f values-dev.yaml'
sources: []
project: project-managed-identity-wallets
22 changes: 22 additions & 0 deletions charts/managed-identity-wallet/argocd/appsetup-int.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: managed-identity-wallets-new
spec:
destination:
name: ''
namespace: product-managed-identity-wallets
server: 'https://kubernetes.default.svc'
source:
path: charts/managed-identity-wallet
repoURL: 'https://github.com/catenax-ng/tx-managed-identity-wallets.git'
targetRevision: features/java-did-web
plugin:
name: argocd-vault-plugin-helm-args
env:
- name: AVP_SECRET
value: vault-secret
- name: helm_args
value: '-f values.yaml -f values-int.yaml'
sources: []
project: project-managed-identity-wallets
36 changes: 36 additions & 0 deletions charts/managed-identity-wallet/values-int.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
image:
tag: "latest-java-did-web"

secrets:
DB_USER_NAME: <path:managed-identity-wallets/data/int/postgres-managed-identity-wallets-secret-config#user>
DB_PASSWORD: <path:managed-identity-wallets/data/int/postgres-managed-identity-wallets-secret-config#password>
ENCRYPTION_KEY: 76a7834fb37e090c2789a9b1a76748d3
KEYCLOAK_CLIENT_ID: <path:managed-identity-wallets/data/int/managed-identity-wallets-secrets#miw-auth-client-id>

envs:
DB_HOST: managed-identity-wallets-new-postgresql
MIW_HOST_NAME: managed-identity-wallets-new.int.demo.catena-x.net # Depend on ingress host name (managed-identity-wallets-new.int.demo.catena-x.net)
KEYCLOAK_REALM: CX-Central
AUTH_SERVER_URL: https://centralidp.int.demo.catena-x.net/auth
AUTHORITY_WALLET_DID: "did:web:managed-identity-wallets-new.int.demo.catena-x.net:BPNL000000000000"

ingress:
enabled: true
hosts:
- host: managed-identity-wallets-new.int.demo.catena-x.net
paths:
- path: /
pathType: ImplementationSpecific
tls:
- secretName: miw-secret
hosts:
- managed-identity-wallets-new.int.demo.catena-x.net

postgresql:
primary:
initdb:
password: <path:managed-identity-wallets/data/int/postgres-managed-identity-wallets-secret-config#postgres-password>
auth:
password: <path:managed-identity-wallets/data/int/postgres-managed-identity-wallets-secret-config#password>
postgresPassword: <path:managed-identity-wallets/data/int/postgres-managed-identity-wallets-secret-config#postgres-password>
username: <path:managed-identity-wallets/data/int/postgres-managed-identity-wallets-secret-config#user>

0 comments on commit 8bf1124

Please sign in to comment.