Skip to content

Instantly share code, notes, and snippets.

@dfilppi
Created September 25, 2015 22:49
Show Gist options
  • Save dfilppi/fe2372d8287ef56214bb to your computer and use it in GitHub Desktop.
Save dfilppi/fe2372d8287ef56214bb to your computer and use it in GitHub Desktop.
nodecellar:
type: cloudify.kubernetes.Microservice
properties:
config_path: service.yaml
config_overrides:
- { concat: ["['spec']['containers'][0]['ports'][0]['hostIP']=","'",{ get_property: [ master, ip]},"'"] }
- { concat: ["['spec']['containers'][0]['env'][0]['value']=","'",{ get_input: host_ip},"'"] }
- { concat: ["['spec']['containers'][0]['env'][1]['value']=","'",{ get_property: [ mongod1, port]},"'"] }
relationships:
- type: cloudify.kubernetes.relationships.connected_to_master
target: master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment