Skip to content

Commit

Permalink
fix: #4
Browse files Browse the repository at this point in the history
  • Loading branch information
janosmiko committed Dec 31, 2022
1 parent 13e7b15 commit 89d15e2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ following from inside the directory where you have the config file for the clust
docker run --rm -it \
-v ${PWD}:/cluster \
-v ${HOME}/.ssh:/tmp/.ssh \
janosmiko/hetzner-k3s:v0.1.5 \
janosmiko/hetzner-k3s:v0.1.6 \
create-cluster \
--config-file /cluster/test.yaml
```
Expand Down
2 changes: 1 addition & 1 deletion internal/k3s/hetzner.go
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ spec:
- Persistent
fsGroupPolicy: File`

return fmt.Sprintf("kubectl delete -f - <<-EOF\n%s\nEOF", yaml)
return fmt.Sprintf("kubectl delete --ignore-not-found=true -f - <<-EOF\n%s\nEOF", yaml)
}

func (c *Client) deployHetznerClusterAutoscaler() error {
Expand Down
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ sonar.organization=janosmiko

# This is the name and version displayed in the SonarCloud UI.
sonar.projectName=hetzner-k3s
sonar.projectVersion=0.1.5
sonar.projectVersion=0.1.6

# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
#sonar.sources=.
Expand Down

0 comments on commit 89d15e2

Please sign in to comment.