Skip to content

Commit

Permalink
fix: security fixes (#649)
Browse files Browse the repository at this point in the history
  • Loading branch information
smritidahal653 authored Aug 14, 2024
1 parent 33a4e56 commit 64d592e
Show file tree
Hide file tree
Showing 12 changed files with 49 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/aks-addon-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ concurrency:
cancel-in-progress: true

on:
pull_request_target:
pull_request:
branches: [master]
paths-ignore: ['docs/**', '**.md', '**.mdx', '**.png', '**.jpg']
push:
Expand All @@ -14,7 +14,7 @@ on:

env:
REGISTRY: ghcr.io
GO_VERSION: '1.20' # Common versions
GO_VERSION: '1.22' # Common versions
E2E_IMG_TAG: 'e2e-ci'

permissions:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create-release-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
ref: "${{ github.event.inputs.based_on_branch }}"
- uses: actions/setup-go@v5
with:
go-version: "1.20"
go-version: "1.22"
- name: update release manifest
run: make release-manifest
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ permissions:
env:
REGISTRY: ghcr.io
# Common versions
GO_VERSION: '1.20'
GO_VERSION: '1.22'

jobs:
check-tag:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@ concurrency:
cancel-in-progress: true

on:
pull_request_target:
pull_request:
branches:
- master
- release-**
- release-**-**
types: [ opened, ready_for_review, reopened ]
paths:
- '.github/workflows/chart.yml'
- 'charts/**'

env:
REGISTRY: ghcr.io
GO_VERSION: '1.20' # Common versions
GO_VERSION: '1.22' # Common versions
E2E_IMG_TAG: "e2e-ci"

permissions:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:

env:
# Common versions
GO_VERSION: '1.20'
GO_VERSION: '1.22'

jobs:
lint:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ permissions:

env:
# Common versions
GO_VERSION: '1.20'
GO_VERSION: '1.22'
IMAGE_NAME: 'virtual-kubelet'

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-init-container-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ permissions:

env:
# Common versions
GO_VERSION: '1.20'
GO_VERSION: '1.22'
INIT_IMAGE_NAME: 'init-validation'

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:

env:
# Common versions
GO_VERSION: '1.20'
GO_VERSION: '1.22'

permissions:
pull-requests: write
Expand Down
2 changes: 1 addition & 1 deletion docker/init-container/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=$BUILDPLATFORM golang:1.20 as builder
FROM --platform=$BUILDPLATFORM golang:1.22 as builder
ARG TARGETARCH

WORKDIR /workspace
Expand Down
2 changes: 1 addition & 1 deletion docker/virtual-kubelet/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=$BUILDPLATFORM golang:1.20 as builder
FROM --platform=$BUILDPLATFORM golang:1.22 as builder
ARG TARGETOS
ARG TARGETARCH
ARG TARGETVARIANT
Expand Down
4 changes: 3 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
module github.com/virtual-kubelet/azure-aci

go 1.20
go 1.22.4

toolchain go1.22.5

require (
contrib.go.opencensus.io/exporter/ocagent v0.7.0
Expand Down
33 changes: 33 additions & 0 deletions go.sum

Large diffs are not rendered by default.

0 comments on commit 64d592e

Please sign in to comment.