-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: enable resource config & remove unnecessary configs from helm-ch…
…arts (#1277) * fix: enable resource config & remove unnecessary configs from helm-charts * remove duplicate line in migration guide * streamline services regarding labels & annotations * add missing network policy to azure chart * Update values documentations * Remove value `businessPartnerValidation.log.agreementValidation` * Remove helm-docs version from README.md footer Removing this avoids changing README.md files if someone uses a different version. * Remove unnecessary values from memory chart * fix merge conflict left overs * fix broken indentations * add documentation about control api * fix missing empty line at EOF * update copyright * update test deployment values * remove usage of `businessPartnerValidation.log.agreementValidation` * update dependency file * fix wrong require * Remove unnecessary if statement for required value * Use similar memory values for control and dataplane * Regenerate README.md's
- Loading branch information
1 parent
b68a379
commit 356f507
Showing
24 changed files
with
618 additions
and
445 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46 changes: 46 additions & 0 deletions
46
charts/tractusx-connector-azure-vault/templates/networkpolicy.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
################################################################################# | ||
# Copyright (c) 2024 ZF Friedrichshafen AG | ||
# Copyright (c) 2024 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 | ||
################################################################################# | ||
|
||
{{- if eq (.Values.networkPolicy.enabled | toString) "true" }} | ||
{{- range tuple "controlplane" "dataplane" }} | ||
{{- $name := . }} | ||
apiVersion: networking.k8s.io/v1 | ||
kind: NetworkPolicy | ||
metadata: | ||
name: {{ include "txdc.fullname" $ }}-{{ $name }} | ||
labels: | ||
{{- include (printf "txdc.%s.labels" $name) $ | nindent 4 }} | ||
spec: | ||
podSelector: | ||
matchLabels: | ||
{{- include (printf "txdc.%s.selectorLabels" $name) $ | nindent 6 }} | ||
ingress: | ||
- from: | ||
{{- toYaml (index $.Values.networkPolicy $name "from") | nindent 6 }} | ||
ports: | ||
{{- range $key,$value := (index $.Values $name "endpoints") }} | ||
- port: {{ $value.port }} | ||
protocol: TCP | ||
{{- end }} | ||
policyTypes: | ||
- Ingress | ||
--- | ||
{{- end }} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 26 additions & 18 deletions
44
charts/tractusx-connector-azure-vault/templates/service-dataplane.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.