a65a7e155b
Relates-To: #524 Signed-off-by: Sean Eagan <seaneagan1@gmail.com> Change-Id: I7e811835ae1e5ab2cab65c398c53126f3a632405
33 lines
813 B
YAML
33 lines
813 B
YAML
apiVersion: airshipit.org/v1alpha1
|
|
kind: Templater
|
|
metadata:
|
|
name: env-vars-template
|
|
labels:
|
|
airshipit.org/deploy-k8s: "false"
|
|
annotations:
|
|
config.kubernetes.io/function: |-
|
|
container:
|
|
image: localhost/templater
|
|
envs:
|
|
- HTTP_PROXY
|
|
- HTTPS_PROXY
|
|
- http_proxy
|
|
- https_proxy
|
|
- NO_PROXY
|
|
- no_proxy
|
|
template: |
|
|
---
|
|
apiVersion: airshipit.org/v1alpha1
|
|
kind: VariableCatalogue
|
|
metadata:
|
|
labels:
|
|
airshipit.org/deploy-k8s: "false"
|
|
name: env-vars-catalogue
|
|
env:
|
|
HTTP_PROXY: '{{ env "HTTP_PROXY" }}'
|
|
HTTPS_PROXY: '{{ env "HTTPS_PROXY" }}'
|
|
http_proxy: '{{ env "http_proxy" }}'
|
|
https_proxy: '{{ env "https_proxy" }}'
|
|
NO_PROXY: '{{ env "NO_PROXY" }}'
|
|
no_proxy: '{{ env "no_proxy" }}'
|