fix: ensure the ingress class is properly set for certificate usage

Without this, switching to nginx ingress fails as the cluster issuer isn't properly configured
This commit is contained in:
Jose Diaz-Gonzalez committed 2024-02-12 01:31:39 -05:00
1 parent 433eb26f3c
commit abbc13cb85
2 files changed
+12 -10

No files matched your search

+1 -1
View File
@@ -351,7 +351,7 @@ func TriggerSchedulerDeploy(scheduler string, appName string, imageTag string) e
},
Namespace: namespace,
Network: GlobalNetwork{
IngressClass: common.PropertyGetDefault("scheduler-k3s", "--global", "ingress-class", DefaultIngressClass),
IngressClass: getGlobalIngressClass(),
PrimaryPort: primaryPort,
},
Secrets: map[string]string{},