Skip to content

Commit

Permalink
docs(upgrade): add description for seeding job
Browse files Browse the repository at this point in the history
  • Loading branch information
evegufy committed Aug 11, 2023
1 parent 2972f20 commit f09672d
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
19 changes: 19 additions & 0 deletions charts/centralidp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
4 changes: 4 additions & 0 deletions charts/centralidp/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit f09672d

Please sign in to comment.