-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Furyctl validated correctly but furyctl apply
reports missing values
#211
Comments
You are using an outaded distro and furyctl version, you should update to the latest. Apart from that, in the ingress module certManager must be configured, even if the nginx is none. ingress:
baseDomain: internal.example.dev
# configurations for the nginx ingress controller package
nginx:
# type defines if the nginx should be configured as single or dual (internal + external) or none, with none no ingress controller will be deployed and also no ingress resource will be created
type: none
# the tls section defines how the tls for the ingresses should be managed
tls:
# provider can be certManager, secret
provider: certManager
# configuration for the cert-manager package
certManager:
# the configuration for the clusterIssuer that will be created
clusterIssuer:
# the name of the clusterIssuer
name: letsencrypt-fury
# the email used during issuing procedures
email: [email protected]
# you can configure the clusterIssuer by specifing type (can be only http01) or custom solvers
type: http01 |
The fury version should be v1.27.5 and the furyctl version should be 0.28.0 |
Hi Samuele, In this scenario, I'm operating in a cluster that may not have internet connectivity in the future and no ports exposed on the internet. |
Back to the original issue, |
I can reproduce the error on KFD 1.31.0. relevant parts of the apiVersion: kfd.sighup.io/v1alpha2
kind: OnPremises
metadata:
name: multipass
spec:
distributionVersion: v1.31.0
kubernetes:
...
distribution:
modules:
networking:
type: cilium
cilium:
maskSize: "23"
ingress:
baseDomain: example.com
nginx:
type: none
#certManager:
#clusterIssuer:
#name: letsencrypt-fury
#email: [email protected]
#type: http01
logging:
type: none
monitoring:
type: none
policy:
type: none
dr:
type: none
tracing:
type: none
auth:
provider:
type: none Output of applying the on-prem cluster with the previous configuration: ❯ furyctl apply
INFO Downloading distribution...
INFO Validating configuration file...
INFO Downloading dependencies...
INFO Running preflight checks...
INFO Checking that the cluster is reachable...
INFO Preflight checks completed successfully
INFO Running preupgrade phase...
INFO Preupgrade phase completed successfully
INFO Installing Kubernetes Fury Distribution...
INFO Checking that the cluster is reachable...
INFO Checking storage classes...
WARN No storage classes found in the cluster. logging module (if enabled), tracing module (if enabled), dr module (if enabled) and prometheus-operated package installation will be skipped. You need to install a StorageClass and re-run furyctl to install the missing components.
ERRO error while creating cluster: error while executing cluster creation: error while executing distribution phase: error while executing phase: error preparing distribution phase: error copying from template: error generating from template files: error applying templates: error processing template: template: cert-manager-clusterissuer.yml.tpl:44:17: executing "cert-manager-clusterissuer.yml.tpl" at <.spec.distribution.modules.ingress.certManager.clusterIssuer.solvers>: map has no entry for key "solvers" filePath: /var/folders/lb/zscvwt_s6fx6qdrfv4g51dsc0000gn/T/furyctl-3641834751/data/templates/distribution/manifests/ingress/resources/cert-manager-clusterissuer.yml.tpl cert-manager's configuration is not required by the schema. |
Scenario
I have a
furyctl.yaml
file for an OnPremises installation, which currently needs the CNI only:I made sure everything was okay by validating the config
But then, when running the apply, I got the following error:
I also tried setting the parameter
--force all
but the error persists.The text was updated successfully, but these errors were encountered: