8000 [Feature] Authorization Service V0 · arangodb/kube-arangodb@61286a9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 61286a9

Browse files
committed
[Feature] Authorization Service V0
1 parent a3ee668 commit 61286a9

30 files changed

+1234
-352
lines changed

.golangci.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ linters-settings:
5757
alias: pbAuthenticationV1
5858
- pkg: github.com/arangodb/kube-arangodb/integrations/authentication/v1
5959
alias: pbImplAuthenticationV1
60+
- pkg: github.com/arangodb/kube-arangodb/integrations/authorization/v0/definition
61+
alias: pbAuthorizationV0
62+
- pkg: github.com/arangodb/kube-arangodb/integrations/authorization/v0
63+
alias: pbImplAuthorizationV0
6064
- pkg: github.com/arangodb/kube-arangodb/integrations/shared/v1/definition
6165
alias: pbSharedV1
6266
- pkg: github.com/arangodb/kube-arangodb/integrations/shared/v1

.protolint.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
lint:
2+
rules:
3+
all_default: true
4+
rules_option:
5+
max_line_length:
6+
max_chars: 128

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
- (Feature) Extract GRPC Server
55
- (Feature) Extract Integration Service
66
- (Documentation) Move ML Extension example under "CRD overview"
7+
- (Feature) Authentication Service V1
8+
- (Feature) Authorization Service V0
79

810
## [1.2.37](https://github.com/arangodb/kube-arangodb/tree/1.2.37) (2024-01-22)
911
- (Documentation) Improve documentation rendering for GitHub Pages

Makefile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,14 @@ linter:
347347
linter-fix:
348348
@$(GOPATH)/bin/golangci-lint run --fix --build-tags "$(GOBUILDTAGS)" $(foreach LINT_EXCLUDE,$(LINT_EXCLUDES),--exclude '$(LINT_EXCLUDE)') ./...
349349

350+
.PHONY: protolint protolint-fix
351+
352+
protolint:
353+
@$(GOPATH)/bin/protolint lint $(PROTOSOURCES)
354+
355+
protolint-fix:
356+
@$(GOPATH)/bin/protolint lint --fix $(PROTOSOURCES)
357+
350358
.PHONY: vulncheck vulncheck-optional
351359
vulncheck:
352360
@echo ">> Checking for known vulnerabilities (required)"
@@ -726,6 +734,8 @@ tools-min: update-vendor
726734
@GOBIN=$(GOPATH)/bin go install github.com/google/addlicense@6d92264d717064f28b32464f0f9693a5b4ef0239
727735
@echo ">> Fetching yamlfmt"
728736
@GOBIN=$(GOPATH)/bin go install github.com/google/yamlfmt/cmd/yamlfmt@v0.10.0
737+
@echo ">> Fetching protolinter"
738+
@GOBIN=$(GOPATH)/bin go install github.com/yoheimuta/protolint/cmd/protolint@v0.47.5
729739

730740
.PHONY: tools
731741
tools: tools-min
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
//
2+
// DISCLAIMER
3+
//
4+
// Copyright 2024 ArangoDB GmbH, Cologne, Germany
5+
//
6+
// Licensed under the Apache License, Version 2.0 (the "License");
7+
// you may not use this file except in compliance with the License.
8+
// You may obtain a copy of the License at
9+
//
10+
// http://www.apache.org/licenses/LICENSE-2.0
11+
//
12+
// Unless required by applicable law or agreed to in writing, software
13+
// distributed under the License is distributed on an "AS IS" BASIS,
14+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
// See the License for the specific language governing permissions and
16+
// limitations under the License.
17+
//
18+
// Copyright holder is ArangoDB GmbH, Cologne, Germany
19+
//
20+
21+
package definition
22+
23+
const (
24+
Name = "authentication.v1"
25+
)

integrations/authentication/v1/definition/definition.pb.go

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

0 commit comments

Comments
 (0)
0