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
f91be1fc
authored
2022-03-29 12:41:14 -0500
by
Adam Heath
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Fix name of cluster-ssh secret.
1 parent
0169e3e6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
k8s-bootstrap.yaml
k8s-bootstrap.yaml
View file @
f91be1f
...
...
@@ -8,7 +8,7 @@ data:
clone-start-of-day
:
|
#!/bin/sh
set -ex
GIT_SSH_COMMAND="ssh -i /tmp/cluster-ssh
-key
/ssh-private-key"
GIT_SSH_COMMAND="ssh -i /tmp/cluster-ssh/ssh-private-key"
---
apiVersion
:
batch/v1
kind
:
Job
...
...
@@ -35,9 +35,9 @@ spec:
defaultMode
:
0755
-
name
:
git-storage
emptyDir
:
{}
-
name
:
cluster-ssh
-key
-
name
:
cluster-ssh
secret
:
secretName
:
cluster-ssh
-key
secretName
:
cluster-ssh
defaultMode
:
0600
initContainers
:
...
...
@@ -46,8 +46,8 @@ spec:
volumeMounts
:
-
name
:
k8s-bootstrap
mountPath
:
/tmp/k8s-bootstrap
-
name
:
cluster-ssh
-key
mountPath
:
/tmp/cluster-ssh
-key
-
name
:
cluster-ssh
mountPath
:
/tmp/cluster-ssh
-
name
:
git-storage
mountPath
:
/tmp/git-storage
command
:
[
"
/tmp/k8s-bootstrap/clone-start-of-day"
]
...
...
Please
register
or
sign in
to post a comment