You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When version 0.1 of the task named "collect-keyless-params" is run with parameters:
437
+
| configMapName | cluster-config |
438
+
Then the task should succeed
439
+
And the task logs for step "collect-signing-params" should match the snapshot
440
+
And the task result "keylessSigningEnabled" should equal "true"
441
+
And the task result "defaultOIDCIssuer" should equal "https://kubernetes.default.svc"
442
+
And the task result "buildIdentityRegexp" should equal "^https://kubernetes.io/namespaces/[a-z0-9-]+-tenant/serviceaccounts/build-pipeline-[a-z0-9-]+$"
443
+
And the task result "tektonChainsIdentity" should equal "https://kubernetes.io/namespaces/openshift-pipelines/serviceaccounts/tekton-chains-controller"
444
+
And the task result "fulcioUrl" should equal "https://fulcio.internal.svc"
445
+
And the task result "rekorUrl" should equal "https://rekor.internal.svc"
446
+
And the task result "tufUrl" should equal "https://tuf.internal.svc"
447
+
448
+
Scenario: Collect keyless signing parameters from ConfigMap with external url fallback
449
+
Given a working namespace
450
+
And a namespace named "konflux-info" exists
451
+
# Note: These scenarios might run in parallel so let's use a different config map
452
+
# for each scenario so we don't have to worry about them clashing with each other
453
+
And a ConfigMap "cluster-config-0" in namespace "konflux-info" with content:
When version 0.1 of the task named "collect-keyless-params" is run with parameters:
467
+
| configMapName | cluster-config-0 |
468
+
Then the task should succeed
469
+
And the task logs for step "collect-signing-params" should match the snapshot
470
+
And the task result "keylessSigningEnabled" should equal "true"
471
+
And the task result "defaultOIDCIssuer" should equal "https://kubernetes.default.svc"
472
+
And the task result "buildIdentityRegexp" should equal "^https://kubernetes.io/namespaces/[a-z0-9-]+-tenant/serviceaccounts/build-pipeline-[a-z0-9-]+$"
473
+
And the task result "tektonChainsIdentity" should equal "https://kubernetes.io/namespaces/openshift-pipelines/serviceaccounts/tekton-chains-controller"
474
+
And the task result "fulcioUrl" should equal "https://fulcio.example.com"
475
+
And the task result "rekorUrl" should equal "https://rekor.example.com"
476
+
And the task result "tufUrl" should equal "https://tuf.example.com"
477
+
478
+
Scenario: Collect keyless signing parameters from ConfigMap with keyless signing disabled
479
+
Given a working namespace
480
+
And a namespace named "konflux-info" exists
481
+
# Note: These scenarios might run in parallel so let's use a different config map
482
+
# for each scenario so we don't have to worry about them clashing with each other
483
+
And a ConfigMap "cluster-config-2" in namespace "konflux-info" with content:
0 commit comments