Skip to content

Commit 14da674

Browse files
authored
Merge pull request #2292 from marquiz/devel/helm-icon
helm: specify icon
2 parents e1a7461 + 18000bd commit 14da674

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)