Skip to content

Commit 96d8e7b

Browse files
OlegErshovnexus49
andauthored
feat: added organization-idp deployment
* feat: introduced oci-repository arg On-behalf-of: SAP [email protected] * feat: added organization idp component On-behalf-of: SAP [email protected] * updated components version On-behalf-of: SAP [email protected] * fix: changed enabled from false to true On-behalf-of: SAP [email protected] * updated tests On-behalf-of: SAP [email protected] * updated documentation On-behalf-of: SAP [email protected] * feat: added flag for skipping helm-release creation On-behalf-of: SAP [email protected] --------- Co-authored-by: Bastian Echterhölter <[email protected]>
1 parent 48bd0db commit 96d8e7b

File tree

5 files changed

+39
-4
lines changed

5 files changed

+39
-4
lines changed

charts/platform-mesh-operator-components/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ apiVersion: v2
22
name: platform-mesh-operator-components
33
description: A Helm chart for Kubernetes
44
type: application
5-
version: 0.27.0
5+
version: 0.27.1
66
appVersion: "0.0.0"

charts/platform-mesh-operator-components/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,10 @@ A Helm chart for Kubernetes
204204
| services.openfga.values.telemetry.trace.enabled | bool | `true` | |
205205
| services.openfga.values.telemetry.trace.otlp.endpoint | string | `"observability-opentelemetry-collector.openmfp-observability.svc.cluster.local:4317"` | |
206206
| services.openfga.values.telemetry.trace.otlp.tls.enabled | bool | `false` | |
207+
| services.organization-idp.dependsOn[0].name | string | `"keycloak"` | |
208+
| services.organization-idp.dependsOn[0].namespace | string | `"default"` | |
209+
| services.organization-idp.enabled | bool | `true` | |
210+
| services.organization-idp.skipHelmRelease | bool | `true` | |
207211
| services.portal.dependsOn[0].name | string | `"istio-istiod"` | |
208212
| services.portal.dependsOn[0].namespace | string | `"default"` | |
209213
| services.portal.enabled | bool | `false` | |

charts/platform-mesh-operator-components/templates/helmreleases.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{{ $values := .Values }}
22
{{- range $service, $config := .Values.services }}
3-
{{- if and $config.enabled -}}
3+
{{- if and $config.enabled (not $config.skipHelmRelease) -}}
44
apiVersion: helm.toolkit.fluxcd.io/v2
55
kind: HelmRelease
66
metadata:

charts/platform-mesh-operator-components/tests/__snapshot__/application_test.yaml.snap

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -894,6 +894,31 @@ it should render the application manifests:
894894
name: chart
895895
skipVerify: true
896896
30: |
897+
apiVersion: delivery.ocm.software/v1alpha1
898+
kind: Resource
899+
metadata:
900+
labels:
901+
artifact: chart
902+
repo: oci
903+
name: organization-idp
904+
spec:
905+
componentRef:
906+
name: platform-mesh
907+
interval: 3m
908+
ocmConfig:
909+
- apiVersion: delivery.ocm.software/v1alpha1
910+
kind: Repository
911+
name: platform-mesh
912+
namespace: default
913+
resource:
914+
byReference:
915+
referencePath:
916+
- name: test
917+
- name: organization-idp
918+
resource:
919+
name: chart
920+
skipVerify: true
921+
31: |
897922
apiVersion: delivery.ocm.software/v1alpha1
898923
kind: Resource
899924
metadata:
@@ -918,7 +943,7 @@ it should render the application manifests:
918943
resource:
919944
name: chart
920945
skipVerify: true
921-
31: |
946+
32: |
922947
apiVersion: delivery.ocm.software/v1alpha1
923948
kind: Resource
924949
metadata:
@@ -943,7 +968,7 @@ it should render the application manifests:
943968
resource:
944969
name: chart
945970
skipVerify: true
946-
32: |
971+
33: |
947972
apiVersion: delivery.ocm.software/v1alpha1
948973
kind: Resource
949974
metadata:

charts/platform-mesh-operator-components/values.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,12 @@ services:
431431
dependsOn:
432432
- name: istio-istiod
433433
namespace: default
434+
organization-idp:
435+
enabled: true
436+
skipHelmRelease: true
437+
dependsOn:
438+
- name: keycloak
439+
namespace: default
434440
iam-service:
435441
enabled: false
436442
dependsOn:

0 commit comments

Comments
 (0)