-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change from commands helm to k8s module: metrics-server
- Install Helm plugin diff to ignore the following warning: [WARNING]: The default idempotency check can fail to report changes in certain cases. Install helm diff >= 3.4.1 for better results. - Know issue for the warning: [WARNING]: Module did not set no_log for pass_credentials - ansible-collections/kubernetes.core#412 Signed-off-by: flavono123 <flavono123@gmail.com>
- Loading branch information
1 parent
96fcc6c
commit 5a2c7a9
Showing
2 changed files
with
13 additions
and
2 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,13 @@ | ||
- name: Add Helm repository metrics-server | ||
become: yes | ||
command: helm repo add metrics-server https://kubernetes-sigs.github.io/metrics-server/ | ||
kubernetes.core.helm_repository: | ||
name: metrics-server | ||
repo_url: https://kubernetes-sigs.github.io/metrics-server/ | ||
|
||
- name: Install Helm chart metrics-server | ||
become: yes | ||
command: helm upgrade --install metrics-server metrics-server/metrics-server -n kube-system | ||
kubernetes.core.helm: | ||
state: present | ||
name: metrics-server | ||
chart_ref: metrics-server/metrics-server | ||
release_namespace: kube-system |