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
[core] | |
repositoryformatversion = 0 | |
filemode = true | |
bare = false | |
logallrefupdates = true | |
ignorecase = true | |
precomposeunicode = true | |
[remote "origin"] | |
url = [email protected]:metal-toolbox/conditionorc.git | |
fetch = +refs/heads/*:refs/remotes/origin/* |
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
[user] | |
email = [email protected] | |
name = Joel Rebello | |
signingkey = 773C602F1C62746DF1DB6285EDB938BE882F8078 | |
[lfs] | |
batch = false | |
[filter "lfs"] | |
process = git-lfs filter-process | |
required = true | |
clean = git-lfs clean -- %f |
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
export PATH="/usr/local/opt/sqlite/bin:$HOME/go/bin:/usr/local/bin:$PATH" | |
export PATH="/usr/local/opt/libpq/bin:$PATH" | |
export PATH="/usr/local/opt/openjdk/bin:$PATH" | |
export PATH="${KREW_ROOT:-$HOME/.krew}/bin:$PATH" | |
export PATH="/usr/local/opt/grep/libexec/gnubin:$PATH" | |
export ZSH_CUSTOM="/Users/jrebello/.oh-my-zsh/custom" | |
plugins=( | |
git | |
kube-ps1 |
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/cmd/serve.go b/cmd/serve.go | |
index 1749bde..b64af39 100644 | |
--- a/cmd/serve.go | |
+++ b/cmd/serve.go | |
@@ -46,8 +46,8 @@ func init() { | |
crdbx.MustViperFlags(viper.GetViper(), serveCmd.Flags()) | |
// OIDC Flags | |
- serveCmd.Flags().Bool("oidc", true, "use oidc auth") | |
- ginjwt.BindFlagFromViperInst(viper.GetViper(), "oidc.enabled", serveCmd.Flags().Lookup("oidc")) |
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
export PATH="/usr/local/opt/sqlite/bin:$HOME/go/bin:/usr/local/bin:$PATH" | |
export PATH="/usr/local/opt/libpq/bin:$PATH" | |
export PATH="/usr/local/opt/openjdk/bin:$PATH" | |
export PATH="${KREW_ROOT:-$HOME/.krew}/bin:$PATH" | |
export PATH="/usr/local/opt/grep/libexec/gnubin:$PATH" | |
export ZSH_CUSTOM="/Users/jrebello/.oh-my-zsh/custom" | |
plugins=( | |
git | |
kube-ps1 |
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
#!/bin/sh | |
SERVERID="$1" | |
source ./scripts/nats-bootstrap/functions.sh | |
restore_accounts | |
function kv() { | |
kubectl exec -ti deployments/nats-box -- /bin/sh -c \ | |
"NKEYS_PATH=/root/nsc/nkeys NSC_HOME=/root/nsc/accounts \ |
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
#!/bin/sh | |
SERVERID="$1" | |
source ./scripts/nats-bootstrap/functions.sh | |
restore_accounts | |
function kv() { | |
kubectl exec -ti deployments/nats-box -- /bin/sh -c \ | |
"NKEYS_PATH=/root/nsc/nkeys NSC_HOME=/root/nsc/accounts \ |
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/cmd/add-versioned-attributes-fleetdb/main.go b/cmd/add-versioned-attributes-fleetdb/main.go | |
index f005f83..faa02e9 100644 | |
--- a/cmd/add-versioned-attributes-fleetdb/main.go | |
+++ b/cmd/add-versioned-attributes-fleetdb/main.go | |
@@ -45,6 +45,22 @@ func init() { | |
} | |
} | |
+func noauthHSSClient(ctx context.Context) (*serverservice.Client, error) { | |
+ // init retryable http client |
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/cmd/add-versioned-attributes-fleetdb/main.go b/cmd/add-versioned-attributes-fleetdb/main.go | |
index cdf284d..1feaac7 100644 | |
--- a/cmd/add-versioned-attributes-fleetdb/main.go | |
+++ b/cmd/add-versioned-attributes-fleetdb/main.go | |
@@ -10,6 +10,7 @@ import ( | |
"time" | |
"github.com/coreos/go-oidc" | |
+ "github.com/davecgh/go-spew/spew" | |
"github.com/google/uuid" |
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
{ | |
"page_size": 100, | |
"page": 1, | |
"page_count": 37, | |
"_links": { | |
"self": { | |
"href": "/api/v1/servers/ede81024-f62a-4288-8730-3fab8cceab78/components" | |
}, | |
"first": { | |
"href": "/api/v1/servers/ede81024-f62a-4288-8730-3fab8cceab78/components?page=1" |