Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
k8s-bootstrap
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
d7cb8617
authored
2022-03-29 13:56:47 -0500
by
Adam Heath
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Still trying to figure out the ssh permissions.
1 parent
e5be6c98
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
9 deletions
k8s-bootstrap.yaml
k8s-bootstrap.yaml
View file @
d7cb861
...
...
@@ -43,6 +43,22 @@ spec:
key
:
node-role.kubernetes.io/master
volumes
:
-
name
:
k8s-bootstrap-ssh-config
configMap
:
name
:
k8s-bootstrap-config
defaultMode
:
0600
items
:
-
name
:
SSH_CONFIG
path
:
config
-
name
:
k8s-bootstrap-ssh-auth
secret
:
secretName
:
cluster-ssh
defaultMode
:
0600
items
:
-
name
:
ssh-private-key
path
:
id
-
name
:
k8s-bootstrap-scripts
configMap
:
name
:
k8s-bootstrap-scripts
...
...
@@ -51,10 +67,6 @@ spec:
emptyDir
:
{}
-
name
:
git-storage
emptyDir
:
{}
-
name
:
cluster-ssh
secret
:
secretName
:
cluster-ssh
defaultMode
:
0600
initContainers
:
-
name
:
clone-k8s-start-of-day
...
...
@@ -67,13 +79,12 @@ spec:
mountPath
:
/tmp/k8s-bootstrap-scripts
-
name
:
cluster-home
mountPath
:
/tmp/cluster-home
-
name
:
cluster-ss
h
-
name
:
k8s-bootstrap-ssh-aut
h
mountPath
:
/tmp/cluster-home/.ssh/id
subPath
:
ssh-private-key
-
name
:
cluster-ssh
subPath
:
id
-
name
:
k8s-bootstrap-ssh-config
mountPath
:
/tmp/cluster-home/.ssh/config
subPath
:
SSH_CONFIG
mode
:
600
subPath
:
config
-
name
:
git-storage
mountPath
:
/tmp/git-storage
command
:
[
"
/tmp/k8s-bootstrap-scripts/clone-start-of-day"
]
...
...
Please
register
or
sign in
to post a comment