Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specifying relative paths to the values within the parameters? #90

Open
narun4sk opened this issue Apr 18, 2020 · 0 comments
Open

Specifying relative paths to the values within the parameters? #90

narun4sk opened this issue Apr 18, 2020 · 0 comments

Comments

@narun4sk
Copy link

Given the following:

parameters:
  elasticsearch:
    image: "quay.io/pires/docker-elasticsearch-kubernetes:5.5.0"
    java_opts: "-Xms512m -Xmx512m"
    replicas: 1
    masters: 1
    roles:
      master:
        image: ${elasticsearch:image}

Instead of specifying ${elasticsearch:image} I would like to be able to use a relative path, something similar to ${...:image}.

Hence:

  • ${.:key_name} - looks up key_name in the local context (here all keys within master)
  • ${..:key_name} - looks up key_name in the context one level up (here all keys within roles)
  • etc...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant