Skip to content

Commit

Permalink
Fix wrong key in Keycloak configuration and env variable secret
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas Bigler <[email protected]>
  • Loading branch information
TheBigLee committed Jul 22, 2024
1 parent fbe36c8 commit 150e9a7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions apis/vshn/v1/dbaas_vshn_keycloak.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,13 +124,13 @@ type VSHNKeycloakServiceSpec struct {
// CustomConfigurationRef can be used to provide a configmap containing configurations for the
// keycloak instance. The config is a JSON file based on the keycloak export files.
// The referenced configmap, must have the configuration in a field called `keycloak-config.json`
CustomConfigurationRef *string `json:"configuration,omitempty"`
CustomConfigurationRef *string `json:"customConfigurationRef,omitempty"`

// CustomEnvVariablesRef can be used to provide custom environment variables from a
// provided secret for the keycloak instance. The environment variables provided
// can for example be used in the custom JSON configuration provided in the `Configuration`
// field with `$(env:<ENV_VAR_NAME>:-<some_default_value>)`
CustomEnvVariablesRef *string `json:"customEnvVariables,omitempty"`
CustomEnvVariablesRef *string `json:"customEnvVariablesRef,omitempty"`
}

type VSHNKeycloakCustomizationImage struct {
Expand Down
4 changes: 2 additions & 2 deletions crds/vshn.appcat.vshn.io_vshnkeycloaks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4836,13 +4836,13 @@ spec:
service:
description: Service contains keycloak DBaaS specific properties
properties:
configuration:
customConfigurationRef:
description: |-
CustomConfigurationRef can be used to provide a configmap containing configurations for the
keycloak instance. The config is a JSON file based on the keycloak export files.
The referenced configmap, must have the configuration in a field called `keycloak-config.json`
type: string
customEnvVariables:
customEnvVariablesRef:
description: |-
CustomEnvVariablesRef can be used to provide custom environment variables from a
provided secret for the keycloak instance. The environment variables provided
Expand Down
4 changes: 2 additions & 2 deletions crds/vshn.appcat.vshn.io_xvshnkeycloaks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5558,13 +5558,13 @@ spec:
service:
description: Service contains keycloak DBaaS specific properties
properties:
configuration:
customConfigurationRef:
description: |-
CustomConfigurationRef can be used to provide a configmap containing configurations for the
keycloak instance. The config is a JSON file based on the keycloak export files.
The referenced configmap, must have the configuration in a field called `keycloak-config.json`
type: string
customEnvVariables:
customEnvVariablesRef:
description: |-
CustomEnvVariablesRef can be used to provide custom environment variables from a
provided secret for the keycloak instance. The environment variables provided
Expand Down

0 comments on commit 150e9a7

Please sign in to comment.