Skip to content

Commit

Permalink
chore(localdev): release v0.4.0 (#218)
Browse files Browse the repository at this point in the history
* chore: update subcharts and init container, bump version

* chore: change to standalone architecture for db dependency
  • Loading branch information
evegufy authored Mar 19, 2024
1 parent 1bbb748 commit 9ebe84e
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 21 deletions.
10 changes: 5 additions & 5 deletions charts/localdev/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
apiVersion: v2
name: localdev-portal-iam
type: application
version: 0.3.0
appVersion: 0.3.0
version: 0.4.0
appVersion: 0.4.0
description: Setup of CX Portal & IAM for local development
home: https://github.com/eclipse-tractusx/portal-cd
sources:
Expand All @@ -34,15 +34,15 @@ dependencies:
- condition: portal.enabled
name: portal
repository: https://eclipse-tractusx.github.io/charts/dev
version: 1.8.0-RC4
version: 1.8.0
- condition: centralidp.enabled
name: centralidp
repository: https://eclipse-tractusx.github.io/charts/dev
version: 2.1.0-RC1
version: 2.1.0
- condition: sharedidp.enabled
name: sharedidp
repository: https://eclipse-tractusx.github.io/charts/dev
version: 2.1.0-RC1
version: 2.1.0
- condition: pgadmin4.enabled
name: pgadmin4
repository: https://helm.runix.net
Expand Down
23 changes: 13 additions & 10 deletions charts/localdev/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Setup of CX Portal & IAM for local development

![Version: 0.3.0](https://img.shields.io/badge/Version-0.3.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
![Version: 0.4.0](https://img.shields.io/badge/Version-0.4.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)

This umbrella chart installs the helm charts of the [CX Portal](https://github.com/eclipse-tractusx/portal-cd/blob/portal-1.6.0/charts/portal/README.md) and of the [CX IAM](https://github.com/eclipse-tractusx/portal-iam) Keycloak instances ([centralidp](https://github.com/eclipse-tractusx/portal-iam/blob/centralidp-1.2.0/charts/centralidp/README.md) and [sharedidp](https://github.com/eclipse-tractusx/portal-iam/blob/sharedidp-1.2.0/charts/sharedidp/README.md)).
This umbrella chart installs the helm charts of the [CX Portal](https://github.com/eclipse-tractusx/portal-cd/blob/portal-1.8.0/charts/portal/README.md) and of the [CX IAM](https://github.com/eclipse-tractusx/portal-iam) Keycloak instances ([centralidp](https://github.com/eclipse-tractusx/portal-iam/blob/centralidp-2.1.0/charts/centralidp/README.md) and [sharedidp](https://github.com/eclipse-tractusx/portal-iam/blob/sharedidp-2.1.0/charts/sharedidp/README.md)).

It's intended for the local setup of the those components in order to aid the local development. To integrate your local development, adapt the address values in the Values file for [Portal Frontend](./values.yaml#L23) and/or [Portal Backend](./values.yaml#L27).

Expand Down Expand Up @@ -265,9 +265,9 @@ [email protected]
| Repository | Name | Version |
|------------|------|---------|
| https://charts.bitnami.com/bitnami | postgresportal(postgresql) | 12.12.x |
| https://eclipse-tractusx.github.io/charts/dev | centralidp | 2.1.0-RC1 |
| https://eclipse-tractusx.github.io/charts/dev | portal | 1.8.0-RC4 |
| https://eclipse-tractusx.github.io/charts/dev | sharedidp | 2.1.0-RC1 |
| https://eclipse-tractusx.github.io/charts/dev | centralidp | 2.1.0 |
| https://eclipse-tractusx.github.io/charts/dev | portal | 1.8.0 |
| https://eclipse-tractusx.github.io/charts/dev | sharedidp | 2.1.0 |
| https://helm.runix.net | pgadmin4 | 1.17.x |
## Values
Expand All @@ -276,7 +276,7 @@ [email protected]
|-----|------|---------|-------------|
| portal.enabled | bool | `true` | |
| portal.portalAddress | string | `"https://portal.example.org"` | Set your local frontend to integrate into local development. |
| portal.portalBackendAddress | string | `"https://portal-backend.example.org"` | Set your local backend service to integrate into local development. Start port forwarding tunnel for database access, e.g.: 'kubectl port-forward service/portal-backend-postgresql-primary 5432:5432' |
| portal.portalBackendAddress | string | `"https://portal-backend.example.org"` | Set your local backend service to integrate into local development. Start port forwarding tunnel for database access, e.g.: 'kubectl port-forward service/portal-backend-postgresql 5432:5432 -n localdev' |
| portal.replicaCount | int | `1` | |
| portal.frontend.ingress.enabled | bool | `true` | |
| portal.frontend.ingress.annotations."cert-manager.io/cluster-issuer" | string | `"my-ca-issuer"` | |
Expand Down Expand Up @@ -350,6 +350,7 @@ [email protected]
| portal.backend.provisioning.sharedRealm.smtpServer.password | string | `""` | |
| portal.backend.provisioning.sharedRealm.smtpServer.from | string | `"[email protected]"` | |
| portal.backend.provisioning.sharedRealm.smtpServer.replyTo | string | `"[email protected]"` | |
| portal.postgresql.architecture | string | `"standalone"` | |
| portal.postgresql.auth.password | string | `""` | Password for the root username 'postgres'. Secret-key 'postgres-password'. |
| portal.postgresql.auth.portalPassword | string | `""` | Password for the non-root username 'portal'. Secret-key 'portal-password'. |
| portal.postgresql.auth.provisioningPassword | string | `""` | Password for the non-root username 'provisioning'. Secret-key 'provisioning-password'. |
Expand Down Expand Up @@ -395,7 +396,7 @@ [email protected]
| centralidp.keycloak.initContainers[0].volumeMounts[1].name | string | `"shared-certs"` | |
| centralidp.keycloak.initContainers[0].volumeMounts[1].mountPath | string | `"/opt/bitnami/keycloak/certs"` | |
| centralidp.keycloak.initContainers[1].name | string | `"import"` | |
| centralidp.keycloak.initContainers[1].image | string | `"tractusx/portal-iam:v2.1.0-RC1"` | |
| centralidp.keycloak.initContainers[1].image | string | `"tractusx/portal-iam:v2.1.0"` | |
| centralidp.keycloak.initContainers[1].imagePullPolicy | string | `"Always"` | |
| centralidp.keycloak.initContainers[1].command[0] | string | `"sh"` | |
| centralidp.keycloak.initContainers[1].args[0] | string | `"-c"` | |
Expand All @@ -405,6 +406,7 @@ [email protected]
| centralidp.keycloak.initContainers[1].volumeMounts[1].name | string | `"realms"` | |
| centralidp.keycloak.initContainers[1].volumeMounts[1].mountPath | string | `"/realms"` | |
| centralidp.keycloak.postgresql.nameOverride | string | `"centralidp-postgresql"` | |
| centralidp.keycloak.postgresql.architecture | string | `"standalone"` | |
| centralidp.keycloak.ingress.enabled | bool | `true` | |
| centralidp.keycloak.ingress.ingressClassName | string | `"nginx"` | |
| centralidp.keycloak.ingress.hostname | string | `"centralidp.example.org"` | |
Expand Down Expand Up @@ -470,7 +472,7 @@ [email protected]
| sharedidp.keycloak.initContainers[0].volumeMounts[1].name | string | `"shared-certs"` | |
| sharedidp.keycloak.initContainers[0].volumeMounts[1].mountPath | string | `"/opt/bitnami/keycloak/certs"` | |
| sharedidp.keycloak.initContainers[1].name | string | `"import"` | |
| sharedidp.keycloak.initContainers[1].image | string | `"tractusx/portal-iam:v2.1.0-RC1"` | |
| sharedidp.keycloak.initContainers[1].image | string | `"tractusx/portal-iam:v2.1.0"` | |
| sharedidp.keycloak.initContainers[1].imagePullPolicy | string | `"Always"` | |
| sharedidp.keycloak.initContainers[1].command[0] | string | `"sh"` | |
| sharedidp.keycloak.initContainers[1].args[0] | string | `"-c"` | |
Expand All @@ -484,6 +486,7 @@ [email protected]
| sharedidp.keycloak.initContainers[1].volumeMounts[3].name | string | `"realm-secrets"` | |
| sharedidp.keycloak.initContainers[1].volumeMounts[3].mountPath | string | `"/secrets"` | |
| sharedidp.keycloak.postgresql.nameOverride | string | `"sharedidp-postgresql"` | |
| sharedidp.keycloak.postgresql.architecture | string | `"standalone"` | |
| sharedidp.keycloak.ingress.enabled | bool | `true` | |
| sharedidp.keycloak.ingress.ingressClassName | string | `"nginx"` | |
| sharedidp.keycloak.ingress.hostname | string | `"sharedidp.example.org"` | |
Expand All @@ -499,7 +502,7 @@ [email protected]
| sharedidp.keycloak.ingress.tls | bool | `true` | |
| sharedidp.secrets.auth.existingSecret.adminpassword | string | `""` | Password for the admin username 'admin'. Secret-key 'admin-password'. |
| sharedidp.secrets.auth.spi.truststorePassword | string | `""` | |
| postgresportal.enabled | bool | `true` | Additional PostgreSQL for backend development; start port forwarding tunnel for database access, e.g.: 'kubectl port-forward local-portal-postgresql-primary-0 5432:5432' |
| postgresportal.enabled | bool | `true` | Additional PostgreSQL for backend development; start port forwarding tunnel for database access, e.g.: 'kubectl port-forward service/local-portal-postgresql 5432:5432 -n localdev' |
| postgresportal.nameOverride | string | `"portal-postgresql"` | |
| postgresportal.auth.database | string | `"postgres"` | |
| postgresportal.auth.port | int | `5432` | |
Expand All @@ -510,7 +513,7 @@ [email protected]
| postgresportal.auth.portalPassword | string | `""` | |
| postgresportal.auth.provisioningUser | string | `"provisioning"` | |
| postgresportal.auth.provisioningPassword | string | `""` | |
| postgresportal.architecture | string | `"replication"` | |
| postgresportal.architecture | string | `"standalone"` | |
| postgresportal.audit.pgAuditLog | string | `"write, ddl"` | |
| postgresportal.audit.logLinePrefix | string | `"%m %u %d "` | |
| postgresportal.primary.initdb.scriptsConfigMap | string | `"configmap-postgres-init-localdev"` | |
Expand Down
2 changes: 1 addition & 1 deletion charts/localdev/README.md.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

{{ template "chart.versionBadge" . }}{{ template "chart.typeBadge" . }}

This umbrella chart installs the helm charts of the [CX Portal](https://github.com/eclipse-tractusx/portal-cd/blob/portal-1.6.0/charts/portal/README.md) and of the [CX IAM](https://github.com/eclipse-tractusx/portal-iam) Keycloak instances ([centralidp](https://github.com/eclipse-tractusx/portal-iam/blob/centralidp-1.2.0/charts/centralidp/README.md) and [sharedidp](https://github.com/eclipse-tractusx/portal-iam/blob/sharedidp-1.2.0/charts/sharedidp/README.md)).
This umbrella chart installs the helm charts of the [CX Portal](https://github.com/eclipse-tractusx/portal-cd/blob/portal-1.8.0/charts/portal/README.md) and of the [CX IAM](https://github.com/eclipse-tractusx/portal-iam) Keycloak instances ([centralidp](https://github.com/eclipse-tractusx/portal-iam/blob/centralidp-2.1.0/charts/centralidp/README.md) and [sharedidp](https://github.com/eclipse-tractusx/portal-iam/blob/sharedidp-2.1.0/charts/sharedidp/README.md)).

It's intended for the local setup of the those components in order to aid the local development. To integrate your local development, adapt the address values in the Values file for [Portal Frontend](./values.yaml#L23) and/or [Portal Backend](./values.yaml#L27).

Expand Down
13 changes: 8 additions & 5 deletions charts/localdev/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ portal:
portalAddress: "https://portal.example.org"
# -- Set your local backend service to integrate into local development.
# Start port forwarding tunnel for database access, e.g.:
# 'kubectl port-forward service/portal-backend-postgresql-primary 5432:5432'
# 'kubectl port-forward service/portal-backend-postgresql 5432:5432 -n localdev'
portalBackendAddress: "https://portal-backend.example.org"
replicaCount: 1
frontend:
Expand Down Expand Up @@ -136,6 +136,7 @@ portal:
from: "[email protected]"
replyTo: "[email protected]"
postgresql:
architecture: standalone
auth:
# -- Password for the root username 'postgres'. Secret-key 'postgres-password'.
password: ""
Expand Down Expand Up @@ -204,7 +205,7 @@ centralidp:
- name: shared-certs
mountPath: "/opt/bitnami/keycloak/certs"
- name: import
image: tractusx/portal-iam:v2.1.0-RC1
image: tractusx/portal-iam:v2.1.0
imagePullPolicy: Always
command:
- sh
Expand All @@ -222,6 +223,7 @@ centralidp:
mountPath: "/realms"
postgresql:
nameOverride: "centralidp-postgresql"
architecture: standalone
ingress:
enabled: true
ingressClassName: "nginx"
Expand Down Expand Up @@ -314,7 +316,7 @@ sharedidp:
- name: shared-certs
mountPath: "/opt/bitnami/keycloak/certs"
- name: import
image: tractusx/portal-iam:v2.1.0-RC1
image: tractusx/portal-iam:v2.1.0
imagePullPolicy: Always
command:
- sh
Expand All @@ -341,6 +343,7 @@ sharedidp:
mountPath: "/secrets"
postgresql:
nameOverride: "sharedidp-postgresql"
architecture: standalone
ingress:
enabled: true
ingressClassName: "nginx"
Expand All @@ -367,7 +370,7 @@ sharedidp:
postgresportal:
# -- Additional PostgreSQL for backend development;
# start port forwarding tunnel for database access, e.g.:
# 'kubectl port-forward local-portal-postgresql-primary-0 5432:5432'
# 'kubectl port-forward service/local-portal-postgresql 5432:5432 -n localdev'
enabled: true
nameOverride: "portal-postgresql"
auth:
Expand All @@ -380,7 +383,7 @@ postgresportal:
portalPassword: ""
provisioningUser: "provisioning"
provisioningPassword: ""
architecture: "replication"
architecture: "standalone"
audit:
pgAuditLog: "write, ddl"
logLinePrefix: "%m %u %d "
Expand Down

0 comments on commit 9ebe84e

Please sign in to comment.