Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alp Deniz Ogut
Pod
Commits
cc2fdd98
Commit
cc2fdd98
authored
3 years ago
by
Muhammad Bilal
Browse files
Options
Download
Email Patches
Plain Diff
added pod labels and modified kaniko image
parent
3ed1832a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/plugin_run.rs
+4
-2
src/plugin_run.rs
with
4 additions
and
2 deletions
+4
-2
src/plugin_run.rs
+
4
-
2
View file @
cc2fdd98
...
...
@@ -192,10 +192,12 @@ fn run_kubernetes_container(
new_random_string
(
8
)
);
let
mut
args
:
Vec
<
String
>
=
Vec
::
with_capacity
(
9
);
let
s
=
container_id
.clone
();
args
.push
(
"run"
.to_string
());
args
.push
(
"--restart=Never"
.to_string
());
args
.push
(
container_id
);
args
.push
(
format!
(
"--labels=app={},type=plugin"
,
container_id
.clone
()));
args
.push
(
s
.clone
());
args
.push
(
format!
(
"--labels=app={},type=plugin"
,
s
.clone
()));
args
.push
(
"--port=8080"
.to_string
());
args
.push
(
format!
(
"--image={}"
,
container_image
));
args
.push
(
format!
(
"--env=POD_FULL_ADDRESS={}"
,
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets