diff --git a/.github/workflows/kics.yaml b/.github/workflows/kics.yml similarity index 100% rename from .github/workflows/kics.yaml rename to .github/workflows/kics.yml diff --git a/.github/workflows/trivy.yaml b/.github/workflows/trivy.yml similarity index 100% rename from .github/workflows/trivy.yaml rename to .github/workflows/trivy.yml diff --git a/CHANGELOG.md b/CHANGELOG.md index 032ffae7..32844ce0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - NA +## [1.2.7] - 2023-05-15 + +### Added + - Added header to the files + ## [1.2.6] - 2023-05-10 ### Added diff --git a/charts/orchestrator/.helmignore b/charts/orchestrator/.helmignore index e0b66e22..9fca0220 100644 --- a/charts/orchestrator/.helmignore +++ b/charts/orchestrator/.helmignore @@ -1,3 +1,23 @@ +#****************************************************************************** +# Copyright (c) 2022, 2023 T-Systems International GmbH +# Copyright (c) 2022, 2023 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) distributed with this work for additional +# information regarding copyright ownership. +# +# This program and the accompanying materials are made available under the +# terms of the Apache License, Version 2.0 which is available at +# https://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. +# +# SPDX-License-Identifier: Apache-2.0 +#******************************************************************************* + # Patterns to ignore when building packages. # This supports shell glob matching, relative path matching, and # negation (prefixed with !). Only one pattern per line. diff --git a/charts/orchestrator/README.md b/charts/orchestrator/README.md index f4929f16..f239e91c 100644 --- a/charts/orchestrator/README.md +++ b/charts/orchestrator/README.md @@ -38,7 +38,7 @@ This service will help service provider to set up DFT/SDE with EDC and EDC as se | livenessProbe.timeoutSeconds | int | `1` | | | nodeSelector | object | `{}` | | | podAnnotations | object | `{}` | | -| podSecurityContext | string | `nil` | | +| podSecurityContext.fsGroup | int | `2000` | | | portContainer | int | `9999` | | | postgresql.auth.database | string | `"orchdb"` | | | postgresql.auth.existingSecret | string | `"autosetup-int-secret"` | | @@ -54,12 +54,13 @@ This service will help service provider to set up DFT/SDE with EDC and EDC as se | readinessProbe.successThreshold | int | `1` | | | readinessProbe.timeoutSeconds | int | `1` | | | replicaCount | int | `1` | Number of Replicas for pods | -| resources.limits.cpu | string | `"800m"` | set a maximum amount of allows CPU utilization by specifying a limit on the container. | +| resources.limits.cpu | string | `"600m"` | set a maximum amount of allows CPU utilization by specifying a limit on the container. | | resources.limits.memory | string | `"2Gi"` | set a maximum amount of allows memory utilization by specifying a limit on the container. | -| resources.requests.cpu | string | `"300m"` | sets the minimum amount of CPU required for the container | -| resources.requests.memory | string | `"1Gi"` | set a minimum amount of allows memory utilization by specifying a limit on the container. | +| resources.requests.cpu | string | `"600m"` | sets the minimum amount of CPU required for the container | +| resources.requests.memory | string | `"2Gi"` | set a minimum amount of allows memory utilization by specifying a limit on the container. | | secretRef | string | `"autosetup-int-secret"` | | | securityContext.allowPrivilegeEscalation | bool | `false` | Controls whether a process can gain more privilege | +| securityContext.runAsUser | int | `1000` | | | service.port | int | `9999` | Port details for sevice | | service.portContainer | int | `9999` | Container Port details for sevice | | service.type | string | `"ClusterIP"` | Type of service | diff --git a/charts/orchestrator/templates/NOTES.txt b/charts/orchestrator/templates/NOTES.txt index 236cb9ab..f7457627 100644 --- a/charts/orchestrator/templates/NOTES.txt +++ b/charts/orchestrator/templates/NOTES.txt @@ -1,3 +1,23 @@ +#****************************************************************************** +# Copyright (c) 2022, 2023 T-Systems International GmbH +# Copyright (c) 2022, 2023 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) distributed with this work for additional +# information regarding copyright ownership. +# +# This program and the accompanying materials are made available under the +# terms of the Apache License, Version 2.0 which is available at +# https://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. +# +# SPDX-License-Identifier: Apache-2.0 +#******************************************************************************* + 1. Get the application URL by running these commands: {{- if .Values.ingress.enabled }} {{- range $host := .Values.ingress.hosts }} diff --git a/charts/orchestrator/templates/_helpers.tpl b/charts/orchestrator/templates/_helpers.tpl index 70e10ea9..fa469fcc 100644 --- a/charts/orchestrator/templates/_helpers.tpl +++ b/charts/orchestrator/templates/_helpers.tpl @@ -1,3 +1,23 @@ +#****************************************************************************** +# Copyright (c) 2022, 2023 T-Systems International GmbH +# Copyright (c) 2022, 2023 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) distributed with this work for additional +# information regarding copyright ownership. +# +# This program and the accompanying materials are made available under the +# terms of the Apache License, Version 2.0 which is available at +# https://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. +# +# SPDX-License-Identifier: Apache-2.0 +#******************************************************************************* + {{/* Expand the name of the chart. */}} diff --git a/charts/orchestrator/templates/deployment.yaml b/charts/orchestrator/templates/deployment.yaml index a508f56b..c718eba5 100644 --- a/charts/orchestrator/templates/deployment.yaml +++ b/charts/orchestrator/templates/deployment.yaml @@ -1,3 +1,23 @@ +#****************************************************************************** +# Copyright (c) 2022, 2023 T-Systems International GmbH +# Copyright (c) 2022, 2023 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) distributed with this work for additional +# information regarding copyright ownership. +# +# This program and the accompanying materials are made available under the +# terms of the Apache License, Version 2.0 which is available at +# https://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. +# +# SPDX-License-Identifier: Apache-2.0 +#******************************************************************************* + apiVersion: apps/v1 kind: Deployment metadata: diff --git a/charts/orchestrator/templates/hpa.yaml b/charts/orchestrator/templates/hpa.yaml index 7c3f5d26..4dbf746b 100644 --- a/charts/orchestrator/templates/hpa.yaml +++ b/charts/orchestrator/templates/hpa.yaml @@ -1,4 +1,23 @@ {{- if .Values.autoscaling.enabled }} +#****************************************************************************** +# Copyright (c) 2022, 2023 T-Systems International GmbH +# Copyright (c) 2022, 2023 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) distributed with this work for additional +# information regarding copyright ownership. +# +# This program and the accompanying materials are made available under the +# terms of the Apache License, Version 2.0 which is available at +# https://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. +# +# SPDX-License-Identifier: Apache-2.0 +#******************************************************************************* apiVersion: autoscaling/v2beta1 kind: HorizontalPodAutoscaler metadata: diff --git a/charts/orchestrator/templates/ingress.yaml b/charts/orchestrator/templates/ingress.yaml index 91ac944c..cca6ea4b 100644 --- a/charts/orchestrator/templates/ingress.yaml +++ b/charts/orchestrator/templates/ingress.yaml @@ -1,4 +1,24 @@ {{- if .Values.ingress.enabled -}} +#****************************************************************************** +# Copyright (c) 2022, 2023 T-Systems International GmbH +# Copyright (c) 2022, 2023 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) distributed with this work for additional +# information regarding copyright ownership. +# +# This program and the accompanying materials are made available under the +# terms of the Apache License, Version 2.0 which is available at +# https://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. +# +# SPDX-License-Identifier: Apache-2.0 +#******************************************************************************* + apiVersion: networking.k8s.io/v1 kind: Ingress metadata: diff --git a/charts/orchestrator/templates/service.yaml b/charts/orchestrator/templates/service.yaml index 521b6b2e..73af3a7c 100644 --- a/charts/orchestrator/templates/service.yaml +++ b/charts/orchestrator/templates/service.yaml @@ -1,3 +1,23 @@ +#****************************************************************************** +# Copyright (c) 2022, 2023 T-Systems International GmbH +# Copyright (c) 2022, 2023 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) distributed with this work for additional +# information regarding copyright ownership. +# +# This program and the accompanying materials are made available under the +# terms of the Apache License, Version 2.0 which is available at +# https://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. +# +# SPDX-License-Identifier: Apache-2.0 +#******************************************************************************* + apiVersion: v1 kind: Service metadata: diff --git a/charts/orchestrator/templates/serviceaccount.yaml b/charts/orchestrator/templates/serviceaccount.yaml index 2025496e..7245b174 100644 --- a/charts/orchestrator/templates/serviceaccount.yaml +++ b/charts/orchestrator/templates/serviceaccount.yaml @@ -1,4 +1,24 @@ {{- if .Values.serviceAccount.create -}} +#****************************************************************************** +# Copyright (c) 2022, 2023 T-Systems International GmbH +# Copyright (c) 2022, 2023 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) distributed with this work for additional +# information regarding copyright ownership. +# +# This program and the accompanying materials are made available under the +# terms of the Apache License, Version 2.0 which is available at +# https://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. +# +# SPDX-License-Identifier: Apache-2.0 +#******************************************************************************* + apiVersion: v1 kind: ServiceAccount metadata: diff --git a/charts/orchestrator/templates/tests/test-connection.yaml b/charts/orchestrator/templates/tests/test-connection.yaml index 493b3d84..2e7997eb 100644 --- a/charts/orchestrator/templates/tests/test-connection.yaml +++ b/charts/orchestrator/templates/tests/test-connection.yaml @@ -1,3 +1,23 @@ +#****************************************************************************** +# Copyright (c) 2022, 2023 T-Systems International GmbH +# Copyright (c) 2022, 2023 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) distributed with this work for additional +# information regarding copyright ownership. +# +# This program and the accompanying materials are made available under the +# terms of the Apache License, Version 2.0 which is available at +# https://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. +# +# SPDX-License-Identifier: Apache-2.0 +#******************************************************************************* + apiVersion: v1 kind: Pod metadata: diff --git a/charts/orchestrator/values.yaml b/charts/orchestrator/values.yaml index 33fef228..8298c085 100644 --- a/charts/orchestrator/values.yaml +++ b/charts/orchestrator/values.yaml @@ -131,5 +131,5 @@ postgresql: database: "orchdb" existingSecret: "autosetup-int-secret" secretKeys: - adminPasswordKey: "postgres-password" - userPasswordKey: "password" + adminPasswordKey: "postgres-password" + userPasswordKey: "password"