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
49afd2cf
Commit
49afd2cf
authored
Oct 03, 2017
by
J. Fernando Sánchez
Browse files
Updated makefiles from senpy
parent
c1174189
Changes
1
Hide whitespace changes
Inline
Side-by-side
.makefiles/k8s.mk
View file @
49afd2cf
...
...
@@ -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 | envsubst |
$(KUBECTL)
apply
-f
-
@
ls
k8s/
*
.yaml k8s/
*
.yml k8s/
*
.tmpl 2>/dev/null
||
true
@
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
Supports
Markdown
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