Add oidcapp clientsecretname

[ZITADOPER-1]
This commit is contained in:
Haim Kortovich
2024-05-21 19:20:48 -05:00
parent dac9d1a52f
commit dd782c0fc4
2 changed files with 6 additions and 1 deletions

View File

@@ -143,6 +143,10 @@ func (d *OIDCApp) Project(ctx context.Context, refresolver *RefResolver) (*Proje
return project, nil
}
func (d *OIDCApp) ClientSecretName() string {
return d.Name + "-client-secret"
}
//+kubebuilder:object:root=true
// OIDCAppList contains a list of OIDCApp