Skip to content
This repository was archived by the owner on Sep 9, 2024. It is now read-only.

Commit 424eaf9

Browse files
authored
operator release v0.0.3 (#37)
1 parent 38b0c11 commit 424eaf9

File tree

5 files changed

+127
-5
lines changed

5 files changed

+127
-5
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ help: ## Display this help.
4141
.PHONY: manifests
4242
manifests: controller-gen ## Generate WebhookConfiguration, ClusterRole and CustomResourceDefinition objects.
4343
$(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
4545

4646
.PHONY: generate
4747
generate: controller-gen ## Generate code containing DeepCopy, DeepCopyInto, and DeepCopyObject method implementations.

config/samples/parseable-ephemeral.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
spec:
88

99
nodes:
10-
- name: parseable
10+
- name: parseable-server
1111
type: server
1212
kind: Deployment
1313
replicas: 1
+122
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
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

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/parseablehq/operator
33
go 1.19
44

55
require (
6-
github.com/datainfrahq/operator-runtime v0.0.0-20230416210109-3014824613c2
6+
github.com/datainfrahq/operator-runtime v0.0.7
77
github.com/go-logr/logr v1.2.4
88
github.com/onsi/ginkgo/v2 v2.9.2
99
github.com/onsi/gomega v1.27.6

go.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGX
1717
github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk=
1818
github.com/cncf/xds/go v0.0.0-20210312221358-fbca930ec8ed/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs=
1919
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=
2222
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
2323
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
2424
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=

0 commit comments

Comments
 (0)