Skip to content
This repository was archived by the owner on Apr 18, 2024. It is now read-only.

Commit d1a5d6d

Browse files
authored
Merge pull request #1085 from flanksource/orphan-nginx
fix: orphan nginx instead of deleting
2 parents 819941d + ec6acd1 commit d1a5d6d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pkg/phases/nginx/install.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ var Defaults = map[string]string{
3030

3131
func Install(platform *platform.Platform) error {
3232
if platform.Nginx != nil && platform.Nginx.Disabled {
33-
if err := platform.DeleteSpecs(v1.NamespaceAll, "nginx.yaml", "nginx-oauth.yaml"); err != nil {
34-
platform.Warnf("failed to delete specs: %v", err)
35-
}
3633
return nil
3734
}
3835

0 commit comments

Comments
 (0)