Skip to content

Commit

Permalink
Updating fluentd-elasticsearch Helm Chart to support extra k8s Manife…
Browse files Browse the repository at this point in the history
…st (#104)

* Updating fluentd-elasticsearch Helm Chart to support extra k8s Manifests

Signed-off-by: Junaid Chaudry <[email protected]>

* Fixing the chart version

Signed-off-by: Junaid Chaudry <[email protected]>
  • Loading branch information
JunaidChaudry authored Feb 25, 2022
1 parent ee9e931 commit 72fc345
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/fluentd-elasticsearch/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: fluentd-elasticsearch
version: 13.2.0
version: 13.3.0
appVersion: 3.4.0
type: application
home: https://www.fluentd.org/
Expand Down
1 change: 1 addition & 0 deletions charts/fluentd-elasticsearch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ The following table lists the configurable parameters of the Fluentd elasticsear
| `serviceMonitor.type` | Optional the type of the metrics service | `ClusterIP` |
| `tolerations` | Optional daemonset tolerations | `[]` |
| `updateStrategy` | Optional daemonset update strategy | `type: RollingUpdate` |
| `extraObjects` | Array of extra K8s manifests to deploy | `[]` |

Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,

Expand Down
4 changes: 4 additions & 0 deletions charts/fluentd-elasticsearch/templates/extraManifests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{{ range .Values.extraObjects }}
---
{{ tpl (toYaml .) $ }}
{{ end }}
26 changes: 26 additions & 0 deletions charts/fluentd-elasticsearch/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -416,3 +416,29 @@ extraInitContainers: []
# - name: do-something
# image: busybox
# command: ['do', 'something']

# -- Array of extra K8s manifests to deploy
extraObjects: []
# - apiVersion: secrets-store.csi.x-k8s.io/v1
# kind: SecretProviderClass
# metadata:
# name: my-secrets-store
# spec:
# provider: aws
# parameters:
# objects: |
# - objectName: "openid-secret"
# objectType: "secretsmanager"
# jmesPath:
# - path: "client_id"
# objectAlias: "client_id"
# - path: "client_secret"
# objectAlias: "client_secret"
# secretObjects:
# - data:
# - key: client_id
# objectName: client_id
# - key: client_secret
# objectName: client_secret
# secretName: openid-secrets-store
# type: Opaque

0 comments on commit 72fc345

Please sign in to comment.