Skip to content

[Feature] Authorization Service V0 #1594

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ linters-settings:
alias: pbAuthenticationV1
- pkg: github.com/arangodb/kube-arangodb/integrations/authentication/v1
alias: pbImplAuthenticationV1
- pkg: github.com/arangodb/kube-arangodb/integrations/authorization/v0/definition
alias: pbAuthorizationV0
- pkg: github.com/arangodb/kube-arangodb/integrations/authorization/v0
alias: pbImplAuthorizationV0
- pkg: github.com/arangodb/kube-arangodb/integrations/shared/v1/definition
alias: pbSharedV1
- pkg: github.com/arangodb/kube-arangodb/integrations/shared/v1
Expand Down
6 changes: 6 additions & 0 deletions .protolint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
lint:
rules:
all_default: true
rules_option:
max_line_length:
max_chars: 128
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
- (Feature) Extract GRPC Server
- (Feature) Extract Integration Service
- (Documentation) Move ML Extension example under "CRD overview"
- (Feature) Authentication Service V1
- (Feature) Authorization Service V0

## [1.2.37](https://github.com/arangodb/kube-arangodb/tree/1.2.37) (2024-01-22)
- (Documentation) Improve documentation rendering for GitHub Pages
Expand Down
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,14 @@ linter:
linter-fix:
@$(GOPATH)/bin/golangci-lint run --fix --build-tags "$(GOBUILDTAGS)" $(foreach LINT_EXCLUDE,$(LINT_EXCLUDES),--exclude '$(LINT_EXCLUDE)') ./...

.PHONY: protolint protolint-fix

protolint:
@$(GOPATH)/bin/protolint lint $(PROTOSOURCES)

protolint-fix:
@$(GOPATH)/bin/protolint lint --fix $(PROTOSOURCES)

.PHONY: vulncheck vulncheck-optional
vulncheck:
@echo ">> Checking for known vulnerabilities (required)"
Expand Down Expand Up @@ -726,6 +734,8 @@ tools-min: update-vendor
@GOBIN=$(GOPATH)/bin go install github.com/google/addlicense@6d92264d717064f28b32464f0f9693a5b4ef0239
@echo ">> Fetching yamlfmt"
@GOBIN=$(GOPATH)/bin go install github.com/google/yamlfmt/cmd/[email protected]
@echo ">> Fetching protolinter"
@GOBIN=$(GOPATH)/bin go install github.com/yoheimuta/protolint/cmd/[email protected]

.PHONY: tools
tools: tools-min
Expand Down
25 changes: 25 additions & 0 deletions integrations/authentication/v1/definition/consts.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
//
// DISCLAIMER
//
// Copyright 2024 ArangoDB GmbH, Cologne, Germany
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// Copyright holder is ArangoDB GmbH, Cologne, Germany
//

package definition

const (
Name = "authentication.v1"
)
147 changes: 74 additions & 73 deletions integrations/authentication/v1/definition/definition.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading