Browse Source
* move ssh key creation to a folder * add knownhost file to /dev/null * add cleanup script * add gitignore Signed-off-by: Sreejith Punnapuzha <Sreejith.Punnapuzha@outlook.com> Change-Id: Ie34c7db34ecdbea9d06709eebeffc398c0a662c8changes/63/769963/4
3 changed files with 50 additions and 3 deletions
@ -0,0 +1,28 @@
|
||||
# Binaries for programs and plugins |
||||
*.exe |
||||
*.exe~ |
||||
*.dll |
||||
*.so |
||||
*.dylib |
||||
bin/ |
||||
|
||||
# Test binary, build with `go test -c` |
||||
*.test |
||||
*.example |
||||
|
||||
# Output of the go coverage tool |
||||
*.out |
||||
.coverage/ |
||||
|
||||
# Various user specific files |
||||
.DS_Store |
||||
.idea/ |
||||
.vimrc |
||||
*.swp |
||||
.vscode/ |
||||
|
||||
# Sphinx build venv |
||||
.tox/ |
||||
|
||||
# Generated SSH key folder |
||||
ssh/ |
@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env bash |
||||
# Licensed under the Apache License, Version 2.0 (the "License"); |
||||
# you may not use this file except in compliance with the License. |
||||
# You may obtain a copy of the License at |
||||
# |
||||
# http://www.apache.org/licenses/LICENSE-2.0 |
||||
# |
||||
# Unless required by applicable law or agreed to in writing, software |
||||
# distributed under the License is distributed on an "AS IS" BASIS, |
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||
# See the License for the specific language governing permissions and |
||||
# limitations under the License. |
||||
|
||||
set -xe |
||||
|
||||
kind delete cluster --name hostconfig |
||||
sudo docker rmi -f $(sudo docker images --all -q | xargs -I{} sudo bash -c 'if docker image inspect {} | grep -q kind; then echo {} ; fi') |
||||
rm -rf ssh |
Loading…
Reference in new issue