Last active
October 6, 2022 07:50
-
-
Save b44rawat/f78b51130f4660580feab325fbdba7b5 to your computer and use it in GitHub Desktop.
Ansible: Helm diff plugin [ First description ]
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: Setup | |
hosts: all | |
become: true | |
tasks: | |
- name: Install Helm Diff | |
kubernetes.core.helm_plugin: | |
plugin_path: "https://github.com/databus23/helm-diff" | |
state: present | |
- name: Add Chart repo for kubernetes | |
kubernetes.core.helm_repository: | |
repo_name: "nginx-stable" | |
repo_url: "https://helm.nginx.com/stable" | |
repo_state: present | |
- name: Create Nginx Ingress Controller deployment | |
kubernetes.core.helm: | |
release_name: nginx-ingress | |
chart_ref: "nginx-stable/nginx-ingress" | |
chart_version: "0.14.0" | |
release_namespace: nginx-ingress | |
create_namespace: yes | |
release_state: present | |
values: | |
controller: | |
service: | |
create: true | |
type: NodePort |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment