Skip to content

Commit

Permalink
Add helm values for the new functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
tunacicek committed Aug 22, 2023
1 parent 589f2ea commit 907df22
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 3 deletions.
2 changes: 2 additions & 0 deletions backend/src/main/resources/application-local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,7 @@ spring:
web-allow-others: true

registry:
external-subject-id-wildcard-prefix: PUBLIC_READABLE
external-subject-id-wildcard-allowed-types:
idm:
owningTenantId: TENANT_ONE
4 changes: 2 additions & 2 deletions backend/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ spring:
registry:
# This wildcard prefix is used to make specificAssetIds public vor everyone.
# The default-value "PUBLIC_READABLE" is used by all catenaX participants.
external-subject-id-wildcard-prefix: "PUBLIC_READABLE"
external-subject-id-wildcard-allowed-types: manufacturerPartId, assetLifecyclePhase
external-subject-id-wildcard-prefix: PUBLIC_READABLE
external-subject-id-wildcard-allowed-types:
idm:
public-client-id: catenax-portal

Expand Down
2 changes: 1 addition & 1 deletion backend/src/test/resources/application-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ spring:

registry:
external-subject-id-wildcard-prefix: "PUBLIC_READABLE"
external-subject-id-wildcard-allowed-types: manufacturerPartId
external-subject-id-wildcard-allowed-types: manufacturerPartId,assetLifecyclePhase
idm:
owning-tenant-id: TENANT_ONE

Expand Down
3 changes: 3 additions & 0 deletions charts/registry/templates/registry/registry-secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,6 @@ data:
{{- end }}
REGISTRY_IDM_PUBLIC_CLIENT_ID: {{ .Values.registry.idpClientId | b64enc }}
REGISTRY_IDM_OWNING_TENANT_ID: {{ .Values.registry.tenantId | b64enc }}
REGISTRY_EXTERNAL_SUBJECT_ID_WILDCARD_PREFIX: {{ .Values.registry.externalSubjectIdWildcardPrefix | b64enc }}
REGISTRY_EXTERNAL_SUBJECT_ID_WILDCARD_ALLOWED_TYPES: {{ .Values.registry.externalSubjectIdWildcardAllowedTypes | b64enc }}

2 changes: 2 additions & 0 deletions charts/registry/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ registry:
idpIssuerUri: ""
idpClientId: default-client
tenantId: default-tenant
externalSubjectIdWildcardPrefix: PUBLIC_READABLE
externalSubjectIdWildcardAllowedTypes: manufacturerPartId,assetLifecyclePhase
service:
port: 8080
type: ClusterIP
Expand Down

0 comments on commit 907df22

Please sign in to comment.