mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2024-12-14 11:57:51 +00:00
helm: move files under deployment/helm
This commit is contained in:
parent
85c1410e18
commit
0f2554abf1
15 changed files with 7 additions and 7 deletions
4
Makefile
4
Makefile
|
@ -60,7 +60,7 @@ LDFLAGS = -ldflags "-s -w -X sigs.k8s.io/node-feature-discovery/pkg/version.vers
|
|||
yaml_templates := $(wildcard *.yaml.template)
|
||||
# Let's treat values.yaml as template to sync configmap
|
||||
# and allow users to install without modifications
|
||||
yaml_templates := $(yaml_templates) deployment/node-feature-discovery/values.yaml
|
||||
yaml_templates := $(yaml_templates) deployment/helm/node-feature-discovery/values.yaml
|
||||
yaml_instances := $(patsubst %.yaml.template,%.yaml,$(yaml_templates))
|
||||
|
||||
all: image
|
||||
|
@ -145,7 +145,7 @@ mdlint:
|
|||
find docs/ -path docs/vendor -prune -false -o -name '*.md' | xargs $(MDL) -s docs/mdl-style.rb
|
||||
|
||||
helm-lint:
|
||||
helm lint --strict deployment/node-feature-discovery/
|
||||
helm lint --strict deployment/helm/node-feature-discovery/
|
||||
|
||||
test:
|
||||
$(GO_CMD) test ./cmd/... ./pkg/...
|
||||
|
|
|
@ -157,7 +157,7 @@ repository and install from there.
|
|||
|
||||
```bash
|
||||
git clone https://github.com/kubernetes-sigs/node-feature-discovery/
|
||||
cd node-feature-discovery/deployment
|
||||
cd node-feature-discovery/deployment/helm
|
||||
export NFD_NS=node-feature-discovery
|
||||
helm install node-feature-discovery ./node-feature-discovery/ --namespace $NFD_NS --create-namespace
|
||||
```
|
||||
|
|
|
@ -103,12 +103,12 @@ if [ -z "$assets_only" ]; then
|
|||
|
||||
# Patch Helm chart
|
||||
echo "Patching Helm chart"
|
||||
sed -e s"/appVersion:.*/appVersion: $release/" -i deployment/node-feature-discovery/Chart.yaml
|
||||
sed -e s"/appVersion:.*/appVersion: $release/" -i deployment/helm/node-feature-discovery/Chart.yaml
|
||||
sed -e s"/pullPolicy:.*/pullPolicy: IfNotPresent/" \
|
||||
-e s"!gcr.io/k8s-staging-nfd/node-feature-discovery!k8s.gcr.io/nfd/node-feature-discovery!" \
|
||||
-i deployment/node-feature-discovery/values.yaml
|
||||
-i deployment/helm/node-feature-discovery/values.yaml
|
||||
sed -e s"!kubernetes-sigs.github.io/node-feature-discovery/master!kubernetes-sigs.github.io/node-feature-discovery/$docs_version!" \
|
||||
-i deployment/node-feature-discovery/README.md
|
||||
-i deployment/helm/node-feature-discovery/README.md
|
||||
|
||||
# Patch e2e test
|
||||
echo Patching test/e2e/node_feature_discovery.go flag defaults to k8s.gcr.io/nfd/node-feature-discovery and $release
|
||||
|
@ -120,7 +120,7 @@ fi
|
|||
#
|
||||
# Create release assets to be uploaded
|
||||
#
|
||||
helm package deployment/node-feature-discovery/ --version $semver
|
||||
helm package deployment/helm/node-feature-discovery/ --version $semver
|
||||
|
||||
chart_name="node-feature-discovery-chart-$semver.tgz"
|
||||
mv node-feature-discovery-$semver.tgz $chart_name
|
||||
|
|
Loading…
Reference in a new issue