-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: harden image using apko and wolfi (#297)
* move cmd/*.go to cmd/kargo-render/ to make room for source for a second binary Signed-off-by: Kent Rancourt <kent.rancourt@gmail.com> * implement a very simple git credential helper Signed-off-by: Kent Rancourt <kent.rancourt@gmail.com> * update git package to use new credential helper Signed-off-by: Kent Rancourt <kent.rancourt@gmail.com> * harden image using apko and wolfi Signed-off-by: Kent Rancourt <kent.rancourt@gmail.com> * upgrade argo cd and dependencies Signed-off-by: Kent Rancourt <kent.rancourt@gmail.com> * fix broken unit test Signed-off-by: Kent Rancourt <kent.rancourt@gmail.com> * fix(build): avoid superfluous retagging Signed-off-by: Hidde Beydals <hidde@hhh.computer> --------- Signed-off-by: Kent Rancourt <kent.rancourt@gmail.com> Signed-off-by: Hidde Beydals <hidde@hhh.computer> Co-authored-by: Hidde Beydals <hidde@hhh.computer>
- Loading branch information
Showing
19 changed files
with
379 additions
and
877 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
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,3 +1,4 @@ | ||
.vscode/ | ||
bin/ | ||
build/ | ||
coverage.txt |
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.22.1-bookworm | ||
FROM golang:1.22.5-bookworm | ||
|
||
ARG TARGETARCH | ||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package main | ||
|
||
import ( | ||
"fmt" | ||
"os" | ||
) | ||
|
||
func main() { | ||
password := os.Getenv("GIT_PASSWORD") | ||
if password == "" { | ||
fmt.Fprintln(os.Stderr, "GIT_PASSWORD must be set") | ||
os.Exit(1) | ||
} | ||
fmt.Println(password) | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.