$ COSIGN_EXPERIMENTAL=1 cosign sign k8s.gcr.io/kube-apiserver-amd64:v1.24.0 --output-signature foo.sig --upload=false --output-certificate foo.pem
Generating ephemeral keys...
Retrieving signed certificate...
error opening browser: exit status 3
Go to the following link in a browser:
https://oauth2.sigstore.dev/auth/.....
Enter verification code: ........
Successfully verified SCT...
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
apiVersion: troubleshoot.sh/v1beta2 | |
kind: SupportBundle | |
metadata: | |
name: kappctrl | |
spec: | |
analyzers: | |
- clusterVersion: | |
outcomes: | |
- fail: | |
when: "< 1.20.0" |
This file contains hidden or 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
apiVersion: troubleshoot.sh/v1beta2 | |
kind: SupportBundle | |
metadata: | |
name: kappctrl | |
spec: | |
analyzers: | |
- clusterVersion: | |
outcomes: | |
- fail: | |
when: "< 1.20.0" |
This file contains hidden or 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
apiVersion: troubleshoot.sh/v1beta2 | |
kind: SupportBundle | |
metadata: | |
name: kappctrl | |
spec: | |
analyzers: | |
- clusterVersion: | |
outcomes: | |
- fail: | |
when: "< 1.20.0" |
This file contains hidden or 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
-- Called before everything, even before loading plugins | |
-- Do things that need to happen very early such as: | |
-- vim.g.fzf_command_prefix = 'Fuzzy' | |
-- ... | |
require('go').setup({ | |
lsp_cfg = { | |
settings = { | |
gopls = { | |
buildFlags = { | |
"-tags", "e2e", |
This file contains hidden or 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
#add10: { | |
in: number | |
out: in | |
} | |
k00: 0 | |
k10: (#add10 & {in: k00}).y | |
k20: (#add10 & {in: k10}).y | |
k30: (#add10 & {in: k20}).y |
This file contains hidden or 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
diff --git a/pkg/build/gobuild.go b/pkg/build/gobuild.go | |
index bbf42a27..b6c35a56 100644 | |
--- a/pkg/build/gobuild.go | |
+++ b/pkg/build/gobuild.go | |
@@ -708,6 +708,9 @@ func (g *gobuild) buildOne(ctx context.Context, refStr string, base v1.Image, pl | |
OSVersion: cf.OSVersion, | |
} | |
} | |
+ if !g.platformMatcher.matches(platform) { | |
+ return nil, fmt.Errorf("base image does not match desired platform %q", platform.String()) |
This file contains hidden or 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
package hack | |
_oses: ["linux", "darwin"] | |
_arches: ["arm64", "amd64"] | |
#Dependency: { | |
name: string | |
version: string | |
repo: string | |
dev: *false | bool |
This file contains hidden or 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
#os: "linux" | |
_os: ["linux"] | |
#arch: "amd64" | "arm64" | |
_arch: ["arm64", "amd64"] | |
#Package: { | |
name: string | |
version: string | |
for os in _os { | |
for arch in _arch { |