Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
k8s-argocd
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
k8s-let
k8s-argocd
Commits
14ab76bd
Commit
14ab76bd
authored
Dec 07, 2020
by
Bengt Giger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Installation as non root user improved
parent
368ac43f
Pipeline
#80711
passed with stage
in 12 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
2 deletions
+10
-2
ansible/README.md
ansible/README.md
+8
-1
ansible/roles/k8s-controller/defaults/main.yml
ansible/roles/k8s-controller/defaults/main.yml
+1
-1
ansible/roles/k8s-controller/tasks/main.yml
ansible/roles/k8s-controller/tasks/main.yml
+1
-0
No files found.
ansible/README.md
View file @
14ab76bd
...
...
@@ -10,7 +10,14 @@ Install/update some tools with this playbook run:
sudo ansible-playbook -l localhost pb_controlhost.yml
```
Binaries will be installed in
`/usr/local/bin`
. Tools installed:
Binaries will be installed in
`/usr/local/bin`
, or set the directory with
```
ansible-playbook -e "k8s_install_basedir=$HOME/bin,k8s_tarball_cache=$HOME/.cache/k8s_tarball -l localhost pb_controlhost.yml
```
Tools installed:
-
kubectl
-
argocd CLI
...
...
ansible/roles/k8s-controller/defaults/main.yml
View file @
14ab76bd
---
k8s_install_basedir
:
/usr/local/bin
k8s_tarball_cache
:
/
root
/.k8s_tool_tarballs
k8s_tarball_cache
:
/
tmp
/.k8s_tool_tarballs
k8s_sealedsecrets_controller_name
:
sealed-secrets
k8s_sealedsecrets_controller_namespace
:
kube-system
...
...
ansible/roles/k8s-controller/tasks/main.yml
View file @
14ab76bd
---
-
name
:
OS specific tasks
include_tasks
:
"
{{
ansible_os_family
|
lower
}}.yml"
when
:
ansible_user_id == "root"
-
name
:
Install kubectl
package
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment