Skip to content

Commit

Permalink
Add value for allowed API server request origins (#31)
Browse files Browse the repository at this point in the history
* Add value for allowed API server request origins

Signed-off-by: Eamonn Mansour <[email protected]>

* Bump galasaVersion to 0.34.0

Signed-off-by: Eamonn Mansour <[email protected]>

---------

Signed-off-by: Eamonn Mansour <[email protected]>
  • Loading branch information
eamansour authored Jun 7, 2024
1 parent 3599566 commit 524334f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 2 additions & 0 deletions charts/ecosystem/templates/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ spec:
value: {{ include "ecosystem.host.url" . }}/api
- name: GALASA_USERNAME_CLAIMS
value: {{ join "," .Values.dex.usernameClaims | quote }}
- name: GALASA_ALLOWED_ORIGINS
value: {{ join "," .Values.allowedOrigins | quote }}
- name: GALASA_RAS_TOKEN
valueFrom:
secretKeyRef:
Expand Down
15 changes: 14 additions & 1 deletion charts/ecosystem/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ externalHostname: "example.com"
# The version of Galasa you want to run with, it is better that you do not use "latest" to ensure
# all the components are running the same version and a controlled upgrade can be performed
#
galasaVersion: "0.33.0"
galasaVersion: "0.34.0"
#
#
# The container registry the Galasa images can be found in
Expand Down Expand Up @@ -75,6 +75,19 @@ dexImage: "ghcr.io/dexidp/dex:v2.38.0"
kubectlImage: "bitnami/kubectl:1.28"
#
#
# A list of origins that are allowed to receive responses from the Galasa API server.
# To limit the origins to a set of domains, you can use a wildcard (*) value.
#
# For example, to allow all subdomains of example.com, you can use the following value:
# allowedOrigins:
# - "*.example.com"
#
# By default, all origins are allowed.
#
allowedOrigins:
- "*"
#
#
# Values to enable and configure the use of ingress
# Note: The externalHostname value must be a valid DNS name for ingress to be used.
#
Expand Down

0 comments on commit 524334f

Please sign in to comment.