fix: correct workflow script packaging

This commit is contained in:
shenlan 2025-09-13 15:11:40 +08:00
parent 7e2c8112c7
commit 6c2a67875c
2 changed files with 6 additions and 11 deletions

View File

@ -114,12 +114,6 @@ jobs:
set -euo pipefail
helm pull nginx-stable/nginx-ingress --version="${CHART_VERSION}" --untar --untardir offline-installer/charts
- name: Copy installer script
run: |
set -euo pipefail
cp scripts/ingress-installer.sh offline-installer/scripts/
chmod +x offline-installer/scripts/ingress-installer.sh
- name: Package offline installer
run: |
set -euo pipefail

View File

@ -116,11 +116,12 @@ generate_values() {
tag="${NGINX_IC_IMAGE##*:}"
cat > values.yaml <<EOF
controller:
ingressClass: nginx
ingressClassResource:
enabled: true
replicaCount: 2
controller:
ingressClass:
name: nginx
create: true
setAsDefaultIngress: false
replicaCount: 2
image:
repository: ${repo}
tag: "${tag}"