Skip to content

Commit 6288cd8

Browse files
authored
Add ingress class reapply step to VCS Gateway setup (#1046)
The kubernetes_ingress_class output contains the VCS Gateway listener certificate, so it needs to be re-applied after enabling VCS Gateway. Also adds the full shell commands for the update process.
1 parent e0eba38 commit 6288cd8

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

docs/installing-spacelift/reference-architecture/guides/deploying-to-eks.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,20 @@ module "spacelift" {
419419
}
420420
```
421421

422-
After applying the Terraform changes, regenerate your `spacelift-values.yaml` from the `helm_values` output and redeploy the Helm chart to enable the VCS Gateway service.
422+
After applying the Terraform changes, re-apply the ingress class (which now includes the VCS Gateway listener certificate), regenerate your `spacelift-values.yaml` from the `helm_values` output, and redeploy the Helm chart to enable the VCS Gateway service:
423+
424+
```shell
425+
tofu output -raw kubernetes_ingress_class | kubectl apply -f -
426+
tofu output -raw helm_values > spacelift-values.yaml
427+
428+
helm upgrade \
429+
--repo https://downloads.spacelift.io/helm \
430+
spacelift \
431+
spacelift-self-hosted \
432+
--install --wait --timeout 20m \
433+
--namespace "$K8S_NAMESPACE" \
434+
--values "spacelift-values.yaml"
435+
```
423436

424437
Set up the DNS record for the VCS Gateway service. You can find the load balancer address from the ingress:
425438

0 commit comments

Comments
 (0)