Skip to content

Commit

Permalink
fix: set networking ingress disabled by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Simone Bruzzese committed Aug 1, 2024
1 parent 4c484ba commit 27ceeac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 5 additions & 0 deletions defaults/ekscluster-kfd-v1alpha2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,11 @@ data:
overrides:
nodeSelector: null
tolerations: null
ingresses:
hubble:
disableAuth: false
host: ""
ingressClass: ""
cilium:
podCidr: "dummy" # cilium not used yet on EKS
maskSize: "dummy" # cilium not used yet on EKS
Expand Down
3 changes: 0 additions & 3 deletions templates/distribution/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -213,9 +213,6 @@ cert-manager.io/cluster-issuer: {{ .spec.distribution.modules.ingress.certManage
{{- template "ingressHostAuth" (dict "module" "auth" "package" "gangplank" "prefix" "gangplank." "spec" .) -}}
{{ end }}

{{ if eq .spec.distribution.common.provider.type "none" }}{{/* none == on-prem */}}
{{/* we need to define this template only when provider is not EKS, otherwise the template engine fails because of missing paramaters. */}}
{{ define "hubbleUrl" }}
{{- template "ingressHost" (dict "module" "networking" "package" "hubble" "prefix" "hubble." "spec" .) -}}
{{ end }}
{{ end }}

0 comments on commit 27ceeac

Please sign in to comment.