Skip to content

Commit

Permalink
fix: for helm issues (#206)
Browse files Browse the repository at this point in the history
* fix for helm issues

Signed-off-by: Alex Jones <alexsimonjones@gmail.com>

* updated to include flagD in helm packaging

Signed-off-by: Alex Jones <alexsimonjones@gmail.com>

* updated to include flagD in helm packaging

Signed-off-by: Alex Jones <alexsimonjones@gmail.com>

* Update kustomization.yaml

Signed-off-by: Alex Jones <alexsimonjones@gmail.com>

* Update Chart.yaml

Signed-off-by: Alex Jones <alexsimonjones@gmail.com>

* removed chart that shouldnt be there

Signed-off-by: Alex Jones <alexsimonjones@gmail.com>

Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
  • Loading branch information
AlexsJones authored Nov 2, 2022
1 parent 698a109 commit 39febd7
Show file tree
Hide file tree
Showing 25 changed files with 723 additions and 767 deletions.
16 changes: 6 additions & 10 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ uninstall: manifests kustomize ## Uninstall CRDs from the K8s cluster specified
.PHONY: release-manifests
release-manifests: manifests kustomize
cd config/manager && $(KUSTOMIZE) edit set image controller=${IMG}
mkdir config/rendered/
mkdir -p config/rendered/
$(KUSTOMIZE) build config/default > config/rendered/release.yaml

.PHONY: deploy
Expand Down Expand Up @@ -166,13 +166,9 @@ $(HELM): $(LOCALBIN)
[ -e "$(HELM)" ] && rm -rf "$(HELM)" || true
cd $(LOCALBIN) && curl -s $(HELM_INSTALLER) | tar -xzf - -C $(LOCALBIN)

HELMIFY = $(shell pwd)/bin/helmify
helmify:
GOBIN=$(LOCALBIN) go install github.com/arttor/helmify/cmd/helmify@v0.3.7

generate-helm: manifests kustomize helmify
$(KUSTOMIZE) build config/default | $(HELMIFY) chart

helm-package: helm generate-helm
$(HELM) package chart --version $(CHART_VERSION)
helm-package: generate release-manifests helm
cp config/rendered/release.yaml chart/templates/rendered.yaml
$(HELM) package --version $(CHART_VERSION) chart
mkdir -p charts && mv ofo-*.tgz charts
$(HELM) repo index --url https://open-feature.github.io/open-feature-operator/charts charts
mv charts/index.yaml index.yaml
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,19 @@ The OpenFeature Operator is a Kubernetes native operator that allows you to expo

_Requires [cert manager](https://cert-manager.io/docs/installation/kubernetes/) installed (see why [here](#cert-manager))_

## Helm

```
helm repo add openfeature https://open-feature.github.io/open-feature-operator/
```

```
helm install ofo openfeature/ofo
```


## Kubectl

<!---x-release-please-start-version-->

```
Expand Down
57 changes: 0 additions & 57 deletions chart/templates/_helpers.tpl

This file was deleted.

89 changes: 0 additions & 89 deletions chart/templates/deployment.yaml

This file was deleted.

Loading

0 comments on commit 39febd7

Please sign in to comment.