Last active
April 20, 2019 19:39
-
-
Save jbek7/599eff5d76dab2e25457f18100108c2d to your computer and use it in GitHub Desktop.
Ansible K8S ConfigMap generation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: Generate configmap k8s | |
template: src=templates/configmap.yaml dest=.k8s/configmap-output.yaml | |
vars: | |
- a_config_path: "config/a-config.yaml" | |
- b_config_path: "config/b-config.yaml" | |
- name: Apply configmap | |
k8s: | |
state: present | |
src: .k8s/configmap-output.yaml | |
.... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment