Skip to content

Commit e6d8556

Browse files
authored
Merge pull request #324 from projectsyn/feat/multi-version
Make component multi-version aware
2 parents 7461418 + 54b0460 commit e6d8556

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

class/defaults.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ parameters:
33
=_metadata:
44
multi_instance: true
55
multi_tenant: true
6+
multi_version: true
67
# make lookup table constant to prevent changes to it through the hierarchy
78
=_enable_pg_chart:
89
# This lookup table controls whether to enable the chart depending on the value of `keycloak.database.provider`

class/keycloak.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,30 +5,30 @@ parameters:
55
source: ${keycloak:charts:keycloakx:source}
66
chart_name: keycloakx
77
version: ${keycloak:charts:keycloakx:version}
8-
output_path: dependencies/keycloak/helmcharts/keycloakx/${keycloak:charts:keycloakx:version}
8+
output_path: ${_base_directory}/helmcharts/keycloakx/${keycloak:charts:keycloakx:version}
99
- type: helm
1010
source: ${keycloak:charts:postgresql:source}
1111
chart_name: postgresql
1212
version: ${keycloak:charts:postgresql:version}
13-
output_path: dependencies/keycloak/helmcharts/postgresql/${keycloak:charts:postgresql:version}
13+
output_path: ${_base_directory}/helmcharts/postgresql/${keycloak:charts:postgresql:version}
1414
compile:
1515
- input_paths:
16-
- keycloak/component/app.jsonnet
16+
- ${_base_directory}/component/app.jsonnet
1717
input_type: jsonnet
1818
output_path: .
1919
- input_paths:
20-
- keycloak/component/main.jsonnet
20+
- ${_base_directory}/component/main.jsonnet
2121
input_type: jsonnet
2222
output_path: ${_instance}
2323
- input_paths:
24-
- keycloak/component/prometheus-netpol.jsonnet
24+
- ${_base_directory}/component/prometheus-netpol.jsonnet
2525
input_type: jsonnet
2626
output_path: ${_instance}
2727
- output_path: ${_instance}/01_keycloak_helmchart
2828
input_type: helm
2929
output_type: yaml
3030
input_paths:
31-
- keycloak/helmcharts/keycloakx/${keycloak:charts:keycloakx:version}
31+
- ${_base_directory}/helmcharts/keycloakx/${keycloak:charts:keycloakx:version}
3232
helm_params:
3333
name: keycloakx
3434
namespace: "${keycloak:namespace}"
@@ -37,7 +37,7 @@ parameters:
3737
input_type: helm
3838
output_type: yaml
3939
input_paths:
40-
- keycloak/helmcharts/postgresql/${keycloak:charts:postgresql:version}
40+
- ${_base_directory}/helmcharts/postgresql/${keycloak:charts:postgresql:version}
4141
helm_params:
4242
name: keycloak
4343
namespace: "${keycloak:namespace}"

0 commit comments

Comments
 (0)