irsa webhook

This commit is contained in:
kkb0318
2024-04-01 21:20:02 +09:00
parent d8fa1111dd
commit e8647ef621
4 changed files with 62 additions and 4 deletions
+3 -3
View File
@@ -57,7 +57,7 @@ func (r *IRSASetupReconciler) Reconcile(ctx context.Context, req ctrl.Request) (
}
func (r *IRSASetupReconciler) reconcile(ctx context.Context) error {
err := reconcileSelfhosted(ctx)
err := reconcileSelfhosted(ctx)
return err
}
@@ -70,11 +70,11 @@ func reconcileSelfhosted(ctx context.Context) error {
if err != nil {
return err
}
// get from CRs
// get from CRs
region := "ap-northeast-1"
bucketName := "my-bucket-name"
jwksFileName := "keys.json"
var factory selfhosted.OIDCIdPFactory
var factory selfhosted.OIDCIdPFactory
factory, err = oidc.NewAwsS3IdpFactory(
ctx,