-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: added keycloak support * chore: removed temp files * fix: empty string * chore: ingress disabled by default
- Loading branch information
Showing
28 changed files
with
150 additions
and
151 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,4 +19,4 @@ dependencies: | |
repository: "file://../common" | ||
tags: | ||
- moja-common | ||
version: 2.1.0 | ||
version: 3.0.0 |
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 |
---|---|---|
|
@@ -13,4 +13,4 @@ dependencies: | |
repository: "file://../common" | ||
tags: | ||
- moja-common | ||
version: 2.1.0 | ||
version: 3.0.0 |
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 |
---|---|---|
|
@@ -13,4 +13,4 @@ dependencies: | |
repository: "file://../common" | ||
tags: | ||
- moja-common | ||
version: 2.1.0 | ||
version: 3.0.0 |
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,59 @@ | ||
{{/* | ||
Get fully qualified keto name. | ||
*/}} | ||
{{- define "common.backends.keycloak.fullname" -}} | ||
{{- if .Values.keycloak -}} | ||
{{- if .Values.keycloak.fullnameOverride -}} | ||
{{- .Values.keycloak.fullnameOverride | trunc 63 | trimSuffix "-" -}} | ||
{{- else -}} | ||
{{- $name := default "wso2" .Values.keycloak.nameOverride -}} | ||
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} | ||
{{- end -}} | ||
{{- else -}} | ||
{{- $name := default "wso2" .Values.keycloak.nameOverride -}} | ||
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} | ||
{{- end -}} | ||
{{- end -}} | ||
|
||
{{/* | ||
Get keycloak url. | ||
*/}} | ||
{{- define "common.backends.keycloak.url" -}} | ||
{{- default "http://keycloak:8080" (default .Values.global.keycloak.url .Values.keycloak.url) -}} | ||
{{- end -}} | ||
|
||
{{/* | ||
Get keycloak username. | ||
*/}} | ||
{{- define "common.backends.keycloak.user" -}} | ||
{{- default "admin" (default .Values.global.keycloak.user .Values.keycloak.user) -}} | ||
{{- end -}} | ||
|
||
{{/* | ||
Get keycloak password. | ||
*/}} | ||
{{- define "common.backends.keycloak.password" -}} | ||
{{- default "admin" (default .Values.global.keycloak.password .Values.keycloak.password) -}} | ||
{{- end -}} | ||
|
||
{{/* | ||
Get keycloak realm. | ||
*/}} | ||
{{- define "common.backends.keycloak.realm" -}} | ||
{{- default "master" (default .Values.global.keycloak.realm .Values.keycloak.realm) -}} | ||
{{- end -}} | ||
|
||
{{/* | ||
Get keycloak secret.name | ||
*/}} | ||
{{- define "common.backends.keycloak.secret.name" -}} | ||
{{- default "" (default .Values.global.keycloak.secret.name .Values.keycloak.secret.name) -}} | ||
{{- end -}} | ||
|
||
{{/* | ||
Get keycloak secret.key | ||
*/}} | ||
{{- define "common.backends.keycloak.secret.key" -}} | ||
{{- default "" (default .Values.global.keycloak.secret.key .Values.keycloak.secret.key) -}} | ||
{{- end -}} | ||
|
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -19,4 +19,4 @@ dependencies: | |
repository: "file://../common" | ||
tags: | ||
- moja-common | ||
version: 2.1.0 | ||
version: 3.0.0 |
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 |
---|---|---|
|
@@ -17,4 +17,4 @@ dependencies: | |
repository: "file://../common" | ||
tags: | ||
- moja-common | ||
version: 2.1.0 | ||
version: 3.0.0 |
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 |
---|---|---|
|
@@ -17,4 +17,4 @@ dependencies: | |
repository: "file://../common" | ||
tags: | ||
- moja-common | ||
version: 2.1.0 | ||
version: 3.0.0 |
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 |
---|---|---|
|
@@ -17,4 +17,4 @@ dependencies: | |
repository: "file://../common" | ||
tags: | ||
- moja-common | ||
version: 2.1.0 | ||
version: 3.0.0 |
Oops, something went wrong.