Skip to content

Commit 8b7b2ca

Browse files
committed
[Bugfix] Add missing ArangoDeployment ExternalAccess Managed Type definition
1 parent 136a00b commit 8b7b2ca

File tree

6 files changed

+27
-14
lines changed

6 files changed

+27
-14
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
- (Feature) (Platform) Inventory Cluster details
99
- (Feature) (Platform) CLI
1010
- (Bugfix) Fix Condition name
11+
- (Bugfix) Add missing ArangoDeployment ExternalAccess Managed Type definition
1112

1213
## [1.2.44](https://github.com/arangodb/kube-arangodb/tree/1.2.44) (2025-02-03)
1314
- (Maintenance) Kubernetes 1.31.1 libraries

Makefile

+4
Original file line numberDiff line numberDiff line change
@@ -850,6 +850,7 @@ set-typed-api-version/%:
850850
"$(ROOT)/pkg/apis/networking/" \
851851
"$(ROOT)/pkg/apis/scheduler/" \
852852
"$(ROOT)/pkg/upgrade/" \
853+
"$(ROOT)/integrations/" \
853854
| cut -d ':' -f 1 | sort | uniq \
854855
| xargs -n 1 $(SED) -i "s#github.com/arangodb/kube-arangodb/pkg/generated/clientset/versioned/typed/$*/v[A-Za-z0-9]\+#github.com/arangodb/kube-arangodb/pkg/generated/clientset/versioned/typed/$*/v$(API_VERSION)#g"
855856

@@ -869,6 +870,7 @@ set-api-version/%:
869870
"$(ROOT)/pkg/apis/scheduler/" \
870871
"$(ROOT)/pkg/apis/platform/" \
871872
"$(ROOT)/pkg/upgrade/" \
873+
"$(ROOT)/integrations/" \
872874
| cut -d ':' -f 1 | sort | uniq \
873875
| xargs -n 1 $(SED) -i "s#github.com/arangodb/kube-arangodb/pkg/apis/$*/v[A-Za-z0-9]\+#github.com/arangodb/kube-arangodb/pkg/apis/$*/v$(API_VERSION)#g"
874876
@grep -rHn "DatabaseV[A-Za-z0-9]\+()" \
@@ -885,6 +887,7 @@ set-api-version/%:
885887
"$(ROOT)/pkg/apis/scheduler/" \
886888
"$(ROOT)/pkg/apis/platform/" \
887889
"$(ROOT)/pkg/upgrade/" \
890+
"$(ROOT)/integrations/" \
888891
| cut -d ':' -f 1 | sort | uniq \
889892
| xargs -n 1 $(SED) -i "s#DatabaseV[A-Za-z0-9]\+()\.#DatabaseV$(API_VERSION)().#g"
890893
@grep -rHn "ReplicationV[A-Za-z0-9]\+()" \
@@ -901,6 +904,7 @@ set-api-version/%:
901904
"$(ROOT)/pkg/apis/scheduler/" \
902905
"$(ROOT)/pkg/apis/platform/" \
903906
"$(ROOT)/pkg/upgrade/" \
907+
"$(ROOT)/integrations/" \
904908
| cut -d ':' -f 1 | sort | uniq \
905909
| xargs -n 1 $(SED) -i "s#ReplicationV[A-Za-z0-9]\+()\.#ReplicationV$(API_VERSION)().#g"
906910

docs/api/ArangoDeployment.V1.md

+14-12
Original file line numberDiff line numberDiff line change
@@ -2987,15 +2987,15 @@ Possible Values:
29872987

29882988
### .spec.externalAccess.advertisedEndpoint
29892989

2990-
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.44/pkg/apis/deployment/v1/external_access_spec.go#L58)</sup>
2990+
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.44/pkg/apis/deployment/v1/external_access_spec.go#L59)</sup>
29912991

29922992
AdvertisedEndpoint is passed to the coordinators/single servers for advertising a specific endpoint
29932993

29942994
***
29952995

29962996
### .spec.externalAccess.loadBalancerIP
29972997

2998-
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.44/pkg/apis/deployment/v1/external_access_spec.go#L48)</sup>
2998+
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.44/pkg/apis/deployment/v1/external_access_spec.go#L49)</sup>
29992999

30003000
LoadBalancerIP define optional IP used to configure a load-balancer on, in case of Auto or LoadBalancer type.
30013001
If you do not specify this setting, an IP will be chosen automatically by the load-balancer provisioner.
@@ -3004,7 +3004,7 @@ If you do not specify this setting, an IP will be chosen automatically by the lo
30043004

30053005
### .spec.externalAccess.loadBalancerSourceRanges
30063006

3007-
Type: `array` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.44/pkg/apis/deployment/v1/external_access_spec.go#L55)</sup>
3007+
Type: `array` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.44/pkg/apis/deployment/v1/external_access_spec.go#L56)</sup>
30083008

30093009
LoadBalancerSourceRanges define LoadBalancerSourceRanges used for LoadBalancer Service type
30103010
If specified and supported by the platform, this will restrict traffic through the cloud-provider
@@ -3018,7 +3018,7 @@ Links:
30183018

30193019
### .spec.externalAccess.managedServiceNames
30203020

3021-
Type: `array` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.44/pkg/apis/deployment/v1/external_access_spec.go#L62)</sup>
3021+
Type: `array` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.44/pkg/apis/deployment/v1/external_access_spec.go#L63)</sup>
30223022

30233023
ManagedServiceNames keeps names of services which are not managed by KubeArangoDB.
30243024
It is only relevant when type of service is `managed`.
@@ -3027,7 +3027,7 @@ It is only relevant when type of service is `managed`.
30273027

30283028
### .spec.externalAccess.nodePort
30293029

3030-
Type: `integer` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.44/pkg/apis/deployment/v1/external_access_spec.go#L44)</sup>
3030+
Type: `integer` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.44/pkg/apis/deployment/v1/external_access_spec.go#L45)</sup>
30313031

30323032
NodePort define optional port used in case of Auto or NodePort type.
30333033
This setting is used when `spec.externalAccess.type` is set to `NodePort` or `Auto`.
@@ -3037,7 +3037,7 @@ If you do not specify this setting, a random port will be chosen automatically.
30373037

30383038
### .spec.externalAccess.type
30393039

3040-
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.44/pkg/apis/deployment/v1/external_access_spec.go#L39)</sup>
3040+
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.44/pkg/apis/deployment/v1/external_access_spec.go#L40)</sup>
30413041

30423042
Type specifies the type of Service that will be created to provide access to the ArangoDB deployment from outside the Kubernetes cluster.
30433043

@@ -3046,6 +3046,7 @@ Possible Values:
30463046
* `"None"` - limit access to application running inside the Kubernetes cluster.
30473047
* `"LoadBalancer"` - Create a Service of type LoadBalancer for the ArangoDB deployment.
30483048
* `"NodePort"` - Create a Service of type NodePort for the ArangoDB deployment.
3049+
* `"Managed"` - Manages only existing services.
30493050

30503051
***
30513052

@@ -5764,15 +5765,15 @@ Links:
57645765

57655766
### .spec.sync.externalAccess.advertisedEndpoint
57665767

5767-
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.44/pkg/apis/deployment/v1/external_access_spec.go#L58)</sup>
5768+
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.44/pkg/apis/deployment/v1/external_access_spec.go#L59)</sup>
57685769

57695770
AdvertisedEndpoint is passed to the coordinators/single servers for advertising a specific endpoint
57705771

57715772
***
57725773

57735774
### .spec.sync.externalAccess.loadBalancerIP
57745775

5775-
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.44/pkg/apis/deployment/v1/external_access_spec.go#L48)</sup>
5776+
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.44/pkg/apis/deployment/v1/external_access_spec.go#L49)</sup>
57765777

57775778
LoadBalancerIP define optional IP used to configure a load-balancer on, in case of Auto or LoadBalancer type.
57785779
If you do not specify this setting, an IP will be chosen automatically by the load-balancer provisioner.
@@ -5781,7 +5782,7 @@ If you do not specify this setting, an IP will be chosen automatically by the lo
57815782

57825783
### .spec.sync.externalAccess.loadBalancerSourceRanges
57835784

5784-
Type: `array` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.44/pkg/apis/deployment/v1/external_access_spec.go#L55)</sup>
5785+
Type: `array` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.44/pkg/apis/deployment/v1/external_access_spec.go#L56)</sup>
57855786

57865787
LoadBalancerSourceRanges define LoadBalancerSourceRanges used for LoadBalancer Service type
57875788
If specified and supported by the platform, this will restrict traffic through the cloud-provider
@@ -5795,7 +5796,7 @@ Links:
57955796

57965797
### .spec.sync.externalAccess.managedServiceNames
57975798

5798-
Type: `array` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.44/pkg/apis/deployment/v1/external_access_spec.go#L62)</sup>
5799+
Type: `array` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.44/pkg/apis/deployment/v1/external_access_spec.go#L63)</sup>
57995800

58005801
ManagedServiceNames keeps names of services which are not managed by KubeArangoDB.
58015802
It is only relevant when type of service is `managed`.
@@ -5815,7 +5816,7 @@ If not set, this setting defaults to:
58155816

58165817
### .spec.sync.externalAccess.nodePort
58175818

5818-
Type: `integer` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.44/pkg/apis/deployment/v1/external_access_spec.go#L44)</sup>
5819+
Type: `integer` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.44/pkg/apis/deployment/v1/external_access_spec.go#L45)</sup>
58195820

58205821
NodePort define optional port used in case of Auto or NodePort type.
58215822
This setting is used when `spec.externalAccess.type` is set to `NodePort` or `Auto`.
@@ -5825,7 +5826,7 @@ If you do not specify this setting, a random port will be chosen automatically.
58255826

58265827
### .spec.sync.externalAccess.type
58275828

5828-
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.44/pkg/apis/deployment/v1/external_access_spec.go#L39)</sup>
5829+
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.44/pkg/apis/deployment/v1/external_access_spec.go#L40)</sup>
58295830

58305831
Type specifies the type of Service that will be created to provide access to the ArangoDB deployment from outside the Kubernetes cluster.
58315832

@@ -5834,6 +5835,7 @@ Possible Values:
58345835
* `"None"` - limit access to application running inside the Kubernetes cluster.
58355836
* `"LoadBalancer"` - Create a Service of type LoadBalancer for the ArangoDB deployment.
58365837
* `"NodePort"` - Create a Service of type NodePort for the ArangoDB deployment.
5838+
* `"Managed"` - Manages only existing services.
58375839

58385840
***
58395841

pkg/apis/deployment/v1/external_access_spec.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//
22
// DISCLAIMER
33
//
4-
// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany
4+
// Copyright 2016-2025 ArangoDB GmbH, Cologne, Germany
55
//
66
// Licensed under the Apache License, Version 2.0 (the "License");
77
// you may not use this file except in compliance with the License.
@@ -36,6 +36,7 @@ type ExternalAccessSpec struct {
3636
// +doc/enum: None|limit access to application running inside the Kubernetes cluster.
3737
// +doc/enum: LoadBalancer|Create a Service of type LoadBalancer for the ArangoDB deployment.
3838
// +doc/enum: NodePort|Create a Service of type NodePort for the ArangoDB deployment.
39+
// +doc/enum: Managed|Manages only existing services.
3940
Type *ExternalAccessType `json:"type,omitempty"`
4041

4142
// NodePort define optional port used in case of Auto or NodePort type.

pkg/apis/deployment/v2alpha1/external_access_spec.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//
22
// DISCLAIMER
33
//
4-
// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany
4+
// Copyright 2016-2025 ArangoDB GmbH, Cologne, Germany
55
//
66
// Licensed under the Apache License, Version 2.0 (the "License");
77
// you may not use this file except in compliance with the License.
@@ -36,6 +36,7 @@ type ExternalAccessSpec struct {
3636
// +doc/enum: None|limit access to application running inside the Kubernetes cluster.
3737
// +doc/enum: LoadBalancer|Create a Service of type LoadBalancer for the ArangoDB deployment.
3838
// +doc/enum: NodePort|Create a Service of type NodePort for the ArangoDB deployment.
39+
// +doc/enum: Managed|Manages only existing services.
3940
Type *ExternalAccessType `json:"type,omitempty"`
4041

4142
// NodePort define optional port used in case of Auto or NodePort type.

pkg/crd/crds/database-deployment.schema.generated.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -6748,6 +6748,7 @@ v1:
67486748
- None
67496749
- LoadBalancer
67506750
- NodePort
6751+
- Managed
67516752
type: string
67526753
type: object
67536754
features:
@@ -12465,6 +12466,7 @@ v1:
1246512466
- None
1246612467
- LoadBalancer
1246712468
- NodePort
12469+
- Managed
1246812470
type: string
1246912471
type: object
1247012472
image:
@@ -23752,6 +23754,7 @@ v2alpha1:
2375223754
- None
2375323755
- LoadBalancer
2375423756
- NodePort
23757+
- Managed
2375523758
type: string
2375623759
type: object
2375723760
features:
@@ -29469,6 +29472,7 @@ v2alpha1:
2946929472
- None
2947029473
- LoadBalancer
2947129474
- NodePort
29475+
- Managed
2947229476
type: string
2947329477
type: object
2947429478
image:

0 commit comments

Comments
 (0)