-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add config to portal, iam and discoveryfinder and update docs (#60
) * feat: add tls and ingress config to portal and idps * chore: adjust license header year * docs: self-signed TLS in readme * chore: add discoveryfinder ingress to values file * chore: bump chart version * chore: fix comment format in values.yaml * chore: fix centralidp and sharedidp setup * docs: update chart readme and chart description * chore: add portal config and keycloak themes and fix discoveryfinder config --------- Co-authored-by: Evelyn Gurschler <[email protected]>
- Loading branch information
1 parent
64d6f68
commit cb58054
Showing
5 changed files
with
509 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{{- /* | ||
* Copyright (c) 2024 Contributors to the Eclipse Foundation | ||
* | ||
* See the NOTICE file(s) distributed with this work for additional | ||
* information regarding copyright ownership. | ||
* | ||
* This program and the accompanying materials are made available under the | ||
* terms of the Apache License, Version 2.0 which is available at | ||
* https://www.apache.org/licenses/LICENSE-2.0. | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | ||
* License for the specific language governing permissions and limitations | ||
* under the License. | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/}} | ||
|
||
{{- if .Values.centralidp.enabled -}} | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: centralidp-spi | ||
namespace: {{ .Release.Namespace }} | ||
type: Opaque | ||
# use lookup function to check if secret exists | ||
{{- $secret := (lookup "v1" "Secret" .Release.Namespace "centralidp-spi") }} | ||
{{ if $secret -}} | ||
data: | ||
# if secret exists, use value provided from values file (to cover update scenario) or existing value from secret | ||
# use data map instead of stringData to prevent base64 encoding of already base64-encoded existing value from secret | ||
# use index function for secret keys with hyphen otherwise '$secret.data.secretKey' works too | ||
spi-truststore-password: {{ ( .Values.centralidp.secrets.auth.spi.truststorePassword | b64enc ) | default ( index $secret.data "spi-truststore-password" ) | quote }} | ||
{{ else -}} | ||
stringData: | ||
# if secret doesn't exist, use provided value from values file or generate a random one | ||
spi-truststore-password: {{ ( .Values.centralidp.secrets.auth.spi.truststorePassword | b64enc ) | default ( randAlphaNum 32 | quote ) }} | ||
{{ end }} | ||
{{- end -}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{{- /* | ||
* Copyright (c) 2024 Contributors to the Eclipse Foundation | ||
* | ||
* See the NOTICE file(s) distributed with this work for additional | ||
* information regarding copyright ownership. | ||
* | ||
* This program and the accompanying materials are made available under the | ||
* terms of the Apache License, Version 2.0 which is available at | ||
* https://www.apache.org/licenses/LICENSE-2.0. | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | ||
* License for the specific language governing permissions and limitations | ||
* under the License. | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/}} | ||
|
||
{{- if .Values.sharedidp.enabled -}} | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: sharedidp-spi | ||
namespace: {{ .Release.Namespace }} | ||
type: Opaque | ||
# use lookup function to check if secret exists | ||
{{- $secret := (lookup "v1" "Secret" .Release.Namespace "sharedidp-spi") }} | ||
{{ if $secret -}} | ||
data: | ||
# if secret exists, use value provided from values file (to cover update scenario) or existing value from secret | ||
# use data map instead of stringData to prevent base64 encoding of already base64-encoded existing value from secret | ||
# use index function for secret keys with hyphen otherwise '$secret.data.secretKey' works too | ||
spi-truststore-password: {{ ( .Values.sharedidp.secrets.auth.spi.truststorePassword | b64enc ) | default ( index $secret.data "spi-truststore-password" ) | quote }} | ||
{{ else -}} | ||
stringData: | ||
# if secret doesn't exist, use provided value from values file or generate a random one | ||
spi-truststore-password: {{ ( .Values.sharedidp.secrets.auth.spi.truststorePassword | b64enc ) | default ( randAlphaNum 32 | quote ) }} | ||
{{ end }} | ||
{{- end -}} |
Oops, something went wrong.