Skip to content

Commit

Permalink
Fix bad dex client reference (#41)
Browse files Browse the repository at this point in the history
* Fix bad dex client reference and update version in examples
  • Loading branch information
alfespa17 authored Jan 30, 2023
1 parent b6e768a commit 371acd0
Show file tree
Hide file tree
Showing 11 changed files with 35 additions and 34 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ sample-values-dev365-cognito-dex.yaml
sample-values-dev365-aws.yaml
sample-values-dev365-gcp.yaml
sample-values-dev365-gcp-dex.yaml
sample-values-dev365-dex-H2.yaml
secretFiles/*
!secretFiles/README.md
8 changes: 4 additions & 4 deletions examples/AzureAuthentication-Example1.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ dex:
## API properties
api:
enabled: true
version: "2.6.0"
version: "2.10.0"
replicaCount: "1"
serviceType: "ClusterIP"
properties:
Expand All @@ -91,7 +91,7 @@ api:
## Executor properties
executor:
enabled: true
version: "2.6.0"
version: "2.10.0"
replicaCount: "1"
serviceType: "ClusterIP"
properties:
Expand All @@ -101,14 +101,14 @@ executor:
## Registry properties
registry:
enabled: true
version: "2.6.0"
version: "2.10.0"
replicaCount: "1"
serviceType: "ClusterIP"

## UI Properties
ui:
enabled: true
version: "2.6.0"
version: "2.10.0"
replicaCount: "1"
serviceType: "ClusterIP"

Expand Down
8 changes: 4 additions & 4 deletions examples/AzureAuthentication-Example2.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ dex:
## API properties
api:
enabled: true
version: "2.6.0"
version: "2.10.0"
replicaCount: "1"
serviceType: "ClusterIP"
properties:
Expand All @@ -96,7 +96,7 @@ api:
## Executor properties
executor:
enabled: true
version: "2.6.0"
version: "2.10.0"
replicaCount: "1"
serviceType: "ClusterIP"
properties:
Expand All @@ -106,14 +106,14 @@ executor:
## Registry properties
registry:
enabled: true
version: "2.6.0"
version: "2.10.0"
replicaCount: "1"
serviceType: "ClusterIP"

## UI Properties
ui:
enabled: true
version: "2.6.0"
version: "2.10.0"
replicaCount: "1"
serviceType: "ClusterIP"

Expand Down
8 changes: 4 additions & 4 deletions examples/AzureAuthentication-Example3.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ dex:
## API properties
api:
enabled: true
version: "2.6.0"
version: "2.10.0"
replicaCount: "1"
serviceType: "ClusterIP"
properties:
Expand All @@ -96,7 +96,7 @@ api:
## Executor properties
executor:
enabled: true
version: "2.6.0"
version: "2.10.0"
replicaCount: "1"
serviceType: "ClusterIP"
properties:
Expand All @@ -106,14 +106,14 @@ executor:
## Registry properties
registry:
enabled: true
version: "2.6.0"
version: "2.10.0"
replicaCount: "1"
serviceType: "ClusterIP"

## UI Properties
ui:
enabled: true
version: "2.6.0"
version: "2.10.0"
replicaCount: "1"
serviceType: "ClusterIP"

Expand Down
8 changes: 4 additions & 4 deletions examples/AzureAuthentication-Example4.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ dex:
## API properties
api:
enabled: true
version: "2.6.0"
version: "2.10.0"
replicaCount: "1"
serviceType: "ClusterIP"
properties:
Expand All @@ -95,7 +95,7 @@ api:
## Executor properties
executor:
enabled: true
version: "2.6.0"
version: "2.10.0"
replicaCount: "1"
serviceType: "ClusterIP"
properties:
Expand All @@ -105,14 +105,14 @@ executor:
## Registry properties
registry:
enabled: true
version: "2.6.0"
version: "2.10.0"
replicaCount: "1"
serviceType: "ClusterIP"

## UI Properties
ui:
enabled: true
version: "2.6.0"
version: "2.10.0"
replicaCount: "1"
serviceType: "ClusterIP"

Expand Down
8 changes: 4 additions & 4 deletions examples/CognitoAuthentication-Example1.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ dex:
## API properties
api:
enabled: true
version: "2.6.0"
version: "2.10.0"
replicaCount: "1"
serviceType: "ClusterIP"
properties:
Expand All @@ -104,7 +104,7 @@ api:
## Executor properties
executor:
enabled: true
version: "2.6.0"
version: "2.10.0"
replicaCount: "1"
serviceType: "ClusterIP"
properties:
Expand All @@ -114,14 +114,14 @@ executor:
## Registry properties
registry:
enabled: true
version: "2.6.0"
version: "2.10.0"
replicaCount: "1"
serviceType: "ClusterIP"

## UI Properties
ui:
enabled: true
version: "2.6.0"
version: "2.10.0"
replicaCount: "1"
serviceType: "ClusterIP"

Expand Down
8 changes: 4 additions & 4 deletions examples/GithubAuthentication-Example1.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ dex:
## API properties
api:
enabled: true
version: "2.6.0"
version: "2.10.0"
replicaCount: "1"
serviceType: "ClusterIP"
properties:
Expand All @@ -89,7 +89,7 @@ api:
## Executor properties
executor:
enabled: true
version: "2.6.0"
version: "2.10.0"
replicaCount: "1"
serviceType: "ClusterIP"
properties:
Expand All @@ -99,14 +99,14 @@ executor:
## Registry properties
registry:
enabled: true
version: "2.6.0"
version: "2.10.0"
replicaCount: "1"
serviceType: "ClusterIP"

## UI Properties
ui:
enabled: true
version: "2.6.0"
version: "2.10.0"
replicaCount: "1"
serviceType: "ClusterIP"

Expand Down
8 changes: 4 additions & 4 deletions examples/GoogleAuthentication-Example1.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ dex:
## API properties
api:
enabled: true
version: "2.6.0"
version: "2.10.0"
replicaCount: "1"
serviceType: "ClusterIP"
properties:
Expand All @@ -117,7 +117,7 @@ api:
## Executor properties
executor:
enabled: true
version: "2.6.0"
version: "2.10.0"
replicaCount: "1"
serviceType: "ClusterIP"
properties:
Expand All @@ -127,14 +127,14 @@ executor:
## Registry properties
registry:
enabled: true
version: "2.6.0"
version: "2.10.0"
replicaCount: "1"
serviceType: "ClusterIP"

## UI Properties
ui:
enabled: true
version: "2.6.0"
version: "2.10.0"
replicaCount: "1"
serviceType: "ClusterIP"

Expand Down
8 changes: 4 additions & 4 deletions examples/GoogleAuthentication-Example2.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ dex:
## API properties
api:
enabled: true
version: "2.6.0"
version: "2.10.0"
replicaCount: "1"
serviceType: "ClusterIP"
properties:
Expand All @@ -122,7 +122,7 @@ api:
## Executor properties
executor:
enabled: true
version: "2.6.0"
version: "2.10.0"
replicaCount: "1"
serviceType: "ClusterIP"
properties:
Expand All @@ -132,14 +132,14 @@ executor:
## Registry properties
registry:
enabled: true
version: "2.6.0"
version: "2.10.0"
replicaCount: "1"
serviceType: "ClusterIP"

## UI Properties
ui:
enabled: true
version: "2.6.0"
version: "2.10.0"
replicaCount: "1"
serviceType: "ClusterIP"

Expand Down
2 changes: 1 addition & 1 deletion templates/secrets-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ stringData:
PatSecret: '{{ .Values.security.patSecret | b64enc }}'
InternalSecret: '{{ .Values.security.internalSecret | b64enc }}'
DexIssuerUri: '{{ .Values.security.dexIssuerUri }}'
DexClientId: '{{ .Values.registry.properties.DexClientId }}'
DexClientId: '{{ .Values.security.dexClientId }}'

DatasourceHostname: '{{ .Values.api.properties.databaseHostname }}'
DatasourceDatabase: '{{ .Values.api.properties.databaseName }}'
Expand Down
2 changes: 1 addition & 1 deletion templates/secrets-registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ stringData:
InternalSecret: '{{ .Values.security.internalSecret | b64enc }}'
TerrakubeEnableSecurity: 'true'
TerrakubeUiURL: 'https://{{ .Values.ingress.ui.domain }}'
AppClientId: '{{ .Values.registry.properties.DexClientId }}'
AppClientId: '{{ .Values.security.dexClientId }}'
AppIssuerUri: 'https://{{ .Values.ingress.api.domain }}/dex'

{{- if and (.Values.storage.azure).storageAccountName (.Values.storage.azure).storageAccountAccessKey }}
Expand Down

0 comments on commit 371acd0

Please sign in to comment.