-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2683 from NetApp/release/24.02.0
ci: merge 24.02 into main
- Loading branch information
Showing
21 changed files
with
154 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ | |
name: "CodeQL" | ||
|
||
env: | ||
GO_VERSION: "1.21.7" | ||
GO_VERSION: "1.22.0" | ||
|
||
on: | ||
push: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM golang:1.21.7 as builder | ||
FROM golang:1.22.0 as builder | ||
|
||
SHELL ["/bin/bash", "-c"] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# Harvest Config Collection Guide | ||
|
||
This guide is designed to help you validate your Harvest configuration (`harvest.yml`) on various platforms. | ||
The commands in this guide will generate redacted output that personally identifiable information (PII) removed. | ||
This makes it safe for you to share the output. | ||
Follow the instructions specific to your platform. | ||
If you wish to share it with the Harvest team, | ||
please email them at [ng-harvest-files@netapp.com](mailto:ng-harvest-files@netapp.com). | ||
|
||
## RPM, DEB, and Native Installations | ||
|
||
To print a redacted version of your Harvest configuration to the console, use the following command: | ||
|
||
```bash | ||
cd /opt/harvest | ||
export CONFIG_FILE_NAME=harvest.yml | ||
bin/harvest doctor --print --config $CONFIG_FILE_NAME | ||
``` | ||
|
||
## Docker Container | ||
|
||
For Docker containers, use the following command to print a redacted version of your Harvest configuration to the console: | ||
|
||
```bash | ||
cd to/where/your/harvest.yml/is | ||
export CONFIG_FILE_NAME=harvest.yml | ||
docker run --rm --entrypoint "bin/harvest" --volume "$(pwd)/$CONFIG_FILE_NAME:/opt/harvest/harvest.yml" ghcr.io/netapp/harvest doctor --print | ||
``` | ||
|
||
## NABox | ||
|
||
If you're using NABox, you'll need to [ssh](https://nabox.org/documentation/configuration/) into your NABox instance. | ||
Then, use the following command to print a redacted version of your Harvest configuration to the console: | ||
|
||
```bash | ||
dc exec -w /conf nabox-harvest2 /netapp-harvest/bin/harvest doctor --print | ||
``` | ||
|
||
If your configuration file name is different from the default `harvest.yml`, | ||
remember to change the `CONFIG_FILE_NAME` environment variable to match your file name. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
module github.com/netapp/harvest/v2 | ||
|
||
go 1.21 | ||
go 1.22 | ||
|
||
require ( | ||
dario.cat/mergo v1.0.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.