Skip to content

Update release branch #370

Merged
ArangoGutierrez merged 348 commits intorelease-0.2from
main
May 26, 2025
Merged

Update release branch #370
ArangoGutierrez merged 348 commits intorelease-0.2from
main

Conversation

@ArangoGutierrez
Copy link
Collaborator

No description provided.

tariq1890 and others added 30 commits November 19, 2024 21:36
Bumps [github.com/aws/aws-sdk-go-v2/service/route53](https://github.com/aws/aws-sdk-go-v2) from 1.45.2 to 1.46.2.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Commits](aws/aws-sdk-go-v2@service/rds/v1.45.2...service/ecs/v1.46.2)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/service/route53
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
….com/aws/aws-sdk-go-v2/service/route53-1.46.2
Bumps [github.com/aws/aws-sdk-go-v2/service/ssm](https://github.com/aws/aws-sdk-go-v2) from 1.55.3 to 1.55.6.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Commits](aws/aws-sdk-go-v2@service/iot/v1.55.3...service/iot/v1.55.6)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/service/ssm
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
….com/aws/aws-sdk-go-v2/service/ssm-1.55.6
Bumps [github.com/aws/aws-sdk-go-v2/service/ec2](https://github.com/aws/aws-sdk-go-v2) from 1.189.0 to 1.193.0.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Commits](aws/aws-sdk-go-v2@service/ec2/v1.189.0...service/ec2/v1.193.0)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/service/ec2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.28.0 to 0.29.0.
- [Commits](golang/crypto@v0.28.0...v0.29.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.21.0 to 2.22.0.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](onsi/ginkgo@v2.21.0...v2.22.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [github.com/aws/aws-sdk-go-v2/service/ssm](https://github.com/aws/aws-sdk-go-v2) from 1.55.6 to 1.56.0.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Commits](aws/aws-sdk-go-v2@service/iot/v1.55.6...service/s3/v1.56.0)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/service/ssm
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
….com/aws/aws-sdk-go-v2/service/ssm-1.56.0
….com/aws/aws-sdk-go-v2/service/ec2-1.193.0
Bumps the k8sio group with 1 update: [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery).


Updates `k8s.io/apimachinery` from 0.31.2 to 0.31.3
- [Commits](kubernetes/apimachinery@v0.31.2...v0.31.3)

---
updated-dependencies:
- dependency-name: k8s.io/apimachinery
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: k8sio
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [github.com/aws/aws-sdk-go-v2](https://github.com/aws/aws-sdk-go-v2) from 1.32.5 to 1.32.6.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Commits](aws/aws-sdk-go-v2@v1.32.5...v1.32.6)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [github.com/aws/aws-sdk-go-v2/service/ssm](https://github.com/aws/aws-sdk-go-v2) from 1.56.0 to 1.56.1.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Commits](aws/aws-sdk-go-v2@service/s3/v1.56.0...service/s3/v1.56.1)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/service/ssm
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
…e5d201adef

Bump k8s.io/apimachinery from 0.31.2 to 0.31.3 in the k8sio group
Bumps [sigs.k8s.io/controller-runtime](https://github.com/kubernetes-sigs/controller-runtime) from 0.19.1 to 0.19.3.
- [Release notes](https://github.com/kubernetes-sigs/controller-runtime/releases)
- [Changelog](https://github.com/kubernetes-sigs/controller-runtime/blob/main/RELEASE.md)
- [Commits](kubernetes-sigs/controller-runtime@v0.19.1...v0.19.3)

---
updated-dependencies:
- dependency-name: sigs.k8s.io/controller-runtime
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
…8s.io/controller-runtime-0.19.3

Bump sigs.k8s.io/controller-runtime from 0.19.1 to 0.19.3
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.29.0 to 0.31.0.
- [Commits](golang/crypto@v0.29.0...v0.31.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
…x/crypto-0.31.0

Bump golang.org/x/crypto from 0.29.0 to 0.31.0
….com/aws/aws-sdk-go-v2-1.32.6

Bump github.com/aws/aws-sdk-go-v2 from 1.32.5 to 1.32.6
….com/aws/aws-sdk-go-v2/service/ssm-1.56.1

Bump github.com/aws/aws-sdk-go-v2/service/ssm from 1.56.0 to 1.56.1
Signed-off-by: Tariq Ibrahim <tibrahim@nvidia.com>
Signed-off-by: shiva kumar <shivaku@nvidia.com>
 Add GitHub metadata as AWS Tags
Bumps [github.com/aws/aws-sdk-go-v2/service/ec2](https://github.com/aws/aws-sdk-go-v2) from 1.193.0 to 1.198.1.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Commits](aws/aws-sdk-go-v2@service/ec2/v1.193.0...service/ec2/v1.198.1)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/service/ec2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
….com/aws/aws-sdk-go-v2/service/ec2-1.198.1

Bump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.193.0 to 1.198.1
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.35.1 to 1.36.2.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](onsi/gomega@v1.35.1...v1.36.2)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
ArangoGutierrez and others added 24 commits May 21, 2025 18:53
Add unit tests across the project
Bumps [github.com/aws/aws-sdk-go-v2/service/ec2](https://github.com/aws/aws-sdk-go-v2) from 1.218.0 to 1.221.0.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json)
- [Commits](aws/aws-sdk-go-v2@service/ec2/v1.218.0...service/ec2/v1.221.0)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/service/ec2
  dependency-version: 1.221.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
….com/aws/aws-sdk-go-v2/service/ec2-1.221.0

Bump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.218.0 to 1.221.0
Bumps the k8sio group with 1 update in the / directory: [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery).


Updates `k8s.io/apimachinery` from 0.33.0 to 0.33.1
- [Commits](kubernetes/apimachinery@v0.33.0...v0.33.1)

---
updated-dependencies:
- dependency-name: k8s.io/apimachinery
  dependency-version: 0.33.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: k8sio
...

Signed-off-by: dependabot[bot] <support@github.com>
…5c65782ea8

Bump k8s.io/apimachinery from 0.33.0 to 0.33.1 in the k8sio group across 1 directory
Bumps [sigs.k8s.io/controller-runtime](https://github.com/kubernetes-sigs/controller-runtime) from 0.20.4 to 0.21.0.
- [Release notes](https://github.com/kubernetes-sigs/controller-runtime/releases)
- [Changelog](https://github.com/kubernetes-sigs/controller-runtime/blob/main/RELEASE.md)
- [Commits](kubernetes-sigs/controller-runtime@v0.20.4...v0.21.0)

---
updated-dependencies:
- dependency-name: sigs.k8s.io/controller-runtime
  dependency-version: 0.21.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
…8s.io/controller-runtime-0.21.0

Bump sigs.k8s.io/controller-runtime from 0.20.4 to 0.21.0
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
Enhance CLI by adding instance management
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
Enable containerd 2.0+ installation
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
Add a safely exit to securly close the ssh connection
Bumps [github.com/aws/aws-sdk-go-v2/service/ec2](https://github.com/aws/aws-sdk-go-v2) from 1.221.0 to 1.222.0.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json)
- [Commits](aws/aws-sdk-go-v2@service/ec2/v1.221.0...service/ec2/v1.222.0)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/service/ec2
  dependency-version: 1.222.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
….com/aws/aws-sdk-go-v2/service/ec2-1.222.0

Bump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.221.0 to 1.222.0
ssh.PublicKeys(signer),
},
HostKeyCallback: ssh.InsecureIgnoreHostKey(),
HostKeyCallback: ssh.InsecureIgnoreHostKey(), // nolint:gosec

Check failure

Code scanning / CodeQL

Use of insecure HostKeyCallback implementation

Configuring SSH ClientConfig with insecure HostKeyCallback implementation from [this source](1).

Copilot Autofix

AI 10 months ago

To fix the issue, replace the insecure ssh.InsecureIgnoreHostKey() with a secure host key callback implementation. The ssh.FixedHostKey function can be used if the host's public key is known in advance. This requires loading the public key from a file or another trusted source and using it to validate the server's host key during the SSH handshake.

Steps to implement the fix:

  1. Load the server's public key from a trusted file (e.g., allowed_hostkey.pub).
  2. Parse the public key using ssh.ParsePublicKey.
  3. Replace ssh.InsecureIgnoreHostKey() with ssh.FixedHostKey(publicKey) in the HostKeyCallback field of the ssh.ClientConfig.

Suggested changeset 1
cmd/cli/dryrun/dryrun.go

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/cmd/cli/dryrun/dryrun.go b/cmd/cli/dryrun/dryrun.go
--- a/cmd/cli/dryrun/dryrun.go
+++ b/cmd/cli/dryrun/dryrun.go
@@ -145,3 +145,16 @@
 		},
-		HostKeyCallback: ssh.InsecureIgnoreHostKey(), // nolint:gosec
+		HostKeyCallback: func(hostname string, remote net.Addr, key ssh.PublicKey) error {
+			publicKeyBytes, err := os.ReadFile("allowed_hostkey.pub")
+			if err != nil {
+				return fmt.Errorf("failed to read allowed host key file: %v", err)
+			}
+			publicKey, err := ssh.ParsePublicKey(publicKeyBytes)
+			if err != nil {
+				return fmt.Errorf("failed to parse allowed host key: %v", err)
+			}
+			if ssh.KeysEqual(publicKey, key) {
+				return nil
+			}
+			return fmt.Errorf("host key verification failed for host %s", hostname)
+		},
 	}
EOF
@@ -145,3 +145,16 @@
},
HostKeyCallback: ssh.InsecureIgnoreHostKey(), // nolint:gosec
HostKeyCallback: func(hostname string, remote net.Addr, key ssh.PublicKey) error {
publicKeyBytes, err := os.ReadFile("allowed_hostkey.pub")
if err != nil {
return fmt.Errorf("failed to read allowed host key file: %v", err)
}
publicKey, err := ssh.ParsePublicKey(publicKeyBytes)
if err != nil {
return fmt.Errorf("failed to parse allowed host key: %v", err)
}
if ssh.KeysEqual(publicKey, key) {
return nil
}
return fmt.Errorf("host key verification failed for host %s", hostname)
},
}
Copilot is powered by AI and may make mistakes. Always verify output.
Unable to commit as this autofix suggestion is now outdated
@copy-pr-bot
Copy link

copy-pr-bot bot commented May 26, 2025

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@ArangoGutierrez ArangoGutierrez merged commit da0cb9c into release-0.2 May 26, 2025
10 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants