From fba09f5337e94a82f6793c09404f1220b1f88b12 Mon Sep 17 00:00:00 2001 From: ansgarz Date: Sat, 12 Mar 2022 17:41:49 +0100 Subject: [PATCH] [skip ci] cleanup apple --- .../domaindrivenarchitecture/provs/server/domain/k3s/Types.kt | 1 - .../domaindrivenarchitecture/provs/server/infrastructure/K3s.kt | 2 -- 2 files changed, 3 deletions(-) diff --git a/src/main/kotlin/org/domaindrivenarchitecture/provs/server/domain/k3s/Types.kt b/src/main/kotlin/org/domaindrivenarchitecture/provs/server/domain/k3s/Types.kt index 7fbc2be..20df1ba 100644 --- a/src/main/kotlin/org/domaindrivenarchitecture/provs/server/domain/k3s/Types.kt +++ b/src/main/kotlin/org/domaindrivenarchitecture/provs/server/domain/k3s/Types.kt @@ -1,6 +1,5 @@ package org.domaindrivenarchitecture.provs.server.domain.k3s typealias Reprovision = Boolean -typealias Apple = Boolean typealias Echo = Boolean typealias Email = String \ No newline at end of file diff --git a/src/main/kotlin/org/domaindrivenarchitecture/provs/server/infrastructure/K3s.kt b/src/main/kotlin/org/domaindrivenarchitecture/provs/server/infrastructure/K3s.kt index 9ef43b2..274c3a2 100644 --- a/src/main/kotlin/org/domaindrivenarchitecture/provs/server/infrastructure/K3s.kt +++ b/src/main/kotlin/org/domaindrivenarchitecture/provs/server/infrastructure/K3s.kt @@ -18,7 +18,6 @@ private const val k3sTraefikWorkaround = k3sManualManifestsDir + "traefik.yaml" private const val certManagerDeployment = k3sManualManifestsDir + "certmanager.yaml" private const val certManagerIssuer = k3sManualManifestsDir + "issuer.yaml" private const val selfsignedCertificate = k3sManualManifestsDir + "selfsigned-certificate.yaml" -private const val k3sApple = k3sManualManifestsDir + "apple.yaml" private const val k3sEcho = k3sManualManifestsDir + "echo.yaml" private const val k3sInstall = "/usr/local/bin/k3s-install.sh" @@ -37,7 +36,6 @@ fun Prov.provisionK3sInfra(k3sConfig: K3sConfig) = task { fun Prov.deprovisionK3sInfra() = task { deleteFile(k3sInstall, sudo = true) - deleteFile(k3sApple, sudo = true) deleteFile(certManagerDeployment, sudo = true) deleteFile(certManagerIssuer, sudo = true) cmd("k3s-uninstall.sh")