Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

QG4 check #33

Merged
merged 3 commits into from
May 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
File renamed without changes.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
20 changes: 20 additions & 0 deletions charts/orchestrator/.helmignore
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
9 changes: 5 additions & 4 deletions charts/orchestrator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"` | |
Expand All @@ -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 |
Expand Down
20 changes: 20 additions & 0 deletions charts/orchestrator/templates/NOTES.txt
Original file line number Diff line number Diff line change
@@ -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 }}
Expand Down
20 changes: 20 additions & 0 deletions charts/orchestrator/templates/_helpers.tpl
Original file line number Diff line number Diff line change
@@ -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.
*/}}
Expand Down
20 changes: 20 additions & 0 deletions charts/orchestrator/templates/deployment.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
19 changes: 19 additions & 0 deletions charts/orchestrator/templates/hpa.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,23 @@
{{- if .Values.autoscaling.enabled }}
#******************************************************************************
almadigabor marked this conversation as resolved.
Show resolved Hide resolved
# 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:
Expand Down
20 changes: 20 additions & 0 deletions charts/orchestrator/templates/ingress.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,24 @@
{{- if .Values.ingress.enabled -}}
#******************************************************************************
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

License should be at the top of the file.

# 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:
Expand Down
20 changes: 20 additions & 0 deletions charts/orchestrator/templates/service.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
20 changes: 20 additions & 0 deletions charts/orchestrator/templates/serviceaccount.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,24 @@
{{- if .Values.serviceAccount.create -}}
#******************************************************************************
almadigabor marked this conversation as resolved.
Show resolved Hide resolved
# 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:
Expand Down
20 changes: 20 additions & 0 deletions charts/orchestrator/templates/tests/test-connection.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
4 changes: 2 additions & 2 deletions charts/orchestrator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -131,5 +131,5 @@ postgresql:
database: "orchdb"
existingSecret: "autosetup-int-secret"
secretKeys:
adminPasswordKey: "postgres-password"
userPasswordKey: "password"
adminPasswordKey: "postgres-password"
userPasswordKey: "password"