From 9ebe84e4732ab2d98ddfc05abfb8cc8edd3d7f27 Mon Sep 17 00:00:00 2001 From: Evelyn Gurschler Date: Tue, 19 Mar 2024 11:38:38 +0100 Subject: [PATCH] chore(localdev): release v0.4.0 (#218) * chore: update subcharts and init container, bump version * chore: change to standalone architecture for db dependency --- charts/localdev/Chart.yaml | 10 +++++----- charts/localdev/README.md | 23 +++++++++++++---------- charts/localdev/README.md.gotmpl | 2 +- charts/localdev/values.yaml | 13 ++++++++----- 4 files changed, 27 insertions(+), 21 deletions(-) diff --git a/charts/localdev/Chart.yaml b/charts/localdev/Chart.yaml index 5df754342..c9e42da24 100644 --- a/charts/localdev/Chart.yaml +++ b/charts/localdev/Chart.yaml @@ -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: @@ -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 diff --git a/charts/localdev/README.md b/charts/localdev/README.md index bef59f91f..8d79baa1c 100644 --- a/charts/localdev/README.md +++ b/charts/localdev/README.md @@ -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). @@ -265,9 +265,9 @@ cx-operator@cx.com | 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 @@ -276,7 +276,7 @@ cx-operator@cx.com |-----|------|---------|-------------| | 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"` | | @@ -350,6 +350,7 @@ cx-operator@cx.com | portal.backend.provisioning.sharedRealm.smtpServer.password | string | `""` | | | portal.backend.provisioning.sharedRealm.smtpServer.from | string | `"smtp@example.org"` | | | portal.backend.provisioning.sharedRealm.smtpServer.replyTo | string | `"smtp@example.org"` | | +| 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'. | @@ -395,7 +396,7 @@ cx-operator@cx.com | 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"` | | @@ -405,6 +406,7 @@ cx-operator@cx.com | 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"` | | @@ -470,7 +472,7 @@ cx-operator@cx.com | 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"` | | @@ -484,6 +486,7 @@ cx-operator@cx.com | 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"` | | @@ -499,7 +502,7 @@ cx-operator@cx.com | 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` | | @@ -510,7 +513,7 @@ cx-operator@cx.com | 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"` | | diff --git a/charts/localdev/README.md.gotmpl b/charts/localdev/README.md.gotmpl index 09bbb3410..bb97e3bb5 100644 --- a/charts/localdev/README.md.gotmpl +++ b/charts/localdev/README.md.gotmpl @@ -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). diff --git a/charts/localdev/values.yaml b/charts/localdev/values.yaml index 564cfdd47..6a0797167 100644 --- a/charts/localdev/values.yaml +++ b/charts/localdev/values.yaml @@ -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: @@ -136,6 +136,7 @@ portal: from: "smtp@example.org" replyTo: "smtp@example.org" postgresql: + architecture: standalone auth: # -- Password for the root username 'postgres'. Secret-key 'postgres-password'. password: "" @@ -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 @@ -222,6 +223,7 @@ centralidp: mountPath: "/realms" postgresql: nameOverride: "centralidp-postgresql" + architecture: standalone ingress: enabled: true ingressClassName: "nginx" @@ -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 @@ -341,6 +343,7 @@ sharedidp: mountPath: "/secrets" postgresql: nameOverride: "sharedidp-postgresql" + architecture: standalone ingress: enabled: true ingressClassName: "nginx" @@ -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: @@ -380,7 +383,7 @@ postgresportal: portalPassword: "" provisioningUser: "provisioning" provisioningPassword: "" - architecture: "replication" + architecture: "standalone" audit: pgAuditLog: "write, ddl" logLinePrefix: "%m %u %d "