Skip to content

Commit de35ff4

Browse files
committed
[Feature] [Platform] Service Handler
1 parent 16d9a54 commit de35ff4

File tree

53 files changed

+1544
-12
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+1544
-12
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
- (Feature) (Platform) MetaV1 Integration Service
55
- (Feature) (Platform) Chart Overrides
66
- (Feature) Parallel Executor
7+
- (Feature) (Platform) Service Handler
78

89
## [1.2.49](https://github.com/arangodb/kube-arangodb/tree/1.2.49) (2025-06-17)
910
- (Maintenance) Optimize go.mod

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1029,7 +1029,7 @@ CRDS:=apps-job \
10291029
scheduler-profile scheduler-pod scheduler-deployment scheduler-batchjob scheduler-cronjob \
10301030
analytics-graphanalyticsengine \
10311031
networking-route \
1032-
platform-storage platform-chart
1032+
platform-storage platform-chart platform-service
10331033

10341034
.PHONY: sync
10351035
sync:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ Flags:
204204
--kubernetes.qps float32 Number of queries per second for k8s API (default 32)
205205
--leader.label.skip Skips Leader Label for the Pod
206206
--log.format string Set log format. Allowed values: 'pretty', 'JSON'. If empty, default format is used (default "pretty")
207-
--log.level stringArray Set log levels in format <level> or <logger>=<level>. Possible loggers: action, agency, api-server, assertion, backup-operator, chaos-monkey, crd, deployment, deployment-ci, deployment-reconcile, deployment-replication, deployment-resilience, deployment-resources, deployment-storage, deployment-storage-pc, deployment-storage-service, generic-parent-operator, helm, http, inspector, integration-authn-v1, integration-config-v1, integration-envoy-auth-v3, integration-envoy-auth-v3-impl-auth-bearer, integration-envoy-auth-v3-impl-auth-cookie, integration-envoy-auth-v3-impl-custom-openid, integration-envoy-auth-v3-impl-pass-mode, integration-meta-v1, integration-scheduler-v2, integration-storage-v1-s3, integration-storage-v2, integrations, k8s-client, kubernetes, kubernetes-access, kubernetes-client, kubernetes-informer, monitor, networking-route-operator, operator, operator-arangojob-handler, operator-v2, operator-v2-event, operator-v2-worker, panics, platform-chart-operator, platform-pod-shutdown, platform-storage-operator, pod_compare, root, root-event-recorder, scheduler-batchjob-operator, scheduler-cronjob-operator, scheduler-deployment-operator, scheduler-pod-operator, scheduler-profile-operator, server, server-authentication, webhook (default [info])
207+
--log.level stringArray Set log levels in format <level> or <logger>=<level>. Possible loggers: action, agency, api-server, assertion, backup-operator, chaos-monkey, crd, deployment, deployment-ci, deployment-reconcile, deployment-replication, deployment-resilience, deployment-resources, deployment-storage, deployment-storage-pc, deployment-storage-service, generic-parent-operator, helm, http, inspector, integration-authn-v1, integration-config-v1, integration-envoy-auth-v3, integration-envoy-auth-v3-impl-auth-bearer, integration-envoy-auth-v3-impl-auth-cookie, integration-envoy-auth-v3-impl-custom-openid, integration-envoy-auth-v3-impl-pass-mode, integration-meta-v1, integration-scheduler-v2, integration-storage-v1-s3, integration-storage-v2, integrations, k8s-client, kubernetes, kubernetes-access, kubernetes-client, kubernetes-informer, monitor, networking-route-operator, operator, operator-arangojob-handler, operator-v2, operator-v2-event, operator-v2-worker, panics, platform-chart-operator, platform-pod-shutdown, platform-service-operator, platform-storage-operator, pod_compare, root, root-event-recorder, scheduler-batchjob-operator, scheduler-cronjob-operator, scheduler-deployment-operator, scheduler-pod-operator, scheduler-profile-operator, server, server-authentication, webhook (default [info])
208208
--log.sampling If true, operator will try to minimize duplication of logging events (default true)
209209
--log.stdout If true, operator will log to the stdout (default true)
210210
--memory-limit uint Define memory limit for hard shutdown and the dump of goroutines. Used for testing
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
apiVersion: apiextensions.k8s.io/v1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
name: arangoplatformservices.platform.arangodb.com
5+
spec:
6+
group: platform.arangodb.com
7+
names:
8+
kind: ArangoPlatformService
9+
listKind: ArangoPlatformServiceList
10+
plural: arangoplatformservices
11+
singular: arangoplatformservice
12+
scope: Namespaced
13+
versions:
14+
- name: v1alpha1
15+
schema:
16+
openAPIV3Schema:
17+
type: object
18+
x-kubernetes-preserve-unknown-fields: true
19+
served: true
20+
storage: true
21+
additionalPrinterColumns:
22+
- jsonPath: '.status.conditions[?(@.type=="Ready")].status'
23+
description: Defines if Service is valid
24+
name: Ready
25+
type: string
26+
subresources:
27+
status: {}

chart/kube-arangodb-arm64/templates/crd/cluster-role.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ rules:
9696
resourceNames:
9797
- "arangoplatformcharts.platform.arangodb.com"
9898
- "arangoplatformstorages.platform.arangodb.com"
99+
- "arangoplatformservices.platform.arangodb.com"
99100
{{- end }}
100101

101102
{{- end }}

chart/kube-arangodb-arm64/templates/platform-operator/role.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ rules:
1919
- "arangoplatformstorages/status"
2020
- "arangoplatformcharts"
2121
- "arangoplatformcharts/status"
22+
- "arangoplatformservices"
23+
- "arangoplatformservices/status"
2224
verbs: ["*"]
2325
{{- end }}
2426
{{- end }}
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
apiVersion: apiextensions.k8s.io/v1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
name: arangoplatformservices.platform.arangodb.com
5+
spec:
6+
group: platform.arangodb.com
7+
names:
8+
kind: ArangoPlatformService
9+
listKind: ArangoPlatformServiceList
10+
plural: arangoplatformservices
11+
singular: arangoplatformservice
12+
scope: Namespaced
13+
versions:
14+
- name: v1alpha1
15+
schema:
16+
openAPIV3Schema:
17+
type: object
18+
x-kubernetes-preserve-unknown-fields: true
19+
served: true
20+
storage: true
21+
additionalPrinterColumns:
22+
- jsonPath: '.status.conditions[?(@.type=="Ready")].status'
23+
description: Defines if Service is valid
24+
name: Ready
25+
type: string
26+
subresources:
27+
status: {}

chart/kube-arangodb-enterprise-arm64/templates/crd/cluster-role.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ rules:
9696
resourceNames:
9797
- "arangoplatformcharts.platform.arangodb.com"
9898
- "arangoplatformstorages.platform.arangodb.com"
99+
- "arangoplatformservices.platform.arangodb.com"
99100
{{- end }}
100101

101102
{{- end }}

chart/kube-arangodb-enterprise-arm64/templates/platform-operator/role.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ rules:
1919
- "arangoplatformstorages/status"
2020
- "arangoplatformcharts"
2121
- "arangoplatformcharts/status"
22+
- "arangoplatformservices"
23+
- "arangoplatformservices/status"
2224
verbs: ["*"]
2325
{{- end }}
2426
{{- end }}
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
apiVersion: apiextensions.k8s.io/v1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
name: arangoplatformservices.platform.arangodb.com
5+
spec:
6+
group: platform.arangodb.com
7+
names:
8+
kind: ArangoPlatformService
9+
listKind: ArangoPlatformServiceList
10+
plural: arangoplatformservices
11+
singular: arangoplatformservice
12+
scope: Namespaced
13+
versions:
14+
- name: v1alpha1
15+
schema:
16+
openAPIV3Schema:
17+
type: object
18+
x-kubernetes-preserve-unknown-fields: true
19+
served: true
20+
storage: true
21+
additionalPrinterColumns:
22+
- jsonPath: '.status.conditions[?(@.type=="Ready")].status'
23+
description: Defines if Service is valid
24+
name: Ready
25+
type: string
26+
subresources:
27+
status: {}

0 commit comments

Comments
 (0)