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.
 
 
 
 

23 lines
715 B

# These rules take artifactory-specific data out of the subcluster catalogue,
# and overwrites it into the networking catalogue
# as well as some (TODO) catalogue that feeds into subcluster NodePorts
apiVersion: airshipit.org/v1alpha1
kind: ReplacementTransformer
metadata:
name: lma-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.lma.kubernetes}"
target:
objref:
kind: NetworkCatalogue
name: networking
fieldrefs: ["{.spec.kubernetes}"]