Skip to content

Commit 2942788

Browse files
Merge pull request #280 from james-milligan/artifact-hub
docs: Artifact hub improvements
2 parents 6891b70 + fb6e31a commit 2942788

File tree

13 files changed

+75
-16
lines changed

13 files changed

+75
-16
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ config/manager/manager.yaml
44
config/manager/kustomization.yaml
55
schemas
66
.vscode
7-
open-feature-operator
87
of-agent
98
# Binaries for programs and plugins
109
*.exe

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ release-manifests: manifests kustomize
120120
fi
121121
@if [ ${KUSTOMIZE_OVERLAY} = HELM ]; then\
122122
echo building helm overlay;\
123-
$(KUSTOMIZE) build config/overlays/helm > chart/templates/rendered.yaml;\
123+
$(KUSTOMIZE) build config/overlays/helm > chart/open-feature-operator/templates/rendered.yaml;\
124124
fi
125125

126126
.PHONY: deploy
@@ -187,7 +187,7 @@ set-helm-overlay:
187187
${eval KUSTOMIZE_OVERLAY = HELM}
188188

189189
helm-package: set-helm-overlay generate release-manifests helm
190-
$(HELM) package --version $(CHART_VERSION) chart
191-
mkdir -p charts && mv ofo-*.tgz charts
190+
$(HELM) package --version $(CHART_VERSION) chart/open-feature-operator
191+
mkdir -p charts && mv open-feature-operator-*.tgz charts
192192
$(HELM) repo index --url https://open-feature.github.io/open-feature-operator/charts charts
193193
mv charts/index.yaml index.yaml
File renamed without changes.

chart/Chart.yaml renamed to chart/open-feature-operator/Chart.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apiVersion: v2
2-
name: ofo
2+
name: open-feature-operator
33
description: A feature flag operator for Kubernetes
44
# A chart can be either an 'application' or a 'library' chart.
55
#
@@ -13,9 +13,10 @@ type: application
1313
# This is the chart version. This version number should be incremented each time you make changes
1414
# to the chart and its templates, including the app version.
1515
# Versions are expected to follow Semantic Versioning (https://semver.org/)
16-
version: 0.1.0
16+
version: "v0.2.20" # x-release-please-version
1717
# This is the version number of the application being deployed. This version number should be
1818
# incremented each time you make changes to the application. Versions are not expected to
1919
# follow Semantic Versioning. They should reflect the version the application is using.
2020
# It is recommended to use it with quotes.
2121
appVersion: "v0.2.20" # x-release-please-version
22+
icon: https://avatars.githubusercontent.com/u/99483952?s=200&v=4
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# OpenFeature Operator
2+
3+
## TL;DR
4+
> This helm chart has a dependency on [cert manager](https://cert-manager.io/docs/installation/)
5+
```
6+
helm repo add openfeature https://open-feature.github.io/open-feature-operator/
7+
helm repo update
8+
helm upgrade -i openfeature openfeature/open-feature-operator
9+
```
10+
11+
## Introduction
12+
13+
The OpenFeature Operator is a Kubernetes native operator that allows you to expose feature flags to your applications. It injects a [flagd](https://github.com/open-feature/flagd) sidecar into your pod and allows you to poll the flagd server for feature flags in a variety of ways.
14+
The full documentation for this project can be found here: [OpenFeature Operator](https://github.com/open-feature/open-feature-operator/tree/main/docs)
15+
16+
## Prerequisites
17+
18+
The OpenFeature Operator requires [cert manager](https://cert-manager.io/docs/installation/) to be installed on the target cluster.
19+
20+
## Install
21+
22+
To install/upgrade the chart with the release name `open-feature-operator`:
23+
```
24+
helm upgrade -i open-feature-operator openfeature/open-feature-operator
25+
```
26+
This installation will use the default helm configuration, described in the [configuration section](#configuration)
27+
28+
## Uninstall
29+
30+
To uninstall the `open-feature-operator`:
31+
32+
```
33+
helm uninstall open-feature-operator
34+
```
35+
36+
The command removes all the Kubernetes components associated with the chart and deletes the release.
37+
38+
## Configuration
39+
<a name="configuration"></a>
40+
41+
| Value | Default | Explanation |
42+
| ----------- | ----------- | ----------- |
43+
| `defaultNamespace` | `open-feature-operator` | [INTERNAL USE ONLY] To override the namespace use the `--namespace` flag. This default is provided to ensure that the kustomize build charts in `/templates` deploy correctly when no `namespace` is provided via the `-n` flag.|
44+
45+
## Changelog
46+
47+
See [CHANGELOG.md](https://github.com/open-feature/open-feature-operator/blob/main/CHANGELOG.md)
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
. ___ ___ _
2+
/ _ \ _ __ ___ _ _ | __| ___ __ _ | |_ _ _ _ _ ___
3+
| (_) | | '_ \ / -_) | ' \ | _| / -_) / _` | | _| | || | | '_| / -_)
4+
\___/ | .__/ \___| |_||_| |_| \___| \__,_| \__| \_,_| |_| \___|
5+
|_|
6+
7+
Thank you for installing {{ .Chart.Name }}.
8+
9+
Your release version is {{ .Chart.AppVersion }}.
10+
11+
Documentation and configuration options can be found here: https://github.com/open-feature/open-feature-operator
File renamed without changes.

chart/templates/rendered.yaml renamed to chart/open-feature-operator/templates/rendered.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -955,4 +955,4 @@ webhooks:
955955
- UPDATE
956956
resources:
957957
- featureflagconfigurations
958-
sideEffects: None
958+
sideEffects: None

chart/values.yaml renamed to chart/open-feature-operator/values.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
# If this namespace is changed the value must be reflected in /chart/values.yaml
1+
# If this namespace is changed the value must be reflected in /open-feature-operator/values.yaml
22
defaultNamespace: open-feature-operator-system
3+
34
controllerManager:
45
kubeRbacProxy:
56
image:

0 commit comments

Comments
 (0)