Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Commit c9eec95

Browse files
authored
Merge pull request #66 from jetstack/make-kube-oidc-configurable
Make kube-oidc-proxy's image configurable
2 parents 9440811 + 2b915f9 commit c9eec95

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

demo/manifests/components/kube-oidc-proxy.jsonnet

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
local kube = import '../vendor/kube-prod-runtime/lib/kube.libsonnet';
22
local utils = import '../vendor/kube-prod-runtime/lib/utils.libsonnet';
33

4-
local KUBE_OIDC_PROXY_IMAGE = 'quay.io/jetstack/kube-oidc-proxy:v0.1.0';
54
local CONFIG_PATH = '/etc/kube-oidc-proxy';
65
local READINESS_PORT = 8080;
76

@@ -12,6 +11,8 @@ local READINESS_PORT = 8080;
1211

1312
app:: 'kube-oidc-proxy',
1413

14+
image:: 'quay.io/jetstack/kube-oidc-proxy:v0.1.0',
15+
1516
name:: $.p + $.app,
1617

1718
domain:: $.name + '.' + $.base_domain,
@@ -95,7 +96,7 @@ local READINESS_PORT = 8080;
9596
serviceAccountName: $.serviceAccount.metadata.name,
9697
containers_+: {
9798
kubeOIDCProxy: kube.Container($.app) {
98-
image: KUBE_OIDC_PROXY_IMAGE,
99+
image: $.image,
99100

100101
ports_+: {
101102
serving: { containerPort: $.config.secureServing.port },

0 commit comments

Comments
 (0)