This repository was archived by the owner on Sep 9, 2024. It is now read-only.
Commit 424eaf9 1 parent 38b0c11 commit 424eaf9 Copy full SHA for 424eaf9
File tree 5 files changed +127
-5
lines changed
5 files changed +127
-5
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ help: ## Display this help.
41
41
.PHONY : manifests
42
42
manifests : controller-gen # # Generate WebhookConfiguration, ClusterRole and CustomResourceDefinition objects.
43
43
$(CONTROLLER_GEN ) crd:generateEmbeddedObjectMeta=true rbac:roleName=manager-role crd webhook paths=" ./..." output:crd:artifacts:config=config/crd/bases
44
- $(CONTROLLER_GEN ) crd:generateEmbeddedObjectMeta=true rbac:roleName=manager-role crd webhook paths=" ./..." output:crd:artifacts:config=helm/parseable- operator/crds
44
+ $(CONTROLLER_GEN ) crd:generateEmbeddedObjectMeta=true rbac:roleName=manager-role crd webhook paths=" ./..." output:crd:artifacts:config=helm/operator/crds
45
45
46
46
.PHONY : generate
47
47
generate : controller-gen # # Generate code containing DeepCopy, DeepCopyInto, and DeepCopyObject method implementations.
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ metadata:
7
7
spec :
8
8
9
9
nodes :
10
- - name : parseable
10
+ - name : parseable-server
11
11
type : server
12
12
kind : Deployment
13
13
replicas : 1
Original file line number Diff line number Diff line change
1
+ apiVersion : parseable.io/v1beta1
2
+ kind : ParseableTenant
3
+
4
+ metadata :
5
+ name : parseable
6
+
7
+ spec :
8
+
9
+ nodes :
10
+ - name : parseable-ingestion-1
11
+ type : server
12
+ kind : Deployment
13
+ replicas : 1
14
+ k8sConfig : parseable-ingestion-1
15
+ parseableConfig : parseable-server-config
16
+
17
+ - name : parseable-ingestion-2
18
+ type : server
19
+ kind : Deployment
20
+ replicas : 1
21
+ k8sConfig : parseable-ingestion-2
22
+ parseableConfig : parseable-server-config
23
+
24
+ - name : parseable-ingestion-3
25
+ type : server
26
+ kind : Deployment
27
+ replicas : 1
28
+ k8sConfig : parseable-ingestion-3
29
+ parseableConfig : parseable-server-config
30
+
31
+ deploymentOrder :
32
+ - server
33
+
34
+ k8sConfig :
35
+ - name : parseable-ingestion-1
36
+ image : parseable/parseable:edge
37
+ service :
38
+ type : ClusterIP
39
+ ports :
40
+ - protocol : TCP
41
+ port : 80
42
+ targetPort : 8000
43
+ volumes :
44
+ - emptyDir : {}
45
+ name : stage-volume
46
+ - emptyDir : {}
47
+ name : data-volume
48
+ volumeMount :
49
+ - mountPath : /parseable/data
50
+ name : data-volume
51
+ - mountPath : /parseable/staging
52
+ name : stage-volume
53
+ resources :
54
+ limits :
55
+ cpu : 1000m
56
+ memory : 1Gi
57
+ requests :
58
+ cpu : 100m
59
+ memory : 128Mi
60
+
61
+ - name : parseable-ingestion-2
62
+ image : parseable/parseable:edge
63
+ service :
64
+ type : ClusterIP
65
+ ports :
66
+ - protocol : TCP
67
+ port : 80
68
+ targetPort : 8000
69
+ volumes :
70
+ - emptyDir : {}
71
+ name : stage-volume
72
+ - emptyDir : {}
73
+ name : data-volume
74
+ volumeMount :
75
+ - mountPath : /parseable/data
76
+ name : data-volume
77
+ - mountPath : /parseable/staging
78
+ name : stage-volume
79
+ resources :
80
+ limits :
81
+ cpu : 1000m
82
+ memory : 1Gi
83
+ requests :
84
+ cpu : 100m
85
+ memory : 128Mi
86
+
87
+ - name : parseable-ingestion-3
88
+ image : parseable/parseable:edge
89
+ service :
90
+ type : ClusterIP
91
+ ports :
92
+ - protocol : TCP
93
+ port : 80
94
+ targetPort : 8000
95
+ volumes :
96
+ - emptyDir : {}
97
+ name : stage-volume
98
+ - emptyDir : {}
99
+ name : data-volume
100
+ volumeMount :
101
+ - mountPath : /parseable/data
102
+ name : data-volume
103
+ - mountPath : /parseable/staging
104
+ name : stage-volume
105
+ resources :
106
+ limits :
107
+ cpu : 1000m
108
+ memory : 1Gi
109
+ requests :
110
+ cpu : 100m
111
+ memory : 128Mi
112
+
113
+ parseableConfig :
114
+ - name : parseable-server-config
115
+ cliArgs :
116
+ - local-store
117
+ env : |-
118
+ P_ADDR=0.0.0.0:8000
119
+ P_STAGING_DIR=/parseable/staging
120
+ P_FS_DIR=./data
121
+ P_USERNAME=admin
122
+ P_PASSWORD=admin
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ module github.com/parseablehq/operator
3
3
go 1.19
4
4
5
5
require (
6
- github.com/datainfrahq/operator-runtime v0.0.0-20230416210109-3014824613c2
6
+ github.com/datainfrahq/operator-runtime v0.0.7
7
7
github.com/go-logr/logr v1.2.4
8
8
github.com/onsi/ginkgo/v2 v2.9.2
9
9
github.com/onsi/gomega v1.27.6
Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGX
17
17
github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403 /go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk =
18
18
github.com/cncf/xds/go v0.0.0-20210312221358-fbca930ec8ed /go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs =
19
19
github.com/creack/pty v1.1.9 /go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E =
20
- github.com/datainfrahq/operator-runtime v0.0.0-20230416210109-3014824613c2 h1:1PYNxv5hWSqapuou9LSDOlqO93X6iG4d9S7BESJTFr0 =
21
- github.com/datainfrahq/operator-runtime v0.0.0-20230416210109-3014824613c2 /go.mod h1:Pd4ny0zdmpQIBYtZnK1knh0DFqUQ6LIdi71DsAXDr3E =
20
+ github.com/datainfrahq/operator-runtime v0.0.7 h1:zxTj6frSkuzU3wrHodXV6qx8UrW7Kncm02Adtw8QCAM =
21
+ github.com/datainfrahq/operator-runtime v0.0.7 /go.mod h1:PH2AK7xqxHZCW0f6kuTJ38tXxla18JxOCIqygIUy1KY =
22
22
github.com/davecgh/go-spew v1.1.0 /go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38 =
23
23
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c =
24
24
github.com/davecgh/go-spew v1.1.1 /go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38 =
You can’t perform that action at this time.
0 commit comments