Skip to content

Commit 18000bd

Browse files
committed
helm: specify icon
Use the favicon image that was lately added to the documentation. Also, update the prepare-release script to take the icon from the release.
1 parent e1a7461 commit 18000bd

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

deployment/helm/node-feature-discovery/Chart.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
apiVersion: v2
22
appVersion: master
3+
icon: https://kubernetes-sigs.github.io/node-feature-discovery/master/assets/images/nfd/favicon.svg
34
description: |
45
Detects hardware features available on each node in a Kubernetes cluster, and advertises
56
those features using node labels.

hack/prepare-release.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,9 @@ if [ -z "$no_patching" ]; then
131131

132132
# Patch Helm chart
133133
echo "Patching Helm chart"
134-
sed -e s"/appVersion:.*/appVersion: $release/" -i deployment/helm/node-feature-discovery/Chart.yaml
134+
sed -e s"/appVersion:.*/appVersion: $release/" \
135+
-e s"!icon:.*!icon: https://kubernetes-sigs.github.io/node-feature-discovery/$docs_version/assets/images/nfd/favicon.svg!" \
136+
-i deployment/helm/node-feature-discovery/Chart.yaml
135137
sed -e s"/pullPolicy:.*/pullPolicy: IfNotPresent/" \
136138
-e s"!gcr.io/k8s-staging-nfd/node-feature-discovery!registry.k8s.io/nfd/node-feature-discovery!" \
137139
-i deployment/helm/node-feature-discovery/values.yaml

0 commit comments

Comments
 (0)