Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
9fd23b21
Unverified
Commit
9fd23b21
authored
Feb 12, 2019
by
Kubernetes Prow Robot
Committed by
GitHub
Feb 12, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #73980 from pjh/delete-rdp-firewall-rule
Delete RDP firewall rule during kube-down.
parents
2aedcbc7
06372523
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
util.sh
cluster/gce/util.sh
+2
-0
No files found.
cluster/gce/util.sh
View file @
9fd23b21
...
...
@@ -2247,6 +2247,7 @@ function delete-all-firewall-rules() {
fi
}
# Ignores firewall rule arguments that do not exist in NETWORK_PROJECT.
function
delete-firewall-rules
()
{
for
fw
in
$@
;
do
if
[[
-n
$(
gcloud compute firewall-rules
--project
"
${
NETWORK_PROJECT
}
"
describe
"
${
fw
}
"
--format
=
'value(name)'
2>/dev/null
||
true
)
]]
;
then
...
...
@@ -3139,6 +3140,7 @@ function kube-down() {
"
${
CLUSTER_NAME
}
-default-internal-master"
\
"
${
CLUSTER_NAME
}
-default-internal-node"
\
"
${
NETWORK
}
-default-ssh"
\
"
${
NETWORK
}
-default-rdp"
\
"
${
NETWORK
}
-default-internal"
# Pre-1.5 clusters
if
[[
"
${
KUBE_DELETE_NETWORK
}
"
==
"true"
]]
;
then
...
...
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