Skip to content

Commit

Permalink
Merge pull request #45 from eclipse-tractusx/release/v2.1.0-RC1
Browse files Browse the repository at this point in the history
build(2.1.0-RC1): merge release into main
  • Loading branch information
evegufy authored Jan 17, 2024
2 parents c1d2ec1 + df4fef5 commit cee04eb
Show file tree
Hide file tree
Showing 40 changed files with 70 additions and 61 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/cx-iam-consortia.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,11 @@ jobs:
with:
images: ${{ env.IMAGE_NAMESPACE }}/${{ env.IMAGE_NAME }}
# Automatically prepare image tags;
# semver patter will generate tags like these for example :v1 :v1.2
# semver patter will generate tags like these for example :v1 :v1.2 v1.2.3
tags: |
type=raw,value=latest
type=raw,value=${{ env.REF_NAME }}
type=semver,pattern=v{{version}}
type=semver,pattern=v{{major}}
type=semver,pattern=v{{major}}.{{minor}}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cx-iam.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,11 @@ jobs:
with:
images: ${{ env.IMAGE_NAMESPACE }}/${{ env.IMAGE_NAME }}
# Automatically prepare image tags;
# semver patter will generate tags like these for example :v1 :v1.2
# semver patter will generate tags like these for example :v1 :v1.2 v1.2.3
tags: |
type=raw,value=latest
type=raw,value=${{ env.REF_NAME }}
type=semver,pattern=v{{version}}
type=semver,pattern=v{{major}}
type=semver,pattern=v{{major}}.{{minor}}
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ New features, fixed bugs, known defects and other noteworthy changes to each rel

### Bugfix

* fixed upgrade documentation for previous version 2.0.0, pointing to upgrade details for centralidp
* realm configuration (centralidp) - fixes to CX-Central realm:
* assigned the following roles from the Cl2-CX-Portal from the composite role "IT Admin":
* delete_user_account
Expand Down Expand Up @@ -57,6 +58,8 @@ The following issues were recently discovered:
* Refresh token rotation causes page reload in frontend apps when using multiple tabs, see [User Token Lifespan](docs/consultation/workshop-20231005.md#user-token-lifespan)
* Custom login themes break when inserting HTML/CSS/JavaScript code in the IdP display name

Please be aware that **this version is still in Release Candidate phase**: especially documentation is still WIP.

## 2.0.0

### Change
Expand Down
2 changes: 1 addition & 1 deletion charts/centralidp/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
apiVersion: v2
name: centralidp
type: application
version: 2.0.0
version: 2.1.0-RC1
appVersion: 22.0.3
description: Helm chart for Catena-X Central Keycloak Instance
home: https://github.com/eclipse-tractusx/portal-iam
Expand Down
14 changes: 8 additions & 6 deletions charts/centralidp/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Helm chart for Catena-X Central Keycloak Instance

![Version: 2.0.0](https://img.shields.io/badge/Version-2.0.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 22.0.3](https://img.shields.io/badge/AppVersion-22.0.3-informational?style=flat-square)
![Version: 2.1.0-RC1](https://img.shields.io/badge/Version-2.1.0--RC1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 22.0.3](https://img.shields.io/badge/AppVersion-22.0.3-informational?style=flat-square)

This helm chart installs the Helm chart for Catena-X Central Keycloak Instance.

For further information please refer to the [technical documentation](https://github.com/eclipse-tractusx/portal-assets/tree/v1.6.0/developer/Technical%20Documentation).
For further information please refer to the [technical documentation](../../docs/technical%20documentation).

The referenced container images are for demonstration purposes only.

Expand All @@ -29,7 +29,7 @@ To use the helm chart as a dependency:
dependencies:
- name: centralidp
repository: https://eclipse-tractusx.github.io/charts/dev
version: 2.0.0
version: 2.1.0-RC1
```
## Requirements
Expand Down Expand Up @@ -59,7 +59,7 @@ dependencies:
| keycloak.extraVolumeMounts[1].name | string | `"realms"` | |
| keycloak.extraVolumeMounts[1].mountPath | string | `"/realms"` | |
| keycloak.initContainers[0].name | string | `"import"` | |
| keycloak.initContainers[0].image | string | `"tractusx/portal-iam:v2.0.0"` | |
| keycloak.initContainers[0].image | string | `"tractusx/portal-iam:v2.1.0-RC1"` | |
| keycloak.initContainers[0].imagePullPolicy | string | `"Always"` | |
| keycloak.initContainers[0].command[0] | string | `"sh"` | |
| keycloak.initContainers[0].args[0] | string | `"-c"` | |
Expand Down Expand Up @@ -105,7 +105,7 @@ dependencies:
| 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 previous version; 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:v2.0.0-iam"` | |
| seeding.image | string | `"tractusx/portal-iam-seeding:v2.1.0-iam-RC1"` | |
| seeding.portContainer | int | `8080` | |
| seeding.authRealm | string | `"master"` | |
| seeding.useAuthTrail | string | `"true"` | |
Expand All @@ -119,7 +119,7 @@ dependencies:
| 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:v2.0.0"` | |
| seeding.initContainers[0].image | string | `"tractusx/portal-iam:v2.1.0-RC1"` | |
| seeding.initContainers[0].imagePullPolicy | string | `"Always"` | |
| seeding.initContainers[0].command[0] | string | `"sh"` | |
| seeding.initContainers[0].args[0] | string | `"-c"` | |
Expand Down Expand Up @@ -157,6 +157,8 @@ We also recommend checking out the [Keycloak Upgrading Guide](https://www.keyclo
To be explicitly mentioned: this major adds the production mode with default value false and the reverse proxy mode with default value passthrough.
Please check the description of those parameters and decide if they're suitable for you.

Please also refer to [Upgrade Details](../../docs/technical%20documentation/12.%20Upgrade%20Details.md#v200).

#### Upgrade approach

For the overall process of migrating from version 16.1.1 to version 22.0.3., we recommend to follow a blue-green deployment approach. In the following, you find a rough outline of the necessary steps:
Expand Down
4 changes: 3 additions & 1 deletion charts/centralidp/README.md.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

This helm chart installs the {{ template "chart.description" . }}.

For further information please refer to the [technical documentation](https://github.com/eclipse-tractusx/portal-assets/tree/v1.6.0/developer/Technical%20Documentation).
For further information please refer to the [technical documentation](../../docs/technical%20documentation).

The referenced container images are for demonstration purposes only.

Expand Down Expand Up @@ -66,6 +66,8 @@ We also recommend checking out the [Keycloak Upgrading Guide](https://www.keyclo
To be explicitly mentioned: this major adds the production mode with default value false and the reverse proxy mode with default value passthrough.
Please check the description of those parameters and decide if they're suitable for you.

Please also refer to [Upgrade Details](../../docs/technical%20documentation/12.%20Upgrade%20Details.md#v200).

#### Upgrade approach

For the overall process of migrating from version 16.1.1 to version 22.0.3., we recommend to follow a blue-green deployment approach. In the following, you find a rough outline of the necessary steps:
Expand Down
6 changes: 3 additions & 3 deletions charts/centralidp/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ keycloak:
mountPath: "/realms"
initContainers:
- name: import
image: tractusx/portal-iam:pr44
image: tractusx/portal-iam:v2.1.0-RC1
imagePullPolicy: Always
command:
- sh
Expand Down Expand Up @@ -150,7 +150,7 @@ seeding:
# for configuration possibly not covered by the seeding job
enabled: false
name: "cx-central-realm-upgrade"
image: "tractusx/portal-iam-seeding:v2.0.0-iam"
image: "tractusx/portal-iam-seeding:v2.1.0-iam-RC1"
portContainer: 8080
authRealm: "master"
useAuthTrail: "true"
Expand Down Expand Up @@ -178,7 +178,7 @@ seeding:
mountPath: "app/realms"
initContainers:
- name: init-cx-central
image: tractusx/portal-iam:pr44
image: tractusx/portal-iam:v2.1.0-RC1
imagePullPolicy: Always
command:
- sh
Expand Down
2 changes: 1 addition & 1 deletion charts/sharedidp/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
apiVersion: v2
name: sharedidp
type: application
version: 2.0.0
version: 2.1.0-RC1
appVersion: 22.0.3
description: Helm chart for Catena-X Shared Keycloak Instance
home: https://github.com/eclipse-tractusx/portal-iam
Expand Down
8 changes: 4 additions & 4 deletions charts/sharedidp/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Helm chart for Catena-X Shared Keycloak Instance

![Version: 2.0.0](https://img.shields.io/badge/Version-2.0.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 22.0.3](https://img.shields.io/badge/AppVersion-22.0.3-informational?style=flat-square)
![Version: 2.1.0-RC1](https://img.shields.io/badge/Version-2.1.0--RC1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 22.0.3](https://img.shields.io/badge/AppVersion-22.0.3-informational?style=flat-square)

This helm chart installs the Helm chart for Catena-X Shared Keycloak Instance.

For further information please refer to the [technical documentation](https://github.com/eclipse-tractusx/portal-assets/tree/v1.6.0/developer/Technical%20Documentation).
For further information please refer to the [technical documentation](../../docs/technical%20documentation).

The referenced container images are for demonstration purposes only.

Expand All @@ -29,7 +29,7 @@ To use the helm chart as a dependency:
dependencies:
- name: sharedidp
repository: https://eclipse-tractusx.github.io/charts/dev
version: 2.0.0
version: 2.1.0-RC1
```
## Requirements
Expand Down Expand Up @@ -63,7 +63,7 @@ dependencies:
| keycloak.extraVolumeMounts[2].name | string | `"realms"` | |
| keycloak.extraVolumeMounts[2].mountPath | string | `"/realms"` | |
| keycloak.initContainers[0].name | string | `"import"` | |
| keycloak.initContainers[0].image | string | `"tractusx/portal-iam:v2.0.0"` | |
| keycloak.initContainers[0].image | string | `"tractusx/portal-iam:v2.1.0-RC1"` | |
| keycloak.initContainers[0].imagePullPolicy | string | `"Always"` | |
| keycloak.initContainers[0].command[0] | string | `"sh"` | |
| keycloak.initContainers[0].args[0] | string | `"-c"` | |
Expand Down
2 changes: 1 addition & 1 deletion charts/sharedidp/README.md.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

This helm chart installs the {{ template "chart.description" . }}.

For further information please refer to the [technical documentation](https://github.com/eclipse-tractusx/portal-assets/tree/v1.6.0/developer/Technical%20Documentation).
For further information please refer to the [technical documentation](../../docs/technical%20documentation).

The referenced container images are for demonstration purposes only.

Expand Down
2 changes: 1 addition & 1 deletion charts/sharedidp/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ keycloak:
mountPath: "/realms"
initContainers:
- name: import
image: tractusx/portal-iam:pr44
image: tractusx/portal-iam:v2.1.0-RC1
imagePullPolicy: Always
command:
- sh
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
source:
path: charts/centralidp
repoURL: 'https://github.com/eclipse-tractusx/portal-iam.git'
targetRevision: v2.0.0
targetRevision: v2.1.0-RC1
plugin:
env:
- name: AVP_SECRET
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
source:
path: charts/centralidp
repoURL: 'https://github.com/eclipse-tractusx/portal-iam.git'
targetRevision: v2.0.0
targetRevision: v2.1.0-RC1
plugin:
env:
- name: AVP_SECRET
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
source:
path: charts/centralidp
repoURL: 'https://github.com/eclipse-tractusx/portal-iam.git'
targetRevision: v2.0.0
targetRevision: v2.1.0-RC1
plugin:
env:
- name: AVP_SECRET
Expand Down
2 changes: 1 addition & 1 deletion consortia/argocd-app-templates/centralidp/appsetup-rc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
source:
path: charts/centralidp
repoURL: 'https://github.com/eclipse-tractusx/portal-iam.git'
targetRevision: v2.0.0
targetRevision: v2.1.0-RC1
plugin:
env:
- name: AVP_SECRET
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ spec:
source:
path: ''
repoURL: 'https://eclipse-tractusx.github.io/charts/dev'
targetRevision: 2.0.0
targetRevision: 2.1.0-RC1
plugin:
env:
- name: HELM_VALUES
value: |
keycloak:
initContainers:
- name: import
image: tractusx/portal-iam-consortia:v2.0.0
image: tractusx/portal-iam-consortia:v2.1.0-RC1
imagePullPolicy: Always
command:
- sh
Expand Down Expand Up @@ -83,7 +83,7 @@ spec:
enabled: true
initContainers:
- name: init-cx-central
image: tractusx/portal-iam-consortia:v2.0.0
image: tractusx/portal-iam-consortia:v2.1.0-RC1
imagePullPolicy: Always
command:
- sh
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
source:
path: charts/centralidp
repoURL: 'https://github.com/eclipse-tractusx/portal-iam.git'
targetRevision: v2.0.0
targetRevision: v2.1.0-RC1
plugin:
env:
- name: AVP_SECRET
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
source:
path: charts/centralidp
repoURL: 'https://github.com/eclipse-tractusx/portal-iam.git'
targetRevision: v2.0.0
targetRevision: v2.1.0-RC1
plugin:
env:
- name: AVP_SECRET
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
source:
path: charts/centralidp
repoURL: 'https://github.com/eclipse-tractusx/portal-iam.git'
targetRevision: v2.0.0
targetRevision: v2.1.0-RC1
plugin:
env:
- name: AVP_SECRET
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
source:
path: charts/sharedidp
repoURL: 'https://github.com/eclipse-tractusx/portal-iam.git'
targetRevision: v2.0.0
targetRevision: v2.1.0-RC1
plugin:
env:
- name: AVP_SECRET
Expand Down
2 changes: 1 addition & 1 deletion consortia/argocd-app-templates/sharedidp/appsetup-int.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
source:
path: charts/sharedidp
repoURL: 'https://github.com/eclipse-tractusx/portal-iam.git'
targetRevision: v2.0.0
targetRevision: v2.1.0-RC1
plugin:
env:
- name: AVP_SECRET
Expand Down
2 changes: 1 addition & 1 deletion consortia/argocd-app-templates/sharedidp/appsetup-pen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
source:
path: charts/sharedidp
repoURL: 'https://github.com/eclipse-tractusx/portal-iam.git'
targetRevision: v2.0.0
targetRevision: v2.1.0-RC1
plugin:
env:
- name: AVP_SECRET
Expand Down
2 changes: 1 addition & 1 deletion consortia/argocd-app-templates/sharedidp/appsetup-rc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
source:
path: charts/sharedidp
repoURL: 'https://github.com/eclipse-tractusx/portal-iam.git'
targetRevision: v2.0.0
targetRevision: v2.1.0-RC1
plugin:
env:
- name: AVP_SECRET
Expand Down
4 changes: 2 additions & 2 deletions consortia/argocd-app-templates/sharedidp/appsetup-stable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
source:
path: ''
repoURL: 'https://eclipse-tractusx.github.io/charts/dev'
targetRevision: 2.0.0
targetRevision: 2.1.0-RC1
plugin:
env:
- name: HELM_VALUES
Expand All @@ -56,7 +56,7 @@ spec:
mountPath: "/secrets"
initContainers:
- name: import
image: tractusx/portal-iam-consortia:v2.0.0
image: tractusx/portal-iam-consortia:v2.1.0-RC1
imagePullPolicy: Always
command:
- sh
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
source:
path: charts/sharedidp
repoURL: 'https://github.com/eclipse-tractusx/portal-iam.git'
targetRevision: v2.0.0
targetRevision: v2.1.0-RC1
plugin:
env:
- name: AVP_SECRET
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
source:
path: charts/sharedidp
repoURL: 'https://github.com/eclipse-tractusx/portal-iam.git'
targetRevision: v2.0.0
targetRevision: v2.1.0-RC1
plugin:
env:
- name: AVP_SECRET
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
source:
path: charts/sharedidp
repoURL: 'https://github.com/eclipse-tractusx/portal-iam.git'
targetRevision: v2.0.0
targetRevision: v2.1.0-RC1
plugin:
env:
- name: AVP_SECRET
Expand Down
Loading

0 comments on commit cee04eb

Please sign in to comment.