Skip to content

Commit 61880f3

Browse files
committed
Place crd in the chart directory's crds directory of the log router
Helm installs CRDs that are in that directory during helm install Authored-by: Adam Berlin <[email protected]>
1 parent b0fe07a commit 61880f3

File tree

2 files changed

+29
-28
lines changed

2 files changed

+29
-28
lines changed

charts/log-router/crds/crd.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# log-router CRD resource:
2+
apiVersion: apiextensions.k8s.io/v1
3+
kind: CustomResourceDefinition
4+
metadata:
5+
name: fluentdconfigs.logs.vdp.vmware.com
6+
spec:
7+
conversion:
8+
strategy: None
9+
group: logs.vdp.vmware.com
10+
names:
11+
kind: FluentdConfig
12+
listKind: FluentdConfigList
13+
plural: fluentdconfigs
14+
singular: fluentdconfig
15+
scope: Namespaced
16+
versions:
17+
- name: v1beta1
18+
schema:
19+
openAPIV3Schema:
20+
properties:
21+
spec:
22+
properties:
23+
fluentconf:
24+
type: string
25+
type: object
26+
type: object
27+
served: true
28+
storage: true

kubectl/crd.yaml

Lines changed: 0 additions & 28 deletions
This file was deleted.

kubectl/crd.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../charts/log-router/crds/crd.yaml

0 commit comments

Comments
 (0)