Skip to content

Conversation

@marcorichetta
Copy link

Hi!

I was following the tutorial and when trying to get the gitea token I found some errors on the jq queries.

❯ ./idpbuilder version                                          
idpbuilder 0.9.0 go1.22.12 linux/amd64

❯ ./idpbuilder get secrets -p gitea -o json                     
[
  {
    "IsCore": true,
    "name": "gitea-credential",
    "namespace": "gitea",
    "username": "giteaAdmin",
    "password": "K.d!X2<L?7hr%}7'^lJui%5xSV%KxzV9dsNq5M5S",
    "token": "6db62e19d94439543e100d6b6d240d6e3a242a41"
  }
]

# Current
❯ ./idpbuilder get secrets -p gitea -o json | jq -r '.[0].data.token'
null

# Fixed
❯ ./idpbuilder get secrets -p gitea -o json | jq -r '.[0].token'     
6db62e19d94439543e100d6b6d240d6e3a242a41

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.

1 participant