make tools deployment proxy server optional

This commit is contained in:
Ryan Richard
2025-03-06 11:02:24 -08:00
parent a7a3016ae5
commit 6133276555
2 changed files with 6 additions and 2 deletions

View File

@@ -1,7 +1,8 @@
#! Copyright 2020-2023 the Pinniped contributors. All Rights Reserved. #! Copyright 2020-2025 the Pinniped contributors. All Rights Reserved.
#! SPDX-License-Identifier: Apache-2.0 #! SPDX-License-Identifier: Apache-2.0
#@ load("@ytt:data", "data") #@ load("@ytt:data", "data")
#@ if data.values.deploy_proxy:
--- ---
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
@@ -75,3 +76,4 @@ spec:
ports: ports:
- port: 3128 - port: 3128
nodePort: #@ data.values.ports.node nodePort: #@ data.values.ports.node
#@ end

View File

@@ -1,4 +1,4 @@
#! Copyright 2020-2024 the Pinniped contributors. All Rights Reserved. #! Copyright 2020-2025 the Pinniped contributors. All Rights Reserved.
#! SPDX-License-Identifier: Apache-2.0 #! SPDX-License-Identifier: Apache-2.0
#@data/values #@data/values
@@ -16,6 +16,8 @@ ports:
#! our Kind configuration which maps 127.0.0.1:12346 to port 31235 on the Kind worker node. #! our Kind configuration which maps 127.0.0.1:12346 to port 31235 on the Kind worker node.
local: 12346 local: 12346
#! deploy_proxy deploys the proxy server when true.
deploy_proxy: true
#! dex_issuer_hostname can be used to provide Dex with a DNS record or IP address for its hostname, #! dex_issuer_hostname can be used to provide Dex with a DNS record or IP address for its hostname,
#! which is used to construct an issuer uri and create a certificate to serve TLS. #! which is used to construct an issuer uri and create a certificate to serve TLS.