mirror of
https://github.com/bitnami/charts.git
synced 2026-04-02 07:17:26 +08:00
[bitnami/*] Fix license headers (#25447)
This commit is contained in:
committed by
GitHub
parent
7f863f3fa4
commit
2d7dca6116
6
.github/workflows/license-headers.yml
vendored
6
.github/workflows/license-headers.yml
vendored
@@ -58,10 +58,10 @@ jobs:
|
||||
done <<< "$(echo "$files_changed" | grep -oE "^bitnami/.*\.ya?ml$" | sort | uniq || true)"
|
||||
if [[ ${#templates[@]} -gt 0 ]] || [[ ${#regular_files[@]} -gt 0 ]]; then
|
||||
if [[ ${#templates[@]} -gt 0 ]]; then
|
||||
# There are modifications over yaml tamplates
|
||||
export tamplates_json=$(printf "%s\n" "${templates[@]}" | jq -R . | jq -cs .)
|
||||
# There are modifications over yaml templates
|
||||
export templates_json=$(printf "%s\n" "${templates[@]}" | jq -R . | jq -cs .)
|
||||
# Overwrite configuration file to analyze only changed templates
|
||||
yq -i '. | .header[0].paths=env(tamplates_json)' .licenserc.yaml
|
||||
yq -i '. | .header[0].paths=env(templates_json)' .licenserc.yaml
|
||||
fi
|
||||
if [[ ${#regular_files[@]} -gt 0 ]]; then
|
||||
# There are modifications over yaml files
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
{{- /*
|
||||
Copyright VMware, Inc.
|
||||
Copyright Broadcom, Inc. All Rights Reserved.
|
||||
SPDX-License-Identifier: APACHE-2.0
|
||||
*/}}
|
||||
|
||||
{{- $replicaCount := int .Values.broker.replicaCount }}
|
||||
{{- if and (gt $replicaCount 0) .Values.broker.autoscaling.hpa.enabled }}
|
||||
apiVersion: {{ include "common.capabilities.hpa.apiVersion" ( dict "context" $ ) }}
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
{{- /*
|
||||
Copyright VMware, Inc.
|
||||
Copyright Broadcom, Inc. All Rights Reserved.
|
||||
SPDX-License-Identifier: APACHE-2.0
|
||||
*/}}
|
||||
|
||||
{{- $replicaCount := int .Values.broker.replicaCount }}
|
||||
{{- if and (gt $replicaCount 0) (.Capabilities.APIVersions.Has "autoscaling.k8s.io/v1/VerticalPodAutoscaler") .Values.broker.autoscaling.vpa.enabled }}
|
||||
apiVersion: {{ include "common.capabilities.vpa.apiVersion" . }}
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
{{- /*
|
||||
Copyright VMware, Inc.
|
||||
Copyright Broadcom, Inc. All Rights Reserved.
|
||||
SPDX-License-Identifier: APACHE-2.0
|
||||
*/}}
|
||||
|
||||
{{- $replicaCount := int .Values.controller.replicaCount }}
|
||||
{{- if and .Values.kraft.enabled (gt $replicaCount 0) .Values.controller.autoscaling.hpa.enabled }}
|
||||
apiVersion: {{ include "common.capabilities.hpa.apiVersion" ( dict "context" $ ) }}
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
{{- /*
|
||||
Copyright VMware, Inc.
|
||||
Copyright Broadcom, Inc. All Rights Reserved.
|
||||
SPDX-License-Identifier: APACHE-2.0
|
||||
*/}}
|
||||
|
||||
{{- $replicaCount := int .Values.controller.replicaCount }}
|
||||
{{- if and .Values.kraft.enabled (gt $replicaCount 0) (.Capabilities.APIVersions.Has "autoscaling.k8s.io/v1/VerticalPodAutoscaler") .Values.controller.autoscaling.vpa.enabled }}
|
||||
apiVersion: {{ include "common.capabilities.vpa.apiVersion" . }}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{{- /*
|
||||
Copyright VMware, Inc.
|
||||
Copyright Broadcom, Inc. All Rights Reserved.
|
||||
SPDX-License-Identifier: APACHE-2.0
|
||||
*/}}
|
||||
|
||||
@@ -105,4 +105,4 @@ data:
|
||||
hostname Router
|
||||
line vty
|
||||
log file /etc/frr/frr.log informational
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{{- /*
|
||||
Copyright VMware, Inc.
|
||||
Copyright Broadcom, Inc. All Rights Reserved.
|
||||
SPDX-License-Identifier: APACHE-2.0
|
||||
*/}}
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{{- /*
|
||||
Copyright VMware, Inc.
|
||||
Copyright Broadcom, Inc. All Rights Reserved.
|
||||
SPDX-License-Identifier: APACHE-2.0
|
||||
*/}}
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{{- /*
|
||||
Copyright VMware, Inc.
|
||||
Copyright Broadcom, Inc. All Rights Reserved.
|
||||
SPDX-License-Identifier: APACHE-2.0
|
||||
*/}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user