Skip to content

Commit

Permalink
fix keycloak temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
tapas4java committed Sep 25, 2024
1 parent d741e5e commit 7694641
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 12 deletions.
2 changes: 1 addition & 1 deletion pkg/cmd/create/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ var (

var CreateCmd = &cobra.Command{
Use: "create",
Short: "Create an Adhar IDP cluster",
Short: "Create an Adhar IDP cluster, Aliases: up",
Long: ``,
RunE: create,
PreRunE: preCreateE,
Expand Down
2 changes: 1 addition & 1 deletion pkg/cmd/delete/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var (

var DeleteCmd = &cobra.Command{
Use: "delete",
Short: "Delete an Adhar IDP cluster",
Short: "Delete an Adhar IDP cluster, Aliases: down",
Long: ``,
RunE: deleteE,
PreRunE: preDeleteE,
Expand Down
7 changes: 4 additions & 3 deletions pkg/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ import (
)

var rootCmd = &cobra.Command{
Use: "adhar",
Short: "Adhar CLI",
Long: "Adhar Internal Developer Platform - The Open Foundation!",
Use: "adhar",
Short: "Adhar CLI",
Long: "Adhar Internal Developer Platform - The Open Foundation!",
Aliases: []string{"a", "ad"},
}

func init() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1271,7 +1271,7 @@ data:
- email
- groups
nodeEvents:
enabled: false
# enabled: false
kind: ConfigMap
metadata:
name: workflow-controller-configmap
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ spec:
POSTGRES_PORT: '5432'
POSTGRES_DB: backstage
POSTGRES_USER: backstage
POSTGRES_PASSWORD: "{{.POSTGRES_PASSWORD}}"
POSTGRES_PASSWORD: password #"{{.POSTGRES_PASSWORD}}"
ARGO_WORKFLOWS_URL: https://{{ .Values.networking.host }}:{{ .Values.networking.port }}/argo-workflows
KEYCLOAK_NAME_METADATA: https://{{ .Values.networking.host }}:{{ .Values.networking.port }}/keycloak/realms/cnoe/.well-known/openid-configuration
KEYCLOAK_CLIENT_SECRET: "{{.BACKSTAGE_CLIENT_SECRET}}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ spec:
cnoe.io/package-name: keycloak
engineVersion: v2
data:
KEYCLOAK_ADMIN_PASSWORD: "{{.KEYCLOAK_ADMIN_PASSWORD}}"
KEYCLOAK_ADMIN_PASSWORD: password #"{{.KEYCLOAK_ADMIN_PASSWORD}}"
KC_DB_USERNAME: keycloak
KC_DB_PASSWORD: "{{.KC_DB_PASSWORD}}"
KC_DB_PASSWORD: password #"{{.KC_DB_PASSWORD}}"
POSTGRES_DB: keycloak
POSTGRES_USER: keycloak
POSTGRES_PASSWORD: "{{.KC_DB_PASSWORD}}"
USER_PASSWORD: "{{.USER_PASSWORD}}"
POSTGRES_PASSWORD: password #"{{.KC_DB_PASSWORD}}"
USER_PASSWORD: password #"{{.USER_PASSWORD}}"
dataFrom:
- sourceRef:
generatorRef:
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/e2e.go
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ func TestArgoCDEndpoints(ctx context.Context, t *testing.T, baseUrl string) {
err = SendAndParse(ctx, &appResp, httpClient, req)
assert.Nil(t, err, fmt.Sprintf("getting argocd applications: %s", err))

assert.Equal(t, 3, len(appResp.Items), fmt.Sprintf("number of apps do not match: %v", appResp.Items))
assert.Equal(t, 9, len(appResp.Items), fmt.Sprintf("number of apps do not match: %v", appResp.Items))
}

func GetBasicAuth(ctx context.Context, name string) (BasicAuth, error) {
Expand Down

0 comments on commit 7694641

Please sign in to comment.