Enable helm-values, adjust addons values.yaml

This commit is contained in:
Stefan Reimer 2023-08-20 16:55:23 +00:00
parent fae2bf47fb
commit a9063d0ef2
3 changed files with 28 additions and 2 deletions

View File

@ -53,6 +53,7 @@ sealed-secrets:
aws-eks-asg-rolling-update-handler:
enabled: false
image:
repository: twinproduction/aws-eks-asg-rolling-update-handler
tag: v1.8.1
environmentVars:
@ -184,6 +185,7 @@ cluster-autoscaler:
enabled: false
image:
repository: registry.k8s.io/autoscaling/cluster-autoscaler
tag: v1.26.4
autoDiscovery:

View File

@ -9,7 +9,7 @@
"prConcurrentLimit": 0,
"packageRules": [
{
"matchManagers": ["helmv3"],
"matchManagers": ["helmv3", "helm-values"],
"additionalBranchPrefix": "{{parentDir}}-",
"matchFileNames": ["charts/*/Chart.yaml"],
"groupName": "{{parentDir}}-dependencies",
@ -17,5 +17,5 @@
}
],
"ignorePaths": ["charts/*/charts/**"],
"enabledManagers": ["dockerfile", "helmv3"]
"enabledManagers": ["dockerfile", "helmv3", "helm-values"]
}

24
scripts/lib-update.sh Executable file
View File

@ -0,0 +1,24 @@
#!/bin/bash
set -ex
#helm repo update
# AWS public ECR
aws ecr-public get-login-password \
--region us-east-1 | helm registry login \
--username AWS \
--password-stdin public.ecr.aws
helm dep update
patch_chart() {
CHART=$1
VERSION=$(yq eval '.dependencies[] | select(.name=="'$CHART'") | .version' Chart.yaml)
rm -rf charts/$CHART
tar xfvz charts/$CHART-$VERSION.tgz -C charts && rm charts/$CHART-$VERSION.tgz
# diff -tuNr charts/aws-node-termination-handler.orig charts/aws-node-termination-handler > nth.patch
patch -p0 -i $CHART.patch --no-backup-if-mismatch
}