diff --git a/.github/workflows/analytic-pipeline.yml b/.github/workflows/analytic-pipeline.yml index 001ca21e7..42d1d075d 100644 --- a/.github/workflows/analytic-pipeline.yml +++ b/.github/workflows/analytic-pipeline.yml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + name: Analytic on: ["push"] diff --git a/.github/workflows/api-pipeline.yml b/.github/workflows/api-pipeline.yml index e1652b179..685fb7582 100644 --- a/.github/workflows/api-pipeline.yml +++ b/.github/workflows/api-pipeline.yml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + name: Api on: ["push"] diff --git a/.github/workflows/auth-pipeline.yml b/.github/workflows/auth-pipeline.yml index 011e3b9fe..d2dbda009 100644 --- a/.github/workflows/auth-pipeline.yml +++ b/.github/workflows/auth-pipeline.yml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + name: Auth on: ["push"] diff --git a/.github/workflows/core-pipeline.yml b/.github/workflows/core-pipeline.yml index b50a23d0d..6b9caae39 100644 --- a/.github/workflows/core-pipeline.yml +++ b/.github/workflows/core-pipeline.yml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + name: Core on: ["push"] diff --git a/.github/workflows/license.yaml b/.github/workflows/license.yaml new file mode 100644 index 000000000..eb2cc014d --- /dev/null +++ b/.github/workflows/license.yaml @@ -0,0 +1,27 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + +name: License +on: [ "push" ] +jobs: + license: + runs-on: ubuntu-latest + if: "!contains(github.event.head_commit.message, '[skip ci]')" + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-go@v2 + - name: license + run: | + export PATH=${PATH}:`go env GOPATH`/bin + make license diff --git a/.github/workflows/manager-pipeline.yml b/.github/workflows/manager-pipeline.yml index 76cf53014..9298e594c 100644 --- a/.github/workflows/manager-pipeline.yml +++ b/.github/workflows/manager-pipeline.yml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + name: Manager on: ["push"] diff --git a/.github/workflows/messages-pipeline.yml b/.github/workflows/messages-pipeline.yml index 458563354..30c972360 100644 --- a/.github/workflows/messages-pipeline.yml +++ b/.github/workflows/messages-pipeline.yml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + name: Messages on: ["push"] diff --git a/.github/workflows/migrations-pipeline.yml b/.github/workflows/migrations-pipeline.yml index aee2a5ff8..531aee36d 100644 --- a/.github/workflows/migrations-pipeline.yml +++ b/.github/workflows/migrations-pipeline.yml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + name: Migrations on: ["push"] diff --git a/.github/workflows/vulnerability-pipeline.yml b/.github/workflows/vulnerability-pipeline.yml index 1e19f7065..a8cef0462 100644 --- a/.github/workflows/vulnerability-pipeline.yml +++ b/.github/workflows/vulnerability-pipeline.yml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + name: Vulnerability on: ["push"] diff --git a/.github/workflows/webhook-pipeline.yml b/.github/workflows/webhook-pipeline.yml index c11fa40c1..5568680c3 100644 --- a/.github/workflows/webhook-pipeline.yml +++ b/.github/workflows/webhook-pipeline.yml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + name: Webhook on: ["push"] diff --git a/.semver.yaml b/.semver.yaml index 3f12fe752..3f0ea8d46 100644 --- a/.semver.yaml +++ b/.semver.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + alpha: 0 beta: 0 rc: 0 diff --git a/Makefile b/Makefile index bc9b5d729..8e0a9436e 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,8 @@ DOCKER_COMPOSE ?= docker-compose COMPOSE_FILE_NAME ?= compose.yaml COMPOSE_DEV_FILE_NAME ?= compose-dev.yaml +GO ?= go +ADDLICENSE ?= addlicense compose: compose-down compose-up @@ -60,3 +62,11 @@ run-web: stop-web: docker rm -f horusec-all-in-one + +license: + $(GO) get -u github.com/google/addlicense + @$(ADDLICENSE) -check -f ./copyright.txt $(shell find -not -path '*/manager/build*' -not -path '*/.git/*' -not -path '*/node_modules*' -regex '.*\.\(go\|js\|ts\|yml\|yaml\|sh\|dockerfile\)') + +license-fix: + $(GO) get -u github.com/google/addlicense + @$(ADDLICENSE) -f ./copyright.txt $(shell find -not -path '*/manager/build*' -not -path '*/.git/*' -not -path '*/node_modules*' -regex '.*\.\(go\|js\|ts\|yml\|yaml\|sh\|dockerfile\)') diff --git a/analytic/.golangci.yml b/analytic/.golangci.yml index 646cd9f31..719b53cbf 100644 --- a/analytic/.golangci.yml +++ b/analytic/.golangci.yml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + linters-settings: depguard: list-type: blacklist diff --git a/analytic/docs/swagger.yaml b/analytic/docs/swagger.yaml index 24a518acd..0fea6247d 100644 --- a/analytic/docs/swagger.yaml +++ b/analytic/docs/swagger.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + definitions: dashboard.Response: properties: diff --git a/analytic/internal/repositories/dashboard/repository.go b/analytic/internal/repositories/dashboard/repository.go index 50a62f22f..fa7377563 100644 --- a/analytic/internal/repositories/dashboard/repository.go +++ b/analytic/internal/repositories/dashboard/repository.go @@ -1,3 +1,17 @@ +// Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +// +// 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. + package dashboard import ( diff --git a/analytic/internal/repositories/dashboard/repository_test.go b/analytic/internal/repositories/dashboard/repository_test.go index a26ce3598..983f0d546 100644 --- a/analytic/internal/repositories/dashboard/repository_test.go +++ b/analytic/internal/repositories/dashboard/repository_test.go @@ -1,3 +1,17 @@ +// Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +// +// 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. + package dashboard import ( diff --git a/analytic/internal/repositories/dashboard/workspace.go b/analytic/internal/repositories/dashboard/workspace.go index b5735b501..ab0be0d2b 100644 --- a/analytic/internal/repositories/dashboard/workspace.go +++ b/analytic/internal/repositories/dashboard/workspace.go @@ -1,3 +1,17 @@ +// Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +// +// 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. + package dashboard import ( diff --git a/api/.golangci.yml b/api/.golangci.yml index c78489925..84dae915d 100644 --- a/api/.golangci.yml +++ b/api/.golangci.yml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + linters-settings: depguard: list-type: blacklist diff --git a/api/docs/swagger.yaml b/api/docs/swagger.yaml index 4df5bcad4..c0cf93caa 100644 --- a/api/docs/swagger.yaml +++ b/api/docs/swagger.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + definitions: analysis.Analysis: properties: diff --git a/api/internal/entities/core/repository.go b/api/internal/entities/core/repository.go index af37c309f..99d599871 100644 --- a/api/internal/entities/core/repository.go +++ b/api/internal/entities/core/repository.go @@ -1,3 +1,17 @@ +// Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +// +// 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. + package core import ( diff --git a/api/internal/entities/core/workspace.go b/api/internal/entities/core/workspace.go index 9c6711a39..91e3019b3 100644 --- a/api/internal/entities/core/workspace.go +++ b/api/internal/entities/core/workspace.go @@ -1,3 +1,17 @@ +// Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +// +// 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. + package core import ( diff --git a/auth/.golangci.yml b/auth/.golangci.yml index df6a22141..372c14023 100644 --- a/auth/.golangci.yml +++ b/auth/.golangci.yml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + linters-settings: depguard: list-type: blacklist diff --git a/auth/docs/swagger.yaml b/auth/docs/swagger.yaml index 4911de0f6..31b468891 100644 --- a/auth/docs/swagger.yaml +++ b/auth/docs/swagger.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + definitions: account.AccessToken: properties: diff --git a/core/.golangci.yml b/core/.golangci.yml index b8a2356c2..93f0296c9 100644 --- a/core/.golangci.yml +++ b/core/.golangci.yml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + linters-settings: depguard: list-type: blacklist diff --git a/core/docs/swagger.yaml b/core/docs/swagger.yaml index c5e0e85d3..c8ffa4f8a 100644 --- a/core/docs/swagger.yaml +++ b/core/docs/swagger.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + definitions: entities.Response: properties: diff --git a/deployments/helm/analytic/Chart.yaml b/deployments/helm/analytic/Chart.yaml index be51ce92e..74f9d5fdf 100644 --- a/deployments/helm/analytic/Chart.yaml +++ b/deployments/helm/analytic/Chart.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: v2 name: horusec-analytic-helm description: A Helm chart for Kubernetes diff --git a/deployments/helm/analytic/templates/V1toV2.yaml b/deployments/helm/analytic/templates/V1toV2.yaml index 40a95b60a..c83e0fa51 100644 --- a/deployments/helm/analytic/templates/V1toV2.yaml +++ b/deployments/helm/analytic/templates/V1toV2.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: batch/v1 kind: Job metadata: diff --git a/deployments/helm/analytic/templates/databasemigration.yaml b/deployments/helm/analytic/templates/databasemigration.yaml index c3f0d827b..f7b1473ef 100644 --- a/deployments/helm/analytic/templates/databasemigration.yaml +++ b/deployments/helm/analytic/templates/databasemigration.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: batch/v1 kind: Job metadata: diff --git a/deployments/helm/analytic/templates/deployment.yaml b/deployments/helm/analytic/templates/deployment.yaml index 9e43a1883..9f12314d3 100644 --- a/deployments/helm/analytic/templates/deployment.yaml +++ b/deployments/helm/analytic/templates/deployment.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: apps/v1 kind: Deployment metadata: diff --git a/deployments/helm/analytic/templates/hpa.yaml b/deployments/helm/analytic/templates/hpa.yaml index 7174b4648..b760fac38 100644 --- a/deployments/helm/analytic/templates/hpa.yaml +++ b/deployments/helm/analytic/templates/hpa.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + {{- if .Values.autoscaling.enabled }} apiVersion: autoscaling/v2beta1 kind: HorizontalPodAutoscaler diff --git a/deployments/helm/analytic/templates/ingress.yaml b/deployments/helm/analytic/templates/ingress.yaml index 98b99f717..c8a41e271 100644 --- a/deployments/helm/analytic/templates/ingress.yaml +++ b/deployments/helm/analytic/templates/ingress.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + {{- if .Values.ingress.enabled -}} {{- $fullName := include "horusec-analytic-helm.fullname" . -}} {{- $svcPort := .Values.service.port -}} diff --git a/deployments/helm/analytic/templates/service.yaml b/deployments/helm/analytic/templates/service.yaml index d9bf3cdfb..cdb1303fc 100644 --- a/deployments/helm/analytic/templates/service.yaml +++ b/deployments/helm/analytic/templates/service.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: v1 kind: Service metadata: diff --git a/deployments/helm/analytic/templates/serviceaccount.yaml b/deployments/helm/analytic/templates/serviceaccount.yaml index 515204b26..6634d8bef 100644 --- a/deployments/helm/analytic/templates/serviceaccount.yaml +++ b/deployments/helm/analytic/templates/serviceaccount.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + {{- if .Values.serviceAccount.create -}} apiVersion: v1 kind: ServiceAccount diff --git a/deployments/helm/analytic/templates/tests/test-connection.yaml b/deployments/helm/analytic/templates/tests/test-connection.yaml index d6fd01059..383ee8175 100644 --- a/deployments/helm/analytic/templates/tests/test-connection.yaml +++ b/deployments/helm/analytic/templates/tests/test-connection.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: v1 kind: Pod metadata: diff --git a/deployments/helm/analytic/values.yaml b/deployments/helm/analytic/values.yaml index f25feb77a..b2fa2c9c0 100644 --- a/deployments/helm/analytic/values.yaml +++ b/deployments/helm/analytic/values.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + replicaCount: 1 image: diff --git a/deployments/helm/api/Chart.yaml b/deployments/helm/api/Chart.yaml index 2d4f42048..9a182f4ed 100644 --- a/deployments/helm/api/Chart.yaml +++ b/deployments/helm/api/Chart.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: v2 name: horusec-api-helm description: A Helm chart for Kubernetes diff --git a/deployments/helm/api/templates/V1toV2.yaml b/deployments/helm/api/templates/V1toV2.yaml index 1c2e79cf4..25c96e990 100644 --- a/deployments/helm/api/templates/V1toV2.yaml +++ b/deployments/helm/api/templates/V1toV2.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: batch/v1 kind: Job metadata: diff --git a/deployments/helm/api/templates/databasemigration.yaml b/deployments/helm/api/templates/databasemigration.yaml index 036b838b3..bae1f807d 100644 --- a/deployments/helm/api/templates/databasemigration.yaml +++ b/deployments/helm/api/templates/databasemigration.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: batch/v1 kind: Job metadata: diff --git a/deployments/helm/api/templates/deployment.yaml b/deployments/helm/api/templates/deployment.yaml index 20743c04f..d165bffd4 100644 --- a/deployments/helm/api/templates/deployment.yaml +++ b/deployments/helm/api/templates/deployment.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: apps/v1 kind: Deployment metadata: diff --git a/deployments/helm/api/templates/hpa.yaml b/deployments/helm/api/templates/hpa.yaml index 25d907465..f853894bc 100644 --- a/deployments/helm/api/templates/hpa.yaml +++ b/deployments/helm/api/templates/hpa.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + {{- if .Values.autoscaling.enabled }} apiVersion: autoscaling/v2beta1 kind: HorizontalPodAutoscaler diff --git a/deployments/helm/api/templates/ingress.yaml b/deployments/helm/api/templates/ingress.yaml index 439386406..1106222fa 100644 --- a/deployments/helm/api/templates/ingress.yaml +++ b/deployments/helm/api/templates/ingress.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + {{- if .Values.ingress.enabled -}} {{- $fullName := include "horusec-api-helm.fullname" . -}} {{- $svcPort := .Values.service.port -}} diff --git a/deployments/helm/api/templates/service.yaml b/deployments/helm/api/templates/service.yaml index a72c3dd93..fb1952b4c 100644 --- a/deployments/helm/api/templates/service.yaml +++ b/deployments/helm/api/templates/service.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: v1 kind: Service metadata: diff --git a/deployments/helm/api/templates/serviceaccount.yaml b/deployments/helm/api/templates/serviceaccount.yaml index 0b373cd5b..0cdd407cd 100644 --- a/deployments/helm/api/templates/serviceaccount.yaml +++ b/deployments/helm/api/templates/serviceaccount.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + {{- if .Values.serviceAccount.create -}} apiVersion: v1 kind: ServiceAccount diff --git a/deployments/helm/api/templates/tests/test-connection.yaml b/deployments/helm/api/templates/tests/test-connection.yaml index 2cb3ce6bd..88fff8726 100644 --- a/deployments/helm/api/templates/tests/test-connection.yaml +++ b/deployments/helm/api/templates/tests/test-connection.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: v1 kind: Pod metadata: diff --git a/deployments/helm/api/values.yaml b/deployments/helm/api/values.yaml index 03b7b3d56..aa0afc065 100644 --- a/deployments/helm/api/values.yaml +++ b/deployments/helm/api/values.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + replicaCount: 1 image: diff --git a/deployments/helm/auth/Chart.yaml b/deployments/helm/auth/Chart.yaml index 2ac5e4cf8..0098c9e2f 100644 --- a/deployments/helm/auth/Chart.yaml +++ b/deployments/helm/auth/Chart.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: v2 name: horusec-auth-helm description: A Helm chart for Kubernetes diff --git a/deployments/helm/auth/templates/databasemigration.yaml b/deployments/helm/auth/templates/databasemigration.yaml index 036b838b3..bae1f807d 100644 --- a/deployments/helm/auth/templates/databasemigration.yaml +++ b/deployments/helm/auth/templates/databasemigration.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: batch/v1 kind: Job metadata: diff --git a/deployments/helm/auth/templates/deployment.yaml b/deployments/helm/auth/templates/deployment.yaml index 7c41a75d4..1bbb55cfb 100644 --- a/deployments/helm/auth/templates/deployment.yaml +++ b/deployments/helm/auth/templates/deployment.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: apps/v1 kind: Deployment metadata: diff --git a/deployments/helm/auth/templates/hpa.yaml b/deployments/helm/auth/templates/hpa.yaml index 0f11f0e78..8f1af783b 100644 --- a/deployments/helm/auth/templates/hpa.yaml +++ b/deployments/helm/auth/templates/hpa.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + {{- if .Values.autoscaling.enabled }} apiVersion: autoscaling/v2beta1 kind: HorizontalPodAutoscaler diff --git a/deployments/helm/auth/templates/ingress.yaml b/deployments/helm/auth/templates/ingress.yaml index 0ed6779ae..479bd86c7 100644 --- a/deployments/helm/auth/templates/ingress.yaml +++ b/deployments/helm/auth/templates/ingress.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + {{- if .Values.ingress.enabled -}} {{- $fullName := include "horusec-auth-helm.fullname" . -}} {{- $svcPort := .Values.service.port -}} diff --git a/deployments/helm/auth/templates/service.yaml b/deployments/helm/auth/templates/service.yaml index a34bfb192..c82e6016b 100644 --- a/deployments/helm/auth/templates/service.yaml +++ b/deployments/helm/auth/templates/service.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: v1 kind: Service metadata: diff --git a/deployments/helm/auth/templates/serviceaccount.yaml b/deployments/helm/auth/templates/serviceaccount.yaml index 06ee5acd5..725e86735 100644 --- a/deployments/helm/auth/templates/serviceaccount.yaml +++ b/deployments/helm/auth/templates/serviceaccount.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + {{- if .Values.serviceAccount.create -}} apiVersion: v1 kind: ServiceAccount diff --git a/deployments/helm/auth/templates/tests/test-connection.yaml b/deployments/helm/auth/templates/tests/test-connection.yaml index d681d158e..a21041815 100644 --- a/deployments/helm/auth/templates/tests/test-connection.yaml +++ b/deployments/helm/auth/templates/tests/test-connection.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: v1 kind: Pod metadata: diff --git a/deployments/helm/auth/values.yaml b/deployments/helm/auth/values.yaml index 904121a6d..344853636 100644 --- a/deployments/helm/auth/values.yaml +++ b/deployments/helm/auth/values.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + replicaCount: 1 image: diff --git a/deployments/helm/core/Chart.yaml b/deployments/helm/core/Chart.yaml index db25ece6a..5c8ffb013 100644 --- a/deployments/helm/core/Chart.yaml +++ b/deployments/helm/core/Chart.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: v2 name: horusec-core-helm description: A Helm chart for Kubernetes diff --git a/deployments/helm/core/templates/databasemigration.yaml b/deployments/helm/core/templates/databasemigration.yaml index 036b838b3..bae1f807d 100644 --- a/deployments/helm/core/templates/databasemigration.yaml +++ b/deployments/helm/core/templates/databasemigration.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: batch/v1 kind: Job metadata: diff --git a/deployments/helm/core/templates/deployment.yaml b/deployments/helm/core/templates/deployment.yaml index 4520a06f6..86f42e250 100644 --- a/deployments/helm/core/templates/deployment.yaml +++ b/deployments/helm/core/templates/deployment.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: apps/v1 kind: Deployment metadata: diff --git a/deployments/helm/core/templates/hpa.yaml b/deployments/helm/core/templates/hpa.yaml index a9b63eaa3..cc6dd0f25 100644 --- a/deployments/helm/core/templates/hpa.yaml +++ b/deployments/helm/core/templates/hpa.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + {{- if .Values.autoscaling.enabled }} apiVersion: autoscaling/v2beta1 kind: HorizontalPodAutoscaler diff --git a/deployments/helm/core/templates/ingress.yaml b/deployments/helm/core/templates/ingress.yaml index ad64eaf2d..41bd335a0 100644 --- a/deployments/helm/core/templates/ingress.yaml +++ b/deployments/helm/core/templates/ingress.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + {{- if .Values.ingress.enabled -}} {{- $fullName := include "horusec-core-helm.fullname" . -}} {{- $svcPort := .Values.service.port -}} diff --git a/deployments/helm/core/templates/service.yaml b/deployments/helm/core/templates/service.yaml index 5511493fb..712c4ea91 100644 --- a/deployments/helm/core/templates/service.yaml +++ b/deployments/helm/core/templates/service.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: v1 kind: Service metadata: diff --git a/deployments/helm/core/templates/serviceaccount.yaml b/deployments/helm/core/templates/serviceaccount.yaml index 86551c453..4ac870289 100644 --- a/deployments/helm/core/templates/serviceaccount.yaml +++ b/deployments/helm/core/templates/serviceaccount.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + {{- if .Values.serviceAccount.create -}} apiVersion: v1 kind: ServiceAccount diff --git a/deployments/helm/core/values.yaml b/deployments/helm/core/values.yaml index 1a0a47156..073ce3a96 100644 --- a/deployments/helm/core/values.yaml +++ b/deployments/helm/core/values.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + replicaCount: 1 image: diff --git a/deployments/helm/horusec-platform/Chart.yaml b/deployments/helm/horusec-platform/Chart.yaml index 96382405e..28d346d8b 100644 --- a/deployments/helm/horusec-platform/Chart.yaml +++ b/deployments/helm/horusec-platform/Chart.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: v2 name: horusec-platform description: A Helm chart for Kubernetes diff --git a/deployments/helm/horusec-platform/templates/deployments/analytic.yaml b/deployments/helm/horusec-platform/templates/deployments/analytic.yaml index fa42b72e0..d64ba37f1 100644 --- a/deployments/helm/horusec-platform/templates/deployments/analytic.yaml +++ b/deployments/helm/horusec-platform/templates/deployments/analytic.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: {{ include "deployment.apiVersion" . }} kind: Deployment metadata: diff --git a/deployments/helm/horusec-platform/templates/deployments/api.yaml b/deployments/helm/horusec-platform/templates/deployments/api.yaml index 2313a6c6d..7f479f0c6 100644 --- a/deployments/helm/horusec-platform/templates/deployments/api.yaml +++ b/deployments/helm/horusec-platform/templates/deployments/api.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: {{ include "deployment.apiVersion" . }} kind: Deployment metadata: diff --git a/deployments/helm/horusec-platform/templates/deployments/auth.yaml b/deployments/helm/horusec-platform/templates/deployments/auth.yaml index cbc58cfc7..7539ad041 100644 --- a/deployments/helm/horusec-platform/templates/deployments/auth.yaml +++ b/deployments/helm/horusec-platform/templates/deployments/auth.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: {{ include "deployment.apiVersion" . }} kind: Deployment metadata: diff --git a/deployments/helm/horusec-platform/templates/deployments/core.yaml b/deployments/helm/horusec-platform/templates/deployments/core.yaml index a98d9e798..14adeaa51 100644 --- a/deployments/helm/horusec-platform/templates/deployments/core.yaml +++ b/deployments/helm/horusec-platform/templates/deployments/core.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: {{ include "deployment.apiVersion" . }} kind: Deployment metadata: diff --git a/deployments/helm/horusec-platform/templates/deployments/manager.yaml b/deployments/helm/horusec-platform/templates/deployments/manager.yaml index 2a7cc7117..4efa30bf2 100644 --- a/deployments/helm/horusec-platform/templates/deployments/manager.yaml +++ b/deployments/helm/horusec-platform/templates/deployments/manager.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: {{ include "deployment.apiVersion" . }} kind: Deployment metadata: diff --git a/deployments/helm/horusec-platform/templates/deployments/messages.yaml b/deployments/helm/horusec-platform/templates/deployments/messages.yaml index 0acd13786..01b602f84 100644 --- a/deployments/helm/horusec-platform/templates/deployments/messages.yaml +++ b/deployments/helm/horusec-platform/templates/deployments/messages.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + {{- if .Values.components.messages.enabled }} apiVersion: {{ include "deployment.apiVersion" . }} kind: Deployment diff --git a/deployments/helm/horusec-platform/templates/deployments/vulnerability.yaml b/deployments/helm/horusec-platform/templates/deployments/vulnerability.yaml index e9776b7e4..e8a3f597b 100644 --- a/deployments/helm/horusec-platform/templates/deployments/vulnerability.yaml +++ b/deployments/helm/horusec-platform/templates/deployments/vulnerability.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: {{ include "deployment.apiVersion" . }} kind: Deployment metadata: diff --git a/deployments/helm/horusec-platform/templates/deployments/webhook.yaml b/deployments/helm/horusec-platform/templates/deployments/webhook.yaml index e9a587e3c..278f20e96 100644 --- a/deployments/helm/horusec-platform/templates/deployments/webhook.yaml +++ b/deployments/helm/horusec-platform/templates/deployments/webhook.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: {{ include "deployment.apiVersion" . }} kind: Deployment metadata: diff --git a/deployments/helm/horusec-platform/templates/horizontalpodautoscalers/analytic.yaml b/deployments/helm/horusec-platform/templates/horizontalpodautoscalers/analytic.yaml index c87cc8290..b60a25e85 100644 --- a/deployments/helm/horusec-platform/templates/horizontalpodautoscalers/analytic.yaml +++ b/deployments/helm/horusec-platform/templates/horizontalpodautoscalers/analytic.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + {{- if .Values.components.analytic.pod.autoscaling.enabled }} apiVersion: autoscaling/v2beta1 kind: HorizontalPodAutoscaler diff --git a/deployments/helm/horusec-platform/templates/horizontalpodautoscalers/api.yaml b/deployments/helm/horusec-platform/templates/horizontalpodautoscalers/api.yaml index f90c9d8e7..80b3d270d 100644 --- a/deployments/helm/horusec-platform/templates/horizontalpodautoscalers/api.yaml +++ b/deployments/helm/horusec-platform/templates/horizontalpodautoscalers/api.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + {{- if .Values.components.api.pod.autoscaling.enabled }} apiVersion: autoscaling/v2beta1 kind: HorizontalPodAutoscaler diff --git a/deployments/helm/horusec-platform/templates/horizontalpodautoscalers/auth.yaml b/deployments/helm/horusec-platform/templates/horizontalpodautoscalers/auth.yaml index 3876949c0..cff761269 100644 --- a/deployments/helm/horusec-platform/templates/horizontalpodautoscalers/auth.yaml +++ b/deployments/helm/horusec-platform/templates/horizontalpodautoscalers/auth.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + {{- if .Values.components.auth.pod.autoscaling.enabled }} apiVersion: autoscaling/v2beta1 kind: HorizontalPodAutoscaler diff --git a/deployments/helm/horusec-platform/templates/horizontalpodautoscalers/core.yaml b/deployments/helm/horusec-platform/templates/horizontalpodautoscalers/core.yaml index 5cd3cbe82..0e1708f7c 100644 --- a/deployments/helm/horusec-platform/templates/horizontalpodautoscalers/core.yaml +++ b/deployments/helm/horusec-platform/templates/horizontalpodautoscalers/core.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + {{- if .Values.components.core.pod.autoscaling.enabled }} apiVersion: autoscaling/v2beta1 kind: HorizontalPodAutoscaler diff --git a/deployments/helm/horusec-platform/templates/horizontalpodautoscalers/manager.yaml b/deployments/helm/horusec-platform/templates/horizontalpodautoscalers/manager.yaml index 18822d9b5..177216962 100644 --- a/deployments/helm/horusec-platform/templates/horizontalpodautoscalers/manager.yaml +++ b/deployments/helm/horusec-platform/templates/horizontalpodautoscalers/manager.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + {{- if .Values.components.manager.pod.autoscaling.enabled }} apiVersion: autoscaling/v2beta1 kind: HorizontalPodAutoscaler diff --git a/deployments/helm/horusec-platform/templates/horizontalpodautoscalers/messages.yaml b/deployments/helm/horusec-platform/templates/horizontalpodautoscalers/messages.yaml index a6f620c37..9771b6373 100644 --- a/deployments/helm/horusec-platform/templates/horizontalpodautoscalers/messages.yaml +++ b/deployments/helm/horusec-platform/templates/horizontalpodautoscalers/messages.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + {{- if .Values.components.messages.pod.autoscaling.enabled }} apiVersion: autoscaling/v2beta1 kind: HorizontalPodAutoscaler diff --git a/deployments/helm/horusec-platform/templates/horizontalpodautoscalers/vulnerability.yaml b/deployments/helm/horusec-platform/templates/horizontalpodautoscalers/vulnerability.yaml index 07ff28b28..b65412d25 100644 --- a/deployments/helm/horusec-platform/templates/horizontalpodautoscalers/vulnerability.yaml +++ b/deployments/helm/horusec-platform/templates/horizontalpodautoscalers/vulnerability.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + {{- if .Values.components.vulnerability.pod.autoscaling.enabled }} apiVersion: autoscaling/v2beta1 kind: HorizontalPodAutoscaler diff --git a/deployments/helm/horusec-platform/templates/horizontalpodautoscalers/webhook.yaml b/deployments/helm/horusec-platform/templates/horizontalpodautoscalers/webhook.yaml index 9a2b4e4a8..a9c4f2e1e 100644 --- a/deployments/helm/horusec-platform/templates/horizontalpodautoscalers/webhook.yaml +++ b/deployments/helm/horusec-platform/templates/horizontalpodautoscalers/webhook.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + {{- if .Values.components.webhook.pod.autoscaling.enabled }} apiVersion: autoscaling/v2beta1 kind: HorizontalPodAutoscaler diff --git a/deployments/helm/horusec-platform/templates/ingresses/horusec.yaml b/deployments/helm/horusec-platform/templates/ingresses/horusec.yaml index 9a2c468d7..897436212 100644 --- a/deployments/helm/horusec-platform/templates/ingresses/horusec.yaml +++ b/deployments/helm/horusec-platform/templates/ingresses/horusec.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + {{- if (include "ingress.enabled" .) }} apiVersion: {{ include "ingress.apiVersion" . }} kind: Ingress diff --git a/deployments/helm/horusec-platform/templates/jobs/analytic-migration.yaml b/deployments/helm/horusec-platform/templates/jobs/analytic-migration.yaml index 62e7c3ede..f60eced5a 100644 --- a/deployments/helm/horusec-platform/templates/jobs/analytic-migration.yaml +++ b/deployments/helm/horusec-platform/templates/jobs/analytic-migration.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: batch/v1 kind: Job metadata: diff --git a/deployments/helm/horusec-platform/templates/jobs/platform-migration.yaml b/deployments/helm/horusec-platform/templates/jobs/platform-migration.yaml index 7fb35920c..5e2ab30bb 100644 --- a/deployments/helm/horusec-platform/templates/jobs/platform-migration.yaml +++ b/deployments/helm/horusec-platform/templates/jobs/platform-migration.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: batch/v1 kind: Job metadata: diff --git a/deployments/helm/horusec-platform/templates/serviceaccounts/analytic.yaml b/deployments/helm/horusec-platform/templates/serviceaccounts/analytic.yaml index a09771e3c..8684c621c 100644 --- a/deployments/helm/horusec-platform/templates/serviceaccounts/analytic.yaml +++ b/deployments/helm/horusec-platform/templates/serviceaccounts/analytic.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: v1 kind: ServiceAccount metadata: diff --git a/deployments/helm/horusec-platform/templates/serviceaccounts/api.yaml b/deployments/helm/horusec-platform/templates/serviceaccounts/api.yaml index ab7c63591..010cf5575 100644 --- a/deployments/helm/horusec-platform/templates/serviceaccounts/api.yaml +++ b/deployments/helm/horusec-platform/templates/serviceaccounts/api.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: v1 kind: ServiceAccount metadata: diff --git a/deployments/helm/horusec-platform/templates/serviceaccounts/auth.yaml b/deployments/helm/horusec-platform/templates/serviceaccounts/auth.yaml index ecfeaa42c..c49f37645 100644 --- a/deployments/helm/horusec-platform/templates/serviceaccounts/auth.yaml +++ b/deployments/helm/horusec-platform/templates/serviceaccounts/auth.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: v1 kind: ServiceAccount metadata: diff --git a/deployments/helm/horusec-platform/templates/serviceaccounts/core.yaml b/deployments/helm/horusec-platform/templates/serviceaccounts/core.yaml index 70052c368..8ac5aeb53 100644 --- a/deployments/helm/horusec-platform/templates/serviceaccounts/core.yaml +++ b/deployments/helm/horusec-platform/templates/serviceaccounts/core.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: v1 kind: ServiceAccount metadata: diff --git a/deployments/helm/horusec-platform/templates/serviceaccounts/manager.yaml b/deployments/helm/horusec-platform/templates/serviceaccounts/manager.yaml index 31a986512..0543ea5fc 100644 --- a/deployments/helm/horusec-platform/templates/serviceaccounts/manager.yaml +++ b/deployments/helm/horusec-platform/templates/serviceaccounts/manager.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: v1 kind: ServiceAccount metadata: diff --git a/deployments/helm/horusec-platform/templates/serviceaccounts/messages.yaml b/deployments/helm/horusec-platform/templates/serviceaccounts/messages.yaml index 1c823a98d..1b6a9ba14 100644 --- a/deployments/helm/horusec-platform/templates/serviceaccounts/messages.yaml +++ b/deployments/helm/horusec-platform/templates/serviceaccounts/messages.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + {{- if .Values.components.messages.enabled }} apiVersion: v1 kind: ServiceAccount diff --git a/deployments/helm/horusec-platform/templates/serviceaccounts/vulnerability.yaml b/deployments/helm/horusec-platform/templates/serviceaccounts/vulnerability.yaml index c49770521..605a51026 100644 --- a/deployments/helm/horusec-platform/templates/serviceaccounts/vulnerability.yaml +++ b/deployments/helm/horusec-platform/templates/serviceaccounts/vulnerability.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: v1 kind: ServiceAccount metadata: diff --git a/deployments/helm/horusec-platform/templates/serviceaccounts/webhook.yaml b/deployments/helm/horusec-platform/templates/serviceaccounts/webhook.yaml index 1bae78449..e3766cbeb 100644 --- a/deployments/helm/horusec-platform/templates/serviceaccounts/webhook.yaml +++ b/deployments/helm/horusec-platform/templates/serviceaccounts/webhook.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: v1 kind: ServiceAccount metadata: diff --git a/deployments/helm/horusec-platform/templates/services/analytic.yaml b/deployments/helm/horusec-platform/templates/services/analytic.yaml index 3a8826386..9ca9d7a9a 100644 --- a/deployments/helm/horusec-platform/templates/services/analytic.yaml +++ b/deployments/helm/horusec-platform/templates/services/analytic.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: v1 kind: Service metadata: diff --git a/deployments/helm/horusec-platform/templates/services/api.yaml b/deployments/helm/horusec-platform/templates/services/api.yaml index 3c4332bf5..ced696bd1 100644 --- a/deployments/helm/horusec-platform/templates/services/api.yaml +++ b/deployments/helm/horusec-platform/templates/services/api.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: v1 kind: Service metadata: diff --git a/deployments/helm/horusec-platform/templates/services/auth.yaml b/deployments/helm/horusec-platform/templates/services/auth.yaml index a5f5893b1..ef9c013a4 100644 --- a/deployments/helm/horusec-platform/templates/services/auth.yaml +++ b/deployments/helm/horusec-platform/templates/services/auth.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: v1 kind: Service metadata: diff --git a/deployments/helm/horusec-platform/templates/services/core.yaml b/deployments/helm/horusec-platform/templates/services/core.yaml index 67a711305..8b4688580 100644 --- a/deployments/helm/horusec-platform/templates/services/core.yaml +++ b/deployments/helm/horusec-platform/templates/services/core.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: v1 kind: Service metadata: diff --git a/deployments/helm/horusec-platform/templates/services/manager.yaml b/deployments/helm/horusec-platform/templates/services/manager.yaml index 2ca22eba8..8f17b5326 100644 --- a/deployments/helm/horusec-platform/templates/services/manager.yaml +++ b/deployments/helm/horusec-platform/templates/services/manager.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: v1 kind: Service metadata: diff --git a/deployments/helm/horusec-platform/templates/services/messages.yaml b/deployments/helm/horusec-platform/templates/services/messages.yaml index d891dab0d..e489119b9 100644 --- a/deployments/helm/horusec-platform/templates/services/messages.yaml +++ b/deployments/helm/horusec-platform/templates/services/messages.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + {{- if .Values.components.messages.enabled }} apiVersion: v1 kind: Service diff --git a/deployments/helm/horusec-platform/templates/services/vulnerability.yaml b/deployments/helm/horusec-platform/templates/services/vulnerability.yaml index 5f886eab5..5eab20149 100644 --- a/deployments/helm/horusec-platform/templates/services/vulnerability.yaml +++ b/deployments/helm/horusec-platform/templates/services/vulnerability.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: v1 kind: Service metadata: diff --git a/deployments/helm/horusec-platform/templates/services/webhook.yaml b/deployments/helm/horusec-platform/templates/services/webhook.yaml index 954448390..c75ae6c18 100644 --- a/deployments/helm/horusec-platform/templates/services/webhook.yaml +++ b/deployments/helm/horusec-platform/templates/services/webhook.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: v1 kind: Service metadata: diff --git a/deployments/helm/horusec-platform/values.yaml b/deployments/helm/horusec-platform/values.yaml index 92e6d43a1..4608358a7 100644 --- a/deployments/helm/horusec-platform/values.yaml +++ b/deployments/helm/horusec-platform/values.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + components: analytic: container: diff --git a/deployments/helm/manager/Chart.yaml b/deployments/helm/manager/Chart.yaml index 75aa749f5..19d1db76d 100644 --- a/deployments/helm/manager/Chart.yaml +++ b/deployments/helm/manager/Chart.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: v2 name: horusec-manager description: A Helm chart for Kubernetes diff --git a/deployments/helm/manager/templates/deployment.yaml b/deployments/helm/manager/templates/deployment.yaml index 34e586906..fb5a3eeb0 100644 --- a/deployments/helm/manager/templates/deployment.yaml +++ b/deployments/helm/manager/templates/deployment.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: apps/v1 kind: Deployment metadata: diff --git a/deployments/helm/manager/templates/hpa.yaml b/deployments/helm/manager/templates/hpa.yaml index c09c150c3..4b3ff16e0 100644 --- a/deployments/helm/manager/templates/hpa.yaml +++ b/deployments/helm/manager/templates/hpa.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + {{- if .Values.autoscaling.enabled }} apiVersion: autoscaling/v2beta1 kind: HorizontalPodAutoscaler diff --git a/deployments/helm/manager/templates/ingress.yaml b/deployments/helm/manager/templates/ingress.yaml index 0afdd6dc9..84f771583 100644 --- a/deployments/helm/manager/templates/ingress.yaml +++ b/deployments/helm/manager/templates/ingress.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + {{- if .Values.ingress.enabled -}} {{- $fullName := include "horusec-manager.fullname" . -}} {{- $svcPort := .Values.service.port -}} diff --git a/deployments/helm/manager/templates/service.yaml b/deployments/helm/manager/templates/service.yaml index 234c047f0..b8e4c3b79 100644 --- a/deployments/helm/manager/templates/service.yaml +++ b/deployments/helm/manager/templates/service.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: v1 kind: Service metadata: diff --git a/deployments/helm/manager/templates/serviceaccount.yaml b/deployments/helm/manager/templates/serviceaccount.yaml index 7a7a4a947..b9aa8062a 100644 --- a/deployments/helm/manager/templates/serviceaccount.yaml +++ b/deployments/helm/manager/templates/serviceaccount.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + {{- if .Values.serviceAccount.create -}} apiVersion: v1 kind: ServiceAccount diff --git a/deployments/helm/manager/templates/tests/test-connection.yaml b/deployments/helm/manager/templates/tests/test-connection.yaml index b504f8b60..de824d76a 100644 --- a/deployments/helm/manager/templates/tests/test-connection.yaml +++ b/deployments/helm/manager/templates/tests/test-connection.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: v1 kind: Pod metadata: diff --git a/deployments/helm/manager/values.yaml b/deployments/helm/manager/values.yaml index ab66e7c6e..cbed5fafc 100644 --- a/deployments/helm/manager/values.yaml +++ b/deployments/helm/manager/values.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + replicaCount: 1 image: diff --git a/deployments/helm/messages/Chart.yaml b/deployments/helm/messages/Chart.yaml index 75c143ce3..0e9bba9ea 100644 --- a/deployments/helm/messages/Chart.yaml +++ b/deployments/helm/messages/Chart.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: v2 name: horusec-messages description: A Helm chart for Kubernetes diff --git a/deployments/helm/messages/templates/deployment.yaml b/deployments/helm/messages/templates/deployment.yaml index 03484c07f..f89e82d34 100644 --- a/deployments/helm/messages/templates/deployment.yaml +++ b/deployments/helm/messages/templates/deployment.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: apps/v1 kind: Deployment metadata: diff --git a/deployments/helm/messages/templates/hpa.yaml b/deployments/helm/messages/templates/hpa.yaml index fd04de171..eea28b908 100644 --- a/deployments/helm/messages/templates/hpa.yaml +++ b/deployments/helm/messages/templates/hpa.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + {{- if .Values.autoscaling.enabled }} apiVersion: autoscaling/v2beta1 kind: HorizontalPodAutoscaler diff --git a/deployments/helm/messages/templates/ingress.yaml b/deployments/helm/messages/templates/ingress.yaml index 5b6ccbcd2..eea7c7f93 100644 --- a/deployments/helm/messages/templates/ingress.yaml +++ b/deployments/helm/messages/templates/ingress.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + {{- if .Values.ingress.enabled -}} {{- $fullName := include "horusec-messages.fullname" . -}} {{- $svcPort := .Values.service.port -}} diff --git a/deployments/helm/messages/templates/service.yaml b/deployments/helm/messages/templates/service.yaml index 4f3de973c..67e38b222 100644 --- a/deployments/helm/messages/templates/service.yaml +++ b/deployments/helm/messages/templates/service.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: v1 kind: Service metadata: diff --git a/deployments/helm/messages/templates/serviceaccount.yaml b/deployments/helm/messages/templates/serviceaccount.yaml index 8cd580bcd..c139fa428 100644 --- a/deployments/helm/messages/templates/serviceaccount.yaml +++ b/deployments/helm/messages/templates/serviceaccount.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + {{- if .Values.serviceAccount.create -}} apiVersion: v1 kind: ServiceAccount diff --git a/deployments/helm/messages/templates/tests/test-connection.yaml b/deployments/helm/messages/templates/tests/test-connection.yaml index 6d14c3b5e..8d9264ebb 100644 --- a/deployments/helm/messages/templates/tests/test-connection.yaml +++ b/deployments/helm/messages/templates/tests/test-connection.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: v1 kind: Pod metadata: diff --git a/deployments/helm/messages/values.yaml b/deployments/helm/messages/values.yaml index 4c936df39..4b335a990 100644 --- a/deployments/helm/messages/values.yaml +++ b/deployments/helm/messages/values.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + replicaCount: 1 image: diff --git a/deployments/helm/vulnerability/Chart.yaml b/deployments/helm/vulnerability/Chart.yaml index 92c215641..ab9ad65d9 100644 --- a/deployments/helm/vulnerability/Chart.yaml +++ b/deployments/helm/vulnerability/Chart.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: v2 name: horusec-vulnerability-helm description: A Helm chart for Kubernetes diff --git a/deployments/helm/vulnerability/templates/databasemigration.yaml b/deployments/helm/vulnerability/templates/databasemigration.yaml index 036b838b3..bae1f807d 100644 --- a/deployments/helm/vulnerability/templates/databasemigration.yaml +++ b/deployments/helm/vulnerability/templates/databasemigration.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: batch/v1 kind: Job metadata: diff --git a/deployments/helm/vulnerability/templates/deployment.yaml b/deployments/helm/vulnerability/templates/deployment.yaml index 56eb2c67a..f5c26c272 100644 --- a/deployments/helm/vulnerability/templates/deployment.yaml +++ b/deployments/helm/vulnerability/templates/deployment.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: apps/v1 kind: Deployment metadata: diff --git a/deployments/helm/vulnerability/templates/hpa.yaml b/deployments/helm/vulnerability/templates/hpa.yaml index bd91bd126..88791fe09 100644 --- a/deployments/helm/vulnerability/templates/hpa.yaml +++ b/deployments/helm/vulnerability/templates/hpa.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + {{- if .Values.autoscaling.enabled }} apiVersion: autoscaling/v2beta1 kind: HorizontalPodAutoscaler diff --git a/deployments/helm/vulnerability/templates/ingress.yaml b/deployments/helm/vulnerability/templates/ingress.yaml index fe7786688..3268522c1 100644 --- a/deployments/helm/vulnerability/templates/ingress.yaml +++ b/deployments/helm/vulnerability/templates/ingress.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + {{- if .Values.ingress.enabled -}} {{- $fullName := include "horusec-vulnerability-helm.fullname" . -}} {{- $svcPort := .Values.service.port -}} diff --git a/deployments/helm/vulnerability/templates/service.yaml b/deployments/helm/vulnerability/templates/service.yaml index 970a2138b..050518831 100644 --- a/deployments/helm/vulnerability/templates/service.yaml +++ b/deployments/helm/vulnerability/templates/service.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: v1 kind: Service metadata: diff --git a/deployments/helm/vulnerability/templates/serviceaccount.yaml b/deployments/helm/vulnerability/templates/serviceaccount.yaml index 4b8e9a66c..b695eef2a 100644 --- a/deployments/helm/vulnerability/templates/serviceaccount.yaml +++ b/deployments/helm/vulnerability/templates/serviceaccount.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + {{- if .Values.serviceAccount.create -}} apiVersion: v1 kind: ServiceAccount diff --git a/deployments/helm/vulnerability/values.yaml b/deployments/helm/vulnerability/values.yaml index 81a6e4088..e324cece4 100644 --- a/deployments/helm/vulnerability/values.yaml +++ b/deployments/helm/vulnerability/values.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + replicaCount: 1 image: diff --git a/deployments/helm/webhook/Chart.yaml b/deployments/helm/webhook/Chart.yaml index 6e9ca1e64..5907bb44c 100644 --- a/deployments/helm/webhook/Chart.yaml +++ b/deployments/helm/webhook/Chart.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: v2 name: horusec-webhook-helm description: A Helm chart for Kubernetes diff --git a/deployments/helm/webhook/templates/deployment.yaml b/deployments/helm/webhook/templates/deployment.yaml index 77fa19161..7c0de28d0 100644 --- a/deployments/helm/webhook/templates/deployment.yaml +++ b/deployments/helm/webhook/templates/deployment.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: apps/v1 kind: Deployment metadata: diff --git a/deployments/helm/webhook/templates/hpa.yaml b/deployments/helm/webhook/templates/hpa.yaml index 0f59f4f4a..b68fc2de2 100644 --- a/deployments/helm/webhook/templates/hpa.yaml +++ b/deployments/helm/webhook/templates/hpa.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + {{- if .Values.autoscaling.enabled }} apiVersion: autoscaling/v2beta1 kind: HorizontalPodAutoscaler diff --git a/deployments/helm/webhook/templates/ingress.yaml b/deployments/helm/webhook/templates/ingress.yaml index 907f29bf7..ba4136169 100644 --- a/deployments/helm/webhook/templates/ingress.yaml +++ b/deployments/helm/webhook/templates/ingress.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + {{- if .Values.ingress.enabled -}} {{- $fullName := include "horusec-webhook-helm.fullname" . -}} {{- $svcPort := .Values.service.port -}} diff --git a/deployments/helm/webhook/templates/service.yaml b/deployments/helm/webhook/templates/service.yaml index e8fb6e018..effee45a8 100644 --- a/deployments/helm/webhook/templates/service.yaml +++ b/deployments/helm/webhook/templates/service.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: v1 kind: Service metadata: diff --git a/deployments/helm/webhook/templates/serviceaccount.yaml b/deployments/helm/webhook/templates/serviceaccount.yaml index a635ba4ea..3d631bbdf 100644 --- a/deployments/helm/webhook/templates/serviceaccount.yaml +++ b/deployments/helm/webhook/templates/serviceaccount.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + {{- if .Values.serviceAccount.create -}} apiVersion: v1 kind: ServiceAccount diff --git a/deployments/helm/webhook/templates/tests/test-connection.yaml b/deployments/helm/webhook/templates/tests/test-connection.yaml index d13726085..4e581ef8a 100644 --- a/deployments/helm/webhook/templates/tests/test-connection.yaml +++ b/deployments/helm/webhook/templates/tests/test-connection.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: v1 kind: Pod metadata: diff --git a/deployments/helm/webhook/values.yaml b/deployments/helm/webhook/values.yaml index d3787c9d6..8a54b1321 100644 --- a/deployments/helm/webhook/values.yaml +++ b/deployments/helm/webhook/values.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + replicaCount: 1 image: diff --git a/manager/cypress/plugins/index.js b/manager/cypress/plugins/index.js index 8dd144a6c..8cc5920a2 100644 --- a/manager/cypress/plugins/index.js +++ b/manager/cypress/plugins/index.js @@ -1,3 +1,19 @@ +/** + * Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA + * + * 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. + */ + /// // *********************************************************** // This example plugins/index.js can be used to load plugins diff --git a/manager/cypress/support/commands.js b/manager/cypress/support/commands.js index a2869cac9..f360d6699 100644 --- a/manager/cypress/support/commands.js +++ b/manager/cypress/support/commands.js @@ -1,3 +1,19 @@ +/** + * Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA + * + * 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. + */ + const LOCAL_STORAGE_MEMORY = {}; Cypress.Commands.add('saveLocalStorage', () => { diff --git a/manager/cypress/support/index.js b/manager/cypress/support/index.js index 37a498fb5..290ce82b7 100644 --- a/manager/cypress/support/index.js +++ b/manager/cypress/support/index.js @@ -1,3 +1,19 @@ +/** + * Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA + * + * 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. + */ + // *********************************************************** // This example support/index.js is processed and // loaded automatically before your test files. diff --git a/manager/deployments/helm/horusec-manager/Chart.yaml b/manager/deployments/helm/horusec-manager/Chart.yaml index 75aa749f5..19d1db76d 100644 --- a/manager/deployments/helm/horusec-manager/Chart.yaml +++ b/manager/deployments/helm/horusec-manager/Chart.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: v2 name: horusec-manager description: A Helm chart for Kubernetes diff --git a/manager/deployments/helm/horusec-manager/templates/deployment.yaml b/manager/deployments/helm/horusec-manager/templates/deployment.yaml index 34e586906..fb5a3eeb0 100644 --- a/manager/deployments/helm/horusec-manager/templates/deployment.yaml +++ b/manager/deployments/helm/horusec-manager/templates/deployment.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: apps/v1 kind: Deployment metadata: diff --git a/manager/deployments/helm/horusec-manager/templates/hpa.yaml b/manager/deployments/helm/horusec-manager/templates/hpa.yaml index c09c150c3..4b3ff16e0 100644 --- a/manager/deployments/helm/horusec-manager/templates/hpa.yaml +++ b/manager/deployments/helm/horusec-manager/templates/hpa.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + {{- if .Values.autoscaling.enabled }} apiVersion: autoscaling/v2beta1 kind: HorizontalPodAutoscaler diff --git a/manager/deployments/helm/horusec-manager/templates/ingress.yaml b/manager/deployments/helm/horusec-manager/templates/ingress.yaml index 0afdd6dc9..84f771583 100644 --- a/manager/deployments/helm/horusec-manager/templates/ingress.yaml +++ b/manager/deployments/helm/horusec-manager/templates/ingress.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + {{- if .Values.ingress.enabled -}} {{- $fullName := include "horusec-manager.fullname" . -}} {{- $svcPort := .Values.service.port -}} diff --git a/manager/deployments/helm/horusec-manager/templates/service.yaml b/manager/deployments/helm/horusec-manager/templates/service.yaml index 234c047f0..b8e4c3b79 100644 --- a/manager/deployments/helm/horusec-manager/templates/service.yaml +++ b/manager/deployments/helm/horusec-manager/templates/service.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: v1 kind: Service metadata: diff --git a/manager/deployments/helm/horusec-manager/templates/serviceaccount.yaml b/manager/deployments/helm/horusec-manager/templates/serviceaccount.yaml index 7a7a4a947..b9aa8062a 100644 --- a/manager/deployments/helm/horusec-manager/templates/serviceaccount.yaml +++ b/manager/deployments/helm/horusec-manager/templates/serviceaccount.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + {{- if .Values.serviceAccount.create -}} apiVersion: v1 kind: ServiceAccount diff --git a/manager/deployments/helm/horusec-manager/templates/tests/test-connection.yaml b/manager/deployments/helm/horusec-manager/templates/tests/test-connection.yaml index b504f8b60..de824d76a 100644 --- a/manager/deployments/helm/horusec-manager/templates/tests/test-connection.yaml +++ b/manager/deployments/helm/horusec-manager/templates/tests/test-connection.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + apiVersion: v1 kind: Pod metadata: diff --git a/manager/deployments/helm/horusec-manager/values.yaml b/manager/deployments/helm/horusec-manager/values.yaml index 455bc3e59..bc6a52132 100644 --- a/manager/deployments/helm/horusec-manager/values.yaml +++ b/manager/deployments/helm/horusec-manager/values.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + replicaCount: 1 image: diff --git a/manager/horusec-config.json b/manager/horusec-config.json index 99a68aeaa..d2df846a6 100644 --- a/manager/horusec-config.json +++ b/manager/horusec-config.json @@ -8,13 +8,12 @@ "**/docs/**" ], "horusecCliFalsePositiveHashes": [ - "2937701f3d8983bf96de13a1aa495c936e4d6a4bad5205fbdb768385831d8d7f", - "2a190dc18862dc68c931bb6f96e48b176a28edcf9036ea17801ad39c6ad62701", - "892b488423dadeafb01007525e13ae78f8a09384147da86ab82c00056868f660", "3a4cb0a27608f2e39d85341db32137ca27a17a06a9018a89b4e46823934d6f31", "7d805c6870a75a495afd47f1c9f3e55d6a5039e7204030f37b7df6588bd9382b", "a49830629687c46ce311c0bb67aae88575193fc16da0e96e1880f813fbbae25f", - "3fd04bdeaaac431e11bc9242138d3cab1d2095a967995287b27ae8a903b15155", - "a7d9126c3c9233bf36a53c483a52996efcae02744ec02113ae5b21eb587f53df" + "a7d9126c3c9233bf36a53c483a52996efcae02744ec02113ae5b21eb587f53df", + "2e14928b797d6296f33bbb94995d7c7ccdf269c83a7bf8f34dbc1cffa09fdf69", + "18a3703840f74f1dc60f189f8950d519fbaf16cf0c061a4a8eacf8a46d0f1de9", + "20f64a3ac182bc479758d09ca2464e59137ba9fc5c7269ece8be4b620158e3f6" ] } diff --git a/manager/src/config/themes/material-ui.ts b/manager/src/config/themes/material-ui.ts index c10530294..22fd66a47 100644 --- a/manager/src/config/themes/material-ui.ts +++ b/manager/src/config/themes/material-ui.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA + * + * 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. + */ + import { createMuiTheme } from '@material-ui/core'; import { getCurrentTheme } from 'helpers/localStorage/currentTheme'; diff --git a/manager/src/helpers/colors.ts b/manager/src/helpers/colors.ts index f260eba04..b3bcf8c2c 100644 --- a/manager/src/helpers/colors.ts +++ b/manager/src/helpers/colors.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA + * + * 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. + */ + const generateRandomColor = (): string => { const x = Math.floor(Math.random() * 256); const y = Math.floor(Math.random() * 256); diff --git a/manager/src/helpers/formatters/xlsx.ts b/manager/src/helpers/formatters/xlsx.ts index e508bd62e..8283c9ea0 100644 --- a/manager/src/helpers/formatters/xlsx.ts +++ b/manager/src/helpers/formatters/xlsx.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA + * + * 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. + */ + import { DashboardCriticality, DashboardData, diff --git a/manager/src/helpers/interfaces/RouteParams.ts b/manager/src/helpers/interfaces/RouteParams.ts index 63e1503b7..6d8bfa6c0 100644 --- a/manager/src/helpers/interfaces/RouteParams.ts +++ b/manager/src/helpers/interfaces/RouteParams.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA + * + * 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. + */ + export interface RouteParams { workspaceId: string; repositoryId: string; diff --git a/manager/src/services/vulnerabilities.ts b/manager/src/services/vulnerabilities.ts index bb3128a2b..4ccbe5b6f 100644 --- a/manager/src/services/vulnerabilities.ts +++ b/manager/src/services/vulnerabilities.ts @@ -1,3 +1,19 @@ +/** + * Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA + * + * 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. + */ + import http from 'config/axios'; import { FilterVuln } from 'helpers/interfaces/FIlterVuln'; import { PaginationInfo } from 'helpers/interfaces/Pagination'; diff --git a/messages/.golangci.yml b/messages/.golangci.yml index 680cc56ec..bce14d7b5 100644 --- a/messages/.golangci.yml +++ b/messages/.golangci.yml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + linters-settings: depguard: list-type: blacklist diff --git a/messages/docs/swagger.yaml b/messages/docs/swagger.yaml index 3517e63d7..6780fbb92 100644 --- a/messages/docs/swagger.yaml +++ b/messages/docs/swagger.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + definitions: entities.Response: properties: diff --git a/vulnerability/.golangci.yml b/vulnerability/.golangci.yml index 27d33ad15..568c16a85 100644 --- a/vulnerability/.golangci.yml +++ b/vulnerability/.golangci.yml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + linters-settings: depguard: list-type: blacklist diff --git a/vulnerability/docs/swagger.yaml b/vulnerability/docs/swagger.yaml index 996c20b9a..0d4c70105 100644 --- a/vulnerability/docs/swagger.yaml +++ b/vulnerability/docs/swagger.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + definitions: entities.Response: properties: diff --git a/webhook/.golangci.yml b/webhook/.golangci.yml index 4465b5550..5fa9b14bc 100644 --- a/webhook/.golangci.yml +++ b/webhook/.golangci.yml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + linters-settings: depguard: list-type: blacklist diff --git a/webhook/docs/swagger.yaml b/webhook/docs/swagger.yaml index 130e75695..67bd471f5 100644 --- a/webhook/docs/swagger.yaml +++ b/webhook/docs/swagger.yaml @@ -1,3 +1,17 @@ +# Copyright 2021 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA +# +# 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. + definitions: entities.Response: properties: