Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
senpy
senpy
Commits
2ca9d36f
Commit
2ca9d36f
authored
Sep 28, 2017
by
J. Fernando Sánchez
Browse files
Merge branch 'senpy' into 'master'
K8s changes in senpy See merge request docs/templates/makefiles!2
parents
3bba29fc
921d7f23
Changes
1
Hide whitespace changes
Inline
Side-by-side
k8s.mk
View file @
2ca9d36f
...
...
@@ -42,7 +42,8 @@ info: ## Print variables. Useful for debugging.
deploy
:
##
Deploy to kubernetes using the credentials in KUBE_CA_PEM_FILE (or KUBE_CA_BUNDLE ) and TOKEN
@
cat
k8s/
{
*
.yaml,
*
.yml,
*
.tmpl
}
| envsubst |
$(KUBECTL)
apply
-f
-
@
ls
k8s/
@
cat
k8s/
*
.yaml k8s/
*
.yml k8s/
*
.tmpl 2>/dev/null | envsubst |
$(KUBECTL)
apply
-f
-
deploy-check
:
##
Get the deployed configuration.
@
$(KUBECTL)
get deploy,pods,svc,ingress
...
...
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