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
351a40fc
authored
2022-03-29 12:52:42 -0500
by
Adam Heath
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Add the actual git clone command, and change the status container
slightly.
1 parent
f91be1fc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
k8s-bootstrap.yaml
k8s-bootstrap.yaml
View file @
351a40f
...
...
@@ -9,6 +9,8 @@ data:
#!/bin/sh
set -ex
GIT_SSH_COMMAND="ssh -i /tmp/cluster-ssh/ssh-private-key"
# FIXME: don't hard-code this.
git clone git@gitlab.brainfood.com:brainfood/k8s-start-of-day.git /tmp/git-storage/k8s-start-of-day
---
apiVersion
:
batch/v1
kind
:
Job
...
...
@@ -55,7 +57,7 @@ spec:
containers
:
-
name
:
show-status
image
:
bash
command
:
[
"
bash"
,
"
-ex"
,
"
ls
-
l
/tmp/git-storage
"
]
command
:
[
"
bash"
,
"
-ex"
,
"
ls
-
al
/tmp
"
]
volumeMounts
:
-
name
:
git-storage
mountPath
:
/tmp/git-storage
...
...
Please
register
or
sign in
to post a comment