Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kubespray
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Kubespray
Commits
46ba6a41
Commit
46ba6a41
authored
5 years ago
by
Maxime Guyot
Committed by
Kubernetes Prow Robot
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
ansible-lint: when lines should not include Jinja2 variables (#4496)
parent
d8cbbc41
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.ansible-lint
+0
-1
0 additions, 1 deletion
.ansible-lint
roles/kubernetes-apps/helm/tasks/gen_helm_tiller_certs.yml
+3
-4
3 additions, 4 deletions
roles/kubernetes-apps/helm/tasks/gen_helm_tiller_certs.yml
with
3 additions
and
5 deletions
.ansible-lint
+
0
−
1
View file @
46ba6a41
...
...
@@ -4,7 +4,6 @@ skip_list:
# see https://docs.ansible.com/ansible-lint/rules/default_rules.html for a list of all default rules
# The following rules throw errors.
# These either still need to be corrected in the repository and the rules re-enabled or they are skipped on purpose.
- '102'
- '103'
- '104'
- '201'
...
...
This diff is collapsed.
Click to expand it.
roles/kubernetes-apps/helm/tasks/gen_helm_tiller_certs.yml
+
3
−
4
View file @
46ba6a41
...
...
@@ -50,10 +50,9 @@
-
name
:
"
Check_helm_client_certs
|
Set
'sync_helm_certs'
to
true
on
masters"
set_fact
:
sync_helm_certs
:
true
when
:
inventory_hostname != groups['kube-master'][0] and
(not item in helmcert_node.files | map(attribute='path') | map("basename") | list or
helmcert_node.files | selectattr("path", "equalto", "{{ helm_home_dir }}/{{ item }}") | map(attribute="checksum")|first|default('') != helmcert_master.files | selectattr("path", "equalto", "{{ helm_home_dir }}/{{ item }}") | map(attribute="checksum")|first|default(''))
sync_helm_certs
:
(not item in helmcert_node.files | map(attribute='path') | map("basename") | list or helmcert_node.files | selectattr("path", "equalto", "{{ helm_home_dir }}/{{ item }}") | map(attribute="checksum")|first|default('') != helmcert_master.files | selectattr("path", "equalto", "{{ helm_home_dir }}/{{ item }}") | map(attribute="checksum")|first|default(''))
when
:
-
inventory_hostname != groups['kube-master'][0]
with_items
:
-
"
{{
helm_client_certs
}}"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment