Reference Airship manifests, CICD, and reference architecture.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

20 lines
527 B

apiVersion: airshipit.org/v1alpha1
kind: ReplacementTransformer
metadata:
name: wordpress-subcluster-networking
annotations:
config.kubernetes.io/function: |-
container:
image: localhost/replacement-transformer
replacements:
# Replace Kubernetes networking info
- source:
objref:
kind: VariableCatalogue
name: subcluster-networking
fieldref: "{.spec.wordpress.kubernetes}"
target:
objref:
kind: NetworkCatalogue
name: networking
fieldrefs: ["{.spec.kubernetes}"]