Skip to content

Commit 71604fa

Browse files
helm(v4): Breaks fluent-bit-crds out into separate top-level chart (#1795)
* Add new fluent-bit-crds chart. Signed-off-by: Josh Baird <[email protected]> * Modify depdendncy. Signed-off-by: Josh Baird <[email protected]> * Remove legacy chart. Signed-off-by: Josh Baird <[email protected]> * Reset. Signed-off-by: Josh Baird <[email protected]> * Update migration doc. Signed-off-by: Josh Baird <[email protected]> * Use file references for dev. Signed-off-by: Josh Baird <[email protected]> * Use repo URLs for deps. Signed-off-by: Josh Baird <[email protected]> * Add cwGuo email. Signed-off-by: Josh Baird <[email protected]> * Apply suggestion from @marcofranssen Signed-off-by: Marco Franssen <[email protected]> * Apply suggestion from @marcofranssen Signed-off-by: Marco Franssen <[email protected]> * Apply suggestion from @marcofranssen Signed-off-by: Marco Franssen <[email protected]> * Apply suggestion from @marcofranssen Signed-off-by: Marco Franssen <[email protected]> --------- Signed-off-by: Josh Baird <[email protected]> Signed-off-by: Marco Franssen <[email protected]> Co-authored-by: Marco Franssen <[email protected]>
1 parent 808d9d1 commit 71604fa

24 files changed

+134
-38
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ shellcheck:
5656
manifests: controller-gen ## Generate WebhookConfiguration, ClusterRole and CustomResourceDefinition objects.
5757
$(CONTROLLER_GEN) $(CRD_OPTIONS) rbac:roleName=manager-role webhook paths="./apis/fluentbit/..." output:crd:artifacts:config=config/crd/bases
5858
$(CONTROLLER_GEN) $(CRD_OPTIONS) rbac:roleName=manager-role webhook paths="./apis/fluentd/..." output:crd:artifacts:config=config/crd/bases
59-
$(CONTROLLER_GEN) $(CRD_OPTIONS) rbac:roleName=manager-role webhook paths="./apis/fluentbit/..." output:crd:artifacts:config=charts/fluent-operator/charts/fluent-bit-crds/crds
59+
$(CONTROLLER_GEN) $(CRD_OPTIONS) rbac:roleName=manager-role webhook paths="./apis/fluentbit/..." output:crd:artifacts:config=charts/fluent-bit-crds/templates
6060
$(CONTROLLER_GEN) $(CRD_OPTIONS) rbac:roleName=manager-role webhook paths="./apis/fluentd/..." output:crd:artifacts:config=charts/fluentd-crds/templates
6161
kubectl kustomize config/crd/bases/ | sed -e '/creationTimestamp/d' > manifests/setup/fluent-operator-crd.yaml
6262
kubectl kustomize manifests/setup/ | sed -e '/creationTimestamp/d' > manifests/setup/setup.yaml
@@ -389,3 +389,4 @@ update-helm-package: # update helm repo
389389
.PHONY: helm-docs
390390
helm-docs:
391391
cd charts/fluentd-crds && helm-docs
392+
cd charts/fluent-bit-crds && helm-docs

charts/fluent-bit-crds/Chart.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
apiVersion: v2
2+
name: fluent-bit-crds
3+
description: A helm chart for Fluent-Bit custom resource definitions (CRDs) used by fluent-operator.
4+
type: application
5+
version: 0.1.0
6+
appVersion: 0.1.0
7+
keywords:
8+
- logging
9+
- fluentd
10+
- fluent-bit
11+
- fluent-operator
12+
home: https://github.com/fluent/fluent-operator
13+
icon: https://raw.githubusercontent.com/fluent/fluent-operator/master/docs/images/fluent-operator-icon.svg
14+
sources:
15+
- https://github.com/fluent/fluent-operator/tree/master/charts/fluent-bit-crds
16+
maintainers:
17+
- name: cw-guo
18+
19+
- name: marcofranssen
20+
21+
url: https://marcofranssen.nl
22+
- name: joshuabaird
23+

charts/fluent-bit-crds/README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# fluent-bit-crds
2+
3+
![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.0](https://img.shields.io/badge/AppVersion-0.1.0-informational?style=flat-square)
4+
5+
A helm chart for Fluent-Bit custom resource definitions (CRDs) used by fluent-operator.
6+
7+
**Homepage:** <https://github.com/fluent/fluent-operator>
8+
9+
## Maintainers
10+
11+
| Name | Email | Url |
12+
| ---- | ------ | --- |
13+
| cw-guo | | |
14+
| marcofranssen | <[email protected]> | <https://marcofranssen.nl> |
15+
| joshuabaird | <[email protected]> | |
16+
17+
## Source Code
18+
19+
* <https://github.com/fluent/fluent-operator/tree/master/charts/fluent-bit-crds>
20+
21+
## Values
22+
23+
| Key | Type | Default | Description |
24+
|-----|------|---------|-------------|
25+
| additionalAnnotations | object | `{}` | Additional annotations for the custom resource definitions. |
26+
27+
----------------------------------------------
28+
29+
Autogenerated from chart metadata using [helm-docs](https://github.com/norwoodj/helm-docs/).
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{{ template "chart.header" . }}
2+
{{ template "chart.deprecationWarning" . }}
3+
4+
{{ template "chart.badgesSection" . }}
5+
6+
{{ template "chart.description" . }}
7+
8+
{{ template "chart.homepageLine" . }}
9+
10+
{{ template "chart.maintainersSection" . }}
11+
12+
{{ template "chart.sourcesSection" . }}
13+
14+
{{ template "chart.requirementsSection" . }}
15+
16+
{{ template "chart.valuesSection" . }}
17+
18+
----------------------------------------------
19+
20+
Autogenerated from chart metadata using [helm-docs](https://github.com/norwoodj/helm-docs/).
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6+
{{- with .Values.additionalAnnotations }}
7+
{{- toYaml . | nindent 4 }}
8+
{{- end }}
69
controller-gen.kubebuilder.io/version: v0.18.0
710
name: clusterfilters.fluentbit.fluent.io
811
spec:
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6+
{{- with .Values.additionalAnnotations }}
7+
{{- toYaml . | nindent 4 }}
8+
{{- end }}
69
controller-gen.kubebuilder.io/version: v0.18.0
710
name: clusterfluentbitconfigs.fluentbit.fluent.io
811
spec:
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6+
{{- with .Values.additionalAnnotations }}
7+
{{- toYaml . | nindent 4 }}
8+
{{- end }}
69
controller-gen.kubebuilder.io/version: v0.18.0
710
name: clusterinputs.fluentbit.fluent.io
811
spec:
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6+
{{- with .Values.additionalAnnotations }}
7+
{{- toYaml . | nindent 4 }}
8+
{{- end }}
69
controller-gen.kubebuilder.io/version: v0.18.0
710
name: clustermultilineparsers.fluentbit.fluent.io
811
spec:
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6+
{{- with .Values.additionalAnnotations }}
7+
{{- toYaml . | nindent 4 }}
8+
{{- end }}
69
controller-gen.kubebuilder.io/version: v0.18.0
710
name: clusteroutputs.fluentbit.fluent.io
811
spec:

0 commit comments

Comments
 (0)