diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index b2df7c072..42f653087 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -39,7 +39,7 @@ jobs: uses: actions/setup-go@v5 with: cache: false - go-version: "1.21" + go-version: "1.22" - name: Setup Just uses: extractions/setup-just@v1 - name: Setup Syft @@ -73,7 +73,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: "1.21" + go-version: "1.22" cache: false - name: Setup Just uses: extractions/setup-just@v1 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 46c34abb9..7eb698b41 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -24,7 +24,7 @@ jobs: uses: actions/setup-go@v5 with: cache: false - go-version: "1.21" + go-version: "1.22" - name: Setup Just uses: extractions/setup-just@v1 - name: Setup Cosgin diff --git a/.github/workflows/unit-tests.yaml b/.github/workflows/unit-tests.yaml index 3fbdd9581..855ca83e5 100644 --- a/.github/workflows/unit-tests.yaml +++ b/.github/workflows/unit-tests.yaml @@ -41,7 +41,7 @@ jobs: - name: Set up Go 1.21 uses: actions/setup-go@v5 with: - go-version: "1.21" + go-version: "1.22" cache: false - name: Check out code into the Go module directory uses: actions/checkout@v4 diff --git a/Dockerfile b/Dockerfile index 3eedd394e..98d7fa27a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build the manager binary -FROM golang:1.21.5 as builder +FROM golang:1.22 as builder WORKDIR /vcluster-dev ARG TARGETOS diff --git a/Dockerfile.cli b/Dockerfile.cli index 22ac3e7e5..dade5b2c2 100644 --- a/Dockerfile.cli +++ b/Dockerfile.cli @@ -1,4 +1,4 @@ -FROM golang:1.21 as builder +FROM golang:1.22 as builder WORKDIR /vcluster-dev ARG TARGETOS diff --git a/charts/eks/templates/syncer.yaml b/charts/eks/templates/syncer.yaml index 0dac31e5f..b82ac99eb 100644 --- a/charts/eks/templates/syncer.yaml +++ b/charts/eks/templates/syncer.yaml @@ -305,6 +305,13 @@ spec: {{- end }} {{- if .Values.syncer.readinessProbe }} {{- if .Values.syncer.readinessProbe.enabled }} + startupProbe: + httpGet: + path: /readyz + port: 8443 + scheme: HTTPS + failureThreshold: 300 + periodSeconds: 6 readinessProbe: httpGet: path: /readyz diff --git a/charts/k0s/templates/syncer.yaml b/charts/k0s/templates/syncer.yaml index 0725ef14a..965c975c9 100644 --- a/charts/k0s/templates/syncer.yaml +++ b/charts/k0s/templates/syncer.yaml @@ -249,6 +249,13 @@ spec: {{- end }} {{- if .Values.syncer.readinessProbe }} {{- if .Values.syncer.readinessProbe.enabled }} + startupProbe: + httpGet: + path: /readyz + port: 8443 + scheme: HTTPS + failureThreshold: 300 + periodSeconds: 6 readinessProbe: httpGet: path: /readyz diff --git a/charts/k3s/templates/syncer.yaml b/charts/k3s/templates/syncer.yaml index 03d29efc4..a83a8e250 100644 --- a/charts/k3s/templates/syncer.yaml +++ b/charts/k3s/templates/syncer.yaml @@ -296,6 +296,13 @@ spec: {{- end }} {{- if .Values.syncer.readinessProbe }} {{- if .Values.syncer.readinessProbe.enabled }} + startupProbe: + httpGet: + path: /readyz + port: 8443 + scheme: HTTPS + failureThreshold: 300 + periodSeconds: 6 readinessProbe: httpGet: path: /readyz diff --git a/charts/k8s/templates/syncer.yaml b/charts/k8s/templates/syncer.yaml index e8fb553f8..a59945763 100644 --- a/charts/k8s/templates/syncer.yaml +++ b/charts/k8s/templates/syncer.yaml @@ -324,6 +324,13 @@ spec: {{- end }} {{- if .Values.syncer.readinessProbe }} {{- if .Values.syncer.readinessProbe.enabled }} + startupProbe: + httpGet: + path: /readyz + port: 8443 + scheme: HTTPS + failureThreshold: 300 + periodSeconds: 6 readinessProbe: httpGet: path: /readyz