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
01cd4cf1
Commit
01cd4cf1
authored
6 years ago
by
Đào Hoàng Sơn
Committed by
Antoine Legrand
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Remove vault role from inventory_builder. (#3863)
Related to
https://github.com/kubernetes-sigs/kubespray/pull/3684
parent
1712314f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
contrib/inventory_builder/inventory.py
+1
-2
1 addition, 2 deletions
contrib/inventory_builder/inventory.py
with
1 addition
and
2 deletions
contrib/inventory_builder/inventory.py
+
1
−
2
View file @
01cd4cf1
...
...
@@ -41,7 +41,7 @@ import re
import
sys
ROLES
=
[
'
all
'
,
'
kube-master
'
,
'
kube-node
'
,
'
etcd
'
,
'
k8s-cluster:children
'
,
'
calico-rr
'
,
'
vault
'
]
'
calico-rr
'
]
PROTECTED_NAMES
=
ROLES
AVAILABLE_COMMANDS
=
[
'
help
'
,
'
print_cfg
'
,
'
print_ips
'
,
'
load
'
]
_boolean_states
=
{
'
1
'
:
True
,
'
yes
'
:
True
,
'
true
'
:
True
,
'
on
'
:
True
,
...
...
@@ -250,7 +250,6 @@ class KubesprayInventory(object):
def
set_etcd
(
self
,
hosts
):
for
host
in
hosts
:
self
.
add_host_to_group
(
'
etcd
'
,
host
)
self
.
add_host_to_group
(
'
vault
'
,
host
)
def
load_file
(
self
,
files
=
None
):
'''
Directly loads JSON, or YAML file to inventory.
'''
...
...
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