Skip to content

Commit

Permalink
add dex override
Browse files Browse the repository at this point in the history
  • Loading branch information
mjudeikis committed Apr 1, 2024
1 parent 88c36a2 commit 678f368
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions contrib/tilt/Tiltfile
Original file line number Diff line number Diff line change
Expand Up @@ -320,14 +320,17 @@ k8s_resource(
k8s_yaml(read_file('coredns.yaml'))

dexEnabled = True
namespace_create('idp')
helm_remote(
'dex',
repo_url='https://faroshq.github.io/dex-helm-charts/',
repo_name='dex-faroshq',
release_name='dex',
namespace='idp',
version='0.15.3-7',
values=['dex-values.yaml'],
set=[]
)
if dexEnabled:
dexConfig = os.getenv("DEX_CONFIG_OVERRIDE", "dex-values.yaml")
print("Using DEX config:"+ dexConfig)
namespace_create('idp')
helm_remote(
'dex',
repo_url='https://faroshq.github.io/dex-helm-charts/',
repo_name='dex-faroshq',
release_name='dex',
namespace='idp',
version='0.15.3-7',
values=[dexConfig],
set=[]
)

0 comments on commit 678f368

Please sign in to comment.