8000 [Maintenance] Inspector Generics · arangodb/kube-arangodb@ffa0e16 · GitHub
[go: up one dir, main page]

Skip to content

Commit ffa0e16

Browse files
committed
[Maintenance] Inspector Generics
1 parent f911554 commit ffa0e16

File tree

177 files changed

+3006
-5252
lines changed

Some content is hidden

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

177 files changed

+3006
-5252
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
- (Maintenance) Proto Lint
99
- (Feature) (Integration) SchedulerV2
1010
- (Feature) (Integration) Basic Envs
11+
- (Maintenance) Inspector Generics
1112

1213
## [1.2.43](https://github.com/arangodb/kube-arangodb/tree/1.2.43) (2024-10-14)
1314
- (Feature) ArangoRoute CRD

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ Flags:
195195
--kubernetes.max-batch-size int Size of batch during objects read (default 256)
196196
--kubernetes.qps float32 Number of queries per second for k8s API (default 15)
197197
--log.format string Set log format. Allowed values: 'pretty', 'JSON'. If empty, default format is used (default "pretty")
198-
--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, http, inspector, integration-config-v1, integrati 325D on-envoy-auth-v3, integrations, k8s-client, kubernetes-informer, monitor, networking-route-operator, operator, operator-arangojob-handler, operator-v2, operator-v2-event, operator-v2-worker, panics, pod_compare, root, root-event-recorder, scheduler-batchjob-operator, scheduler-cronjob-operator, scheduler-deployment-operator, scheduler-pod-operator, scheduler-profile-operator, server, server-authentication (default [info])
198+
--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-config-v1, integration-envoy-auth-v3, integration-scheduler-v2, integrations, k8s-client, kubernetes-informer, monitor, networking-route-operator, operator, operator-arangojob-handler, operator-v2, operator-v2-event, operator-v2-worker, panics, pod_compare, root, root-event-recorder, scheduler-batchjob-operator, scheduler-cronjob-operator, scheduler-deployment-operator, scheduler-pod-operator, scheduler-profile-operator, server, server-authentication (default [info])
199199
--log.sampling If true, operator will try to minimize duplication of logging events (default true)
200200
--memory-limit uint Define memory limit for hard shutdown and the dump of goroutines. Used for testing
201201
--metrics.excluded-prefixes stringArray List of the excluded metrics prefixes

cmd/admin.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ import (
4747
"github.com/arangodb/kube-arangodb/pkg/util/errors"
4848
"github.com/arangodb/kube-arangodb/pkg/util/globals"
4949
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil"
50-
secretv1 "github.com/arangodb/kube-arangodb/pkg/util/k8sutil/inspector/secret/v1"
50+
"github.com/arangodb/kube-arangodb/pkg/util/k8sutil/inspector/generic"
5151
"github.com/arangodb/kube-arangodb/pkg/util/kclient"
5252
)
5353

@@ -296,7 +296,7 @@ func createClient(endpoints []string, certCA *x509.CertPool, auth connection.Aut
296296
}
297297

298298
// getJWTTokenFromSecrets returns token from the secret.
299-
func getJWTTokenFromSecrets(ctx context.Context, secrets secretv1.ReadInterface, name string) (connection.Authentication, error) {
299+
func getJWTTokenFromSecrets(ctx context.Context, secrets generic.ReadClient[*core.Secret], name string) (connection.Authentication, error) {
300300
ctxChild, cancel := globals.GetGlobalTimeouts().Kubernetes().WithTimeout(ctx)
301301
defer cancel()
302302

@@ -314,7 +314,7 @@ func getJWTTokenFromSecrets(ctx context.Context, secrets secretv1.ReadInterface,
314314
}
315315

316316
// getCACertificate returns CA certificate from the secret.
317-
func getCACertificate(ctx context.Context, secrets secretv1.ReadInterface, name string) (*x509.CertPool, error) {
317+
func getCACertificate(ctx context.Context, secrets generic.ReadClient[*core.Secret], name string) (*x509.CertPool, error) {
318318
ctxChild, cancel := globals.GetGlobalTimeouts().Kubernetes().WithTimeout(ctx)
319319
defer cancel()
320320

docs/cli/arangodb_operator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ Flags:
8080
--kubernetes.max-batch-size int Size of batch during objects read (default 256)
8181
--kubernetes.qps float32 Number of queries per second for k8s API (default 15)
8282
--log.format string Set log format. Allowed values: 'pretty', 'JSON'. If empty, default format is used (default "pretty")
83-
--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, http, inspector, integration-config-v1, integration-envoy-auth-v3, integrations, k8s-client, kubernetes-informer, monitor, networking-route-operator, operator, operator-arangojob-handler, operator-v2, operator-v2-event, operator-v2-worker, panics, pod_compare, root, root-event-recorder, scheduler-batchjob-operator, scheduler-cronjob-operator, scheduler-deployment-operator, scheduler-pod-operator, scheduler-profile-operator, server, server-authentication (default [info])
83+
--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-config-v1, integration-envoy-auth-v3, integration-scheduler-v2, integrations, k8s-client, kubernetes-informer, monitor, networking-route-operator, operator, operator-arangojob-handler, operator-v2, operator-v2-event, operator-v2-worker, panics, pod_compare, root, root-event-recorder, scheduler-batchjob-operator, scheduler-cronjob-operator, scheduler-deployment-operator, scheduler-pod-operator, scheduler-profile-operator, server, server-authentication (default [info])
8484
--log.sampling If true, operator will try to minimize duplication of logging events (default true)
8585
--memory-limit uint Define memory limit for hard shutdown and the dump of goroutines. Used for testing
8686
--metrics.excluded-prefixes stringArray List of the excluded metrics prefixes

docs/cli/arangodb_operator_integration.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@ Flags:
5151
--integration.scheduler.v1.internal Defones if Internal access to service scheduler.v1 is enabled (Env: INTEGRATION_SCHEDULER_V1_INTERNAL) (default true)
5252
--integration.scheduler.v1.namespace string Kubernetes Namespace (Env: INTEGRATION_SCHEDULER_V1_NAMESPACE) (default "default")
5353
--integration.scheduler.v1.verify-access Verify the CRD Access (Env: INTEGRATION_SCHEDULER_V1_VERIFY_ACCESS) (default true)
54+
--integration.scheduler.v2 SchedulerV2 Integration (Env: INTEGRATION_SCHEDULER_V2)
55+
--integration.scheduler.v2.deployment string ArangoDeployment Name (Env: INTEGRATION_SCHEDULER_V2_DEPLOYMENT)
56+
--integration.scheduler.v2.external Defones if External access to service scheduler.v2 is enabled (Env: INTEGRATION_SCHEDULER_V2_EXTERNAL)
57+
--integration.scheduler.v2.internal Defones if Internal access to service scheduler.v2 is enabled (Env: INTEGRATION_SCHEDULER_V2_INTERNAL) (default true)
58+
--integration.scheduler.v2.namespace string Kubernetes Namespace (Env: INTEGRATION_SCHEDULER_V2_NAMESPACE) (default "default")
5459
--integration.shutdown.v1 ShutdownV1 Handler (Env: INTEGRATION_SHUTDOWN_V1)
5560
--integration.shutdown.v1.external Defones if External access to service shutdown.v1 is enabled (Env: INTEGRATION_SHUTDOWN_V1_EXTERNAL)
5661
--integration.shutdown.v1.internal Defones if Internal access to service shutdown.v1 is enabled (Env: INTEGRATION_SHUTDOWN_V1_INTERNAL) (default true)

pkg/api/jwt.go

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/crd/crds/analytics-graphanalyticsengine.schema.generated.yaml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -619,6 +619,13 @@ v1alpha1:
619619
type: array
620620
podSecurityContext:
621621
properties:
622+
appArmorProfile:
623+
properties:
624+
localhostProfile:
625+
type: string
626+
type:
627+
type: string
628+
type: object
622629
fsGroup:
623630
format: int64
624631
type: integer
@@ -655,6 +662,8 @@ v1alpha1:
655662
format: int64
656663
type: integer
657664
type: array
665+
supplementalGroupsPolicy:
666+
type: string
658667
sysctls:
659668
items:
660669
properties:
@@ -769,6 +778,8 @@ v1alpha1:
769778
properties:
770779
name:
771780
type: string
781+
request:
782+
type: string
772783
type: object
773784
type: array
774785
limits:
@@ -786,6 +797,13 @@ v1alpha1:
786797
properties:
787798
allowPrivilegeEscalation:
788799
type: boolean
800+
appArmorProfile:
801+
properties:
802+
localhostProfile:
803+
type: string
804+
type:
805+
type: string
806+
type: object
789807
capabilities:
790808
properties:
791809
add:
@@ -962,6 +980,8 @@ v1alpha1:
962980
type: string
963981
readOnly:
964982
type: boolean
983+
recursiveReadOnly:
984+
type: string
965985
subPath:
966986
type: string
967987
subPathExpr:
@@ -1348,6 +1368,13 @@ v1alpha1:
13481368
type:
13491369
type: string
13501370
type: object
1371+
image:
1372+
properties:
1373+
pullPolicy:
1374+
type: string
1375+
reference:
1376+
type: string
1377+
type: object
13511378
iscsi:
13521379
properties:
13531380
chapAuthDiscovery:
@@ -1991,6 +2018,8 @@ v1alpha1:
19912018
properties:
19922019
name:
19932020
type: string
2021+
request:
2022+
type: string
19942023
type: object
19952024
type: array
19962025
limits:
@@ -2006,6 +2035,13 @@ v1alpha1:
20062035
properties:
20072036
allowPrivilegeEscalation:
20082037
type: boolean
2038+
appArmorProfile:
2039+
properties:
2040+
localhostProfile:
2041+
type: string
2042+
type:
2043+
type: string
2044+
type: object
20092045
capabilities:
20102046
properties:
20112047
add:
@@ -2137,6 +2173,8 @@ v1alpha1:
21372173
type: string
21382174
readOnly:
21392175
type: boolean
2176+
recursiveReadOnly:
2177+
type: string
21402178
subPath:
21412179
type: string
21422180
subPathExpr:

0 commit comments

Comments
 (0)
0