Skip to content

Commit

Permalink
remove hubble addonconfig
Browse files Browse the repository at this point in the history
Signed-off-by: Karol Szwaj <karol@kubermatic.com>
  • Loading branch information
cnvergence committed Dec 5, 2023
1 parent 5c43768 commit 7f5a134
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 62 deletions.
15 changes: 0 additions & 15 deletions addons/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,6 @@ DOCKER_REPO ?= "quay.io/kubermatic"
docker:
docker build -t $(DOCKER_REPO)/addons:$(TAG) .

.PHONY: hubble
hubble: OUTPUT_FILE=hubble/hubble_v1.12.yaml
hubble:
helm repo add cilium https://helm.cilium.io/ || true
helm repo update
cat hubble/_header.txt > $(OUTPUT_FILE)
helm template cilium cilium/cilium \
--version 1.12.2 \
--namespace kube-system \
--values values-hubble.yaml \
>> $(OUTPUT_FILE)
cat hubble/_extras.txt >> $(OUTPUT_FILE)
cat hubble/_footer.txt >> $(OUTPUT_FILE)
./templatify-images.sh $(OUTPUT_FILE)

.PHONY: aws-node-termination-handler
aws-node-termination-handler: OUTPUT_FILE=aws-node-termination-handler/aws-node-termination-handler.yaml
aws-node-termination-handler:
Expand Down
31 changes: 0 additions & 31 deletions addons/values-hubble.yaml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@ var (

//go:embed static/node-exporter.svg
nodeExporterLogo []byte

//go:embed static/hubble.png
hubbleLogo []byte
)

const (
Expand All @@ -57,7 +54,6 @@ func AddonConfigsReconcilers() []reconciling.NamedAddonConfigReconcilerFactory {
makeReconciler(kubeflowAddonConfig),
makeReconciler(multusAddonConfig),
makeReconciler(nodeExporterAddonConfig),
makeReconciler(hubbleAddonConfig),
}
}

Expand Down Expand Up @@ -213,14 +209,3 @@ func nodeExporterAddonConfig() *kubermaticv1.AddonConfig {

return config
}

func hubbleAddonConfig() *kubermaticv1.AddonConfig {
config := &kubermaticv1.AddonConfig{}
config.Name = "hubble"
config.Spec.Description = "Hubble UI provides networking observability interface for clusters with Cilium CNI."
config.Spec.ShortDescription = "Hubble UI for Cilium CNI"
config.Spec.Logo = base64Encode(hubbleLogo)
config.Spec.LogoFormat = pngFormat

return config
}
Binary file not shown.
1 change: 0 additions & 1 deletion pkg/defaulting/configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ var (
"node-exporter",
"kube-state-metrics",
"multus",
"hubble",
"metallb",
}

Expand Down

0 comments on commit 7f5a134

Please sign in to comment.