
The below PS has manifests files related to capm3, bmo and ironic for v0.5.0 versions. Relates-To: #518 #558 #560 Change-Id: Id9240320bc8dec32d5e5384c39e26ba04f55f9bd
66 lines
1.5 KiB
YAML
66 lines
1.5 KiB
YAML
# These rules inject env vars into the baremetal-operator function.
|
|
apiVersion: airshipit.org/v1alpha1
|
|
kind: ReplacementTransformer
|
|
metadata:
|
|
name: ironic-deployment-env-vars-replacements
|
|
annotations:
|
|
config.kubernetes.io/function: |-
|
|
container:
|
|
image: localhost/replacement-transformer
|
|
replacements:
|
|
# Replace the proxy vars
|
|
- source:
|
|
objref:
|
|
name: env-vars-catalogue
|
|
fieldref: env.HTTP_PROXY
|
|
target:
|
|
objref:
|
|
kind: ConfigMap
|
|
name: ironic-bmo-configmap
|
|
fieldrefs: ["data.HTTP_PROXY"]
|
|
- source:
|
|
objref:
|
|
name: env-vars-catalogue
|
|
fieldref: env.HTTPS_PROXY
|
|
target:
|
|
objref:
|
|
kind: ConfigMap
|
|
name: ironic-bmo-configmap
|
|
fieldrefs: ["data.HTTPS_PROXY"]
|
|
- source:
|
|
objref:
|
|
name: env-vars-catalogue
|
|
fieldref: env.http_proxy
|
|
target:
|
|
objref:
|
|
kind: ConfigMap
|
|
name: ironic-bmo-configmap
|
|
fieldrefs: ["data.http_proxy"]
|
|
- source:
|
|
objref:
|
|
name: env-vars-catalogue
|
|
fieldref: env.https_proxy
|
|
target:
|
|
objref:
|
|
kind: ConfigMap
|
|
name: ironic-bmo-configmap
|
|
fieldrefs: ["data.https_proxy"]
|
|
- source:
|
|
objref:
|
|
name: env-vars-catalogue
|
|
fieldref: env.NO_PROXY
|
|
target:
|
|
objref:
|
|
kind: ConfigMap
|
|
name: ironic-bmo-configmap
|
|
fieldrefs: ["data.NO_PROXY"]
|
|
- source:
|
|
objref:
|
|
name: env-vars-catalogue
|
|
fieldref: env.no_proxy
|
|
target:
|
|
objref:
|
|
kind: ConfigMap
|
|
name: ironic-bmo-configmap
|
|
fieldrefs: ["data.no_proxy"]
|