Skip to content

Commit

Permalink
Update values.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
wistefan authored Nov 8, 2024
1 parent 74744cb commit f0c82ae
Showing 1 changed file with 0 additions and 57 deletions.
57 changes: 0 additions & 57 deletions charts/data-space-connector/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -371,16 +371,6 @@ keycloak:
containerSecurityContext:
enabled: false

command:
- /bin/bash
# -- we need the did of the participant here. when its generated with the did-helper, we have to get it first and replace inside the realm.json through env-vars
args:
- -ec
- |
#!/bin/sh
export $(cat /did-material/did.env)
/opt/bitnami/scripts/keycloak/entrypoint.sh
/opt/bitnami/scripts/keycloak/run.sh
service:
ports:
http: 8080
Expand All @@ -398,21 +388,9 @@ keycloak:

# -- extra volumes to be mounted
extraVolumeMounts:
- name: did-material
mountPath: /did-material
- name: did-material
mountPath: "/etc/env"
readOnly: true
- name: realms
mountPath: /opt/bitnami/keycloak/data/import

extraVolumes:
- name: did-material
emptyDir: { }
- name: realms
configMap:
name: test-realm-realm

# -- extra env vars to be set. we require them at the moment, since some of the chart config mechanisms only work with the bitnami-image
extraEnvVars:
- name: KEYCLOAK_EXTRA_ARGS
Expand Down Expand Up @@ -447,41 +425,6 @@ keycloak:
name: issuance-secret
key: keycloak-admin

# -- init containers to be run with keycloak
initContainers:
# retrieve all did material required for the realm and store it to a shared folder
- name: get-did
image: ubuntu
command:
- /bin/bash
args:
- -ec
- |
#!/bin/bash
apt-get -y update; apt-get -y install wget
cd /did-material
wget http://did-helper:3000/did-material/cert.pfx
wget http://did-helper:3000/did-material/did.env
volumeMounts:
- name: did-material
mountPath: /did-material

# register the issuer at the trusted issuers registry - will only work if that one is publicly accessible
- name: register-at-tir
image: ubuntu
command:
- /bin/bash
args:
- -ec
- |
#!/bin/bash
source /did-material/did.env
apt-get -y update; apt-get -y install curl
curl -X 'POST' 'http://tir.trust-anchor.svc.cluster.local:8080/issuer' -H 'Content-Type: application/json' -d "{\"did\": \"${DID}\", \"credentials\": []}"
volumeMounts:
- name: did-material
mountPath: /did-material

# -- configuration of the realm to be imported
realm:
# -- should the realm be imported
Expand Down

0 comments on commit f0c82ae

Please sign in to comment.