From f09672d467eba891c248563dda1aad84dbaf9dff Mon Sep 17 00:00:00 2001 From: evegufy Date: Fri, 11 Aug 2023 19:44:10 +0200 Subject: [PATCH] docs(upgrade): add description for seeding job --- charts/centralidp/README.md | 19 +++++++++++++++++++ charts/centralidp/values.yaml | 4 ++++ 2 files changed, 23 insertions(+) diff --git a/charts/centralidp/README.md b/charts/centralidp/README.md index f11066f5..eaa1cecf 100644 --- a/charts/centralidp/README.md +++ b/charts/centralidp/README.md @@ -114,6 +114,25 @@ dependencies: | secrets.postgresql.auth.existingSecret.postgrespassword | string | `""` | Password for the root username 'postgres'. Secret-key 'postgres-password'. | | secrets.postgresql.auth.existingSecret.password | string | `""` | Password for the non-root username 'kccentral'. Secret-key 'password'. | | secrets.postgresql.auth.existingSecret.replicationPassword | string | `""` | Password for the non-root username 'repl_user'. Secret-key 'replication-password'. | +| seeding.enabled | bool | `false` | Seeding job to upgrade CX_Central realm: enable to upgrade the configuration of the CX-Central realm from v1.1.0 to v1.2.0; Please also refer to the 'Post-Upgrade Configuration' section in the README.md for configuration possibly not covered by the seeding job | +| seeding.name | string | `"cx-central-realm-upgrade"` | | +| seeding.image | string | `"tractusx/portal-iam-seeding:iam-v1.2.0"` | | +| seeding.portContainer | int | `8080` | | +| seeding.authRealm | string | `"master"` | | +| seeding.dataPaths.dataPath0 | string | `"realms/CX-Central-realm.json"` | | +| seeding.instanceName | string | `"central"` | | +| seeding.extraVolumes[0].name | string | `"realms"` | | +| seeding.extraVolumes[0].emptyDir | object | `{}` | | +| seeding.extraVolumeMounts[0].name | string | `"realms"` | | +| seeding.extraVolumeMounts[0].mountPath | string | `"app/realms"` | | +| seeding.initContainers[0].name | string | `"init-cx-central"` | | +| seeding.initContainers[0].image | string | `"tractusx/portal-iam:v1.2.0-RC1"` | | +| seeding.initContainers[0].imagePullPolicy | string | `"Always"` | | +| seeding.initContainers[0].command[0] | string | `"sh"` | | +| seeding.initContainers[0].args[0] | string | `"-c"` | | +| seeding.initContainers[0].args[1] | string | `"echo \"Copying CX Central realm...\"\ncp -R /import/catenax-central/realms/* /app/realms\n"` | | +| seeding.initContainers[0].volumeMounts[0].name | string | `"realms"` | | +| seeding.initContainers[0].volumeMounts[0].mountPath | string | `"app/realms"` | | Autogenerated with [helm docs](https://github.com/norwoodj/helm-docs) diff --git a/charts/centralidp/values.yaml b/charts/centralidp/values.yaml index 3a2e5892..79d32da5 100644 --- a/charts/centralidp/values.yaml +++ b/charts/centralidp/values.yaml @@ -153,6 +153,10 @@ secrets: replicationPassword: "" seeding: +# -- Seeding job to upgrade CX_Central realm: +# enable to upgrade the configuration of the CX-Central realm from v1.1.0 to v1.2.0; +# Please also refer to the 'Post-Upgrade Configuration' section in the README.md +# for configuration possibly not covered by the seeding job enabled: false name: "cx-central-realm-upgrade" image: "tractusx/portal-iam-seeding:iam-v1.2.0"