Skip to content

Commit 37b460a

Browse files
update advice for --prune flag (sourcegraph#783)
* update advice for --prune flag Co-authored-by: uwedeportivo <[email protected]>
1 parent 59fd466 commit 37b460a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

kubectl-apply-all.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
# This file should be run:
66
# * When the cluster is first created
77
# * Whenever the configuration for any resource has been updated
8-
8+
#
9+
# The --prune flag is destructive and should always be used
10+
# in conjunction with -f base and -l deploy=sourcegraph. Otherwise, it will delete all resources
11+
# previously created by create or apply that are not specified in the command.
12+
#
913
# Apply the base Soucegraph deployment
1014
kubectl apply --prune -l deploy=sourcegraph -f base --recursive $@

0 commit comments

Comments
 (0)