Skip to content

Commit

Permalink
added helm readme
Browse files Browse the repository at this point in the history
  • Loading branch information
swinkelhofer committed Oct 30, 2021
1 parent 6e122d8 commit 24c045c
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/helm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
sed -i "s#ersion: latest#ersion: ${{ steps.release_name.outputs.VERSION }}#g" ../build/helm/dynratelimiter-operator/Chart.yaml
sed -i "s#ersion: v#ersion: #g" ../build/helm/dynratelimiter-operator/Chart.yaml
helm package ../build/helm/dynratelimiter-operator
cp ../build/helm/dynratelimiter-operator/README.md ../../helm-charts/dynratelimiter-operator.md
mv * ../../helm-charts/
cd ../../helm-charts
helm repo index . --url https://arivum.github.io/helm-charts
Expand Down
43 changes: 43 additions & 0 deletions build/helm/dynratelimiter-operator/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
### DynRateLimiter Operator

Create your `values.yaml`

```yaml
# your values.yaml to override default values
namespace: finnie-pipeline-operator-system
image:
pullSecrets:
- name: my-pullsecret
```

Then, install the `DynRateLimiter Operator` with Helm:

```bash
# deploy using your values.yaml
helm install -f values.yaml dynratelimiter-operator arivum/dynratelimiter-operator
```

#### Available chart properties

| Property | Description | Default |
| -------------- | --------------------- | --------------------- |
| `replicaCount` | Number of replicas | `1` |
| `appname` | App Name, certificates and service name will be derived from this value | `dynratelimiter-operator` |
| `namespace` | Namespace to deploy the operator to | `dynratelimiter-operator` |
| `image.repository` | Image repository | `ghcr.io/arivum/dynratelimiter/dynratelimiter-operator` |
| `image.tag` | Image tag | `latest` |
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
| `imagePullSecrets` | A list of image pull secrets when using your own image | `[]` |
| `nameOverride` | Overrides the basename for deployments etc. | `""` |
| `fullnameOverride` | Completly overrides the auto-generated names for deployments etc. | `""` |
| `logging.level` | Log level. Must be one of `[info, debug, warn, error, trace]` | `info` |
| `logging.format` | Log format. Choose one of `[gofmt, json]` | `gofmt` |
| `mutationConfig.image` | Configures the image that gets injected into annotated pods by the operator | `ghcr.io/arivum/dynratelimiter/dynratelimiter` |
| `mutationConfig.tag` | Configures the tag of image that gets injected into annotated pods by the operator | `latest` |
| `service.type` | Kubernetes serivce type | `ClusterIP` |
| `service.port` | Kubernetes service port | `443` |
| `service.targetPort` | Kubernetes service target port and listen port of the dynratelimit-operator application | `8443` |
| `resources` | Pod resource requests and limits | `{}` |
| `nodeSelector` | Kubernetes node selector | `{}` |
| `tolerations` | Kuberentes tolerations | `[]` |
| `affinity` | Kubernetes pod affinity | `{}` |
2 changes: 0 additions & 2 deletions build/helm/dynratelimiter-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,3 @@ nodeSelector: {}
tolerations: []

affinity: {}

caBundle:

0 comments on commit 24c045c

Please sign in to comment.