mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
fix update-aws-lb chart to also include .helmignore
This commit is contained in:
parent
84a2ddc3b3
commit
59d465c4be
@ -393,6 +393,7 @@ go_library(
|
|||||||
"charts/edgeless/constellation-services/charts/aws-load-balancer-controller/templates/webhook.yaml",
|
"charts/edgeless/constellation-services/charts/aws-load-balancer-controller/templates/webhook.yaml",
|
||||||
"charts/edgeless/constellation-services/charts/aws-load-balancer-controller/test.yaml",
|
"charts/edgeless/constellation-services/charts/aws-load-balancer-controller/test.yaml",
|
||||||
"charts/edgeless/constellation-services/charts/aws-load-balancer-controller/values.yaml",
|
"charts/edgeless/constellation-services/charts/aws-load-balancer-controller/values.yaml",
|
||||||
|
"charts/edgeless/constellation-services/charts/aws-load-balancer-controller/.helmignore",
|
||||||
],
|
],
|
||||||
importpath = "github.com/edgelesssys/constellation/v2/cli/internal/helm",
|
importpath = "github.com/edgelesssys/constellation/v2/cli/internal/helm",
|
||||||
visibility = ["//cli:__subpackages__"],
|
visibility = ["//cli:__subpackages__"],
|
||||||
|
@ -0,0 +1,25 @@
|
|||||||
|
# Patterns to ignore when building packages.
|
||||||
|
# This supports shell glob matching, relative path matching, and
|
||||||
|
# negation (prefixed with !). Only one pattern per line.
|
||||||
|
.DS_Store
|
||||||
|
# Common VCS dirs
|
||||||
|
.git/
|
||||||
|
.gitignore
|
||||||
|
.bzr/
|
||||||
|
.bzrignore
|
||||||
|
.hg/
|
||||||
|
.hgignore
|
||||||
|
.svn/
|
||||||
|
# Common backup files
|
||||||
|
*.swp
|
||||||
|
*.bak
|
||||||
|
*.tmp
|
||||||
|
*.orig
|
||||||
|
*~
|
||||||
|
# Various IDEs
|
||||||
|
.project
|
||||||
|
.idea/
|
||||||
|
*.tmproj
|
||||||
|
.vscode/
|
||||||
|
crds/kustomization.yaml
|
||||||
|
test.yaml
|
@ -143,6 +143,7 @@ func TestConstellationServices(t *testing.T) {
|
|||||||
verificationServiceImage: "verificationImage",
|
verificationServiceImage: "verificationImage",
|
||||||
konnectivityImage: "konnectivityImage",
|
konnectivityImage: "konnectivityImage",
|
||||||
gcpGuestAgentImage: "gcpGuestAgentImage",
|
gcpGuestAgentImage: "gcpGuestAgentImage",
|
||||||
|
clusterName: "testCluster",
|
||||||
}
|
}
|
||||||
chart, err := loadChartsDir(helmFS, constellationServicesInfo.path)
|
chart, err := loadChartsDir(helmFS, constellationServicesInfo.path)
|
||||||
require.NoError(err)
|
require.NoError(err)
|
||||||
|
@ -41,4 +41,5 @@ rm -r "${chart_base_path:?}/${chart_name}"
|
|||||||
|
|
||||||
# move new chart
|
# move new chart
|
||||||
mkdir -p "${chart_base_path}/${chart_name}"
|
mkdir -p "${chart_base_path}/${chart_name}"
|
||||||
cp -r "${repo_tmp_dir}/${chart_dir}"/* "${chart_base_path}/${chart_name}"
|
# do not use /* because it will not copy hidden files
|
||||||
|
cp -r "${repo_tmp_dir}/${chart_dir}" "${chart_base_path}/"
|
||||||
|
Loading…
Reference in New Issue
Block a user