Skip to content

Commit

Permalink
removing flag
Browse files Browse the repository at this point in the history
Signed-off-by: Javan lacerda <javanlacerda@google.com>
  • Loading branch information
javanlacerda committed Jun 17, 2024
1 parent 34256b8 commit 68428d7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 17 deletions.
9 changes: 0 additions & 9 deletions config/fulcio-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,16 +99,7 @@ data:
},
"https://token.actions.githubusercontent.com/*": {
"ClientID": "sigstore",
<<<<<<< HEAD
"Type": "github-workflow"
=======
"Type": "github-workflow",
<<<<<<< HEAD
"IsCiProvider": true
>>>>>>> moving github-workflows to configfile
=======
"IsCiProvider": false
>>>>>>> set is ci provider as false
}
}
}
Expand Down
14 changes: 6 additions & 8 deletions federation/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,19 +144,17 @@ func main() {
for providerType, provider := range conf.Providers {
for _, issuer := range provider.OIDCIssuers {
fulcioCfg := config.OIDCIssuer{
IssuerURL: issuer.IssuerURL,
ClientID: "sigstore",
Type: config.IssuerType(providerType),
IssuerClaim: issuer.IssuerClaim,
IsCiProvider: issuer.IsCiProvider,
IssuerURL: issuer.IssuerURL,
ClientID: "sigstore",
Type: config.IssuerType(providerType),
IssuerClaim: issuer.IssuerClaim,
}
fulcioConfig.OIDCIssuers[fulcioCfg.IssuerURL] = fulcioCfg
}
for _, issuer := range provider.MetaIssuers {
fulcioMetaCfg := config.OIDCIssuer{
ClientID: "sigstore",
Type: config.IssuerType(providerType),
IsCiProvider: issuer.IsCiProvider,
ClientID: "sigstore",
Type: config.IssuerType(providerType),
}
fulcioConfig.MetaIssuers[issuer.IssuerURL] = fulcioMetaCfg
}
Expand Down

0 comments on commit 68428d7

Please sign in to comment.