Skip to content

Commit 7e30f5c

Browse files
committed
Merge remote-tracking branch 'origin/release-2.5' into fix/oauth-client-caching
2 parents 8ab1e1d + 4fc19b0 commit 7e30f5c

3 files changed

Lines changed: 18 additions & 0 deletions

File tree

cluster-issuer.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
apiVersion: command-issuer.keyfactor.com/v1alpha1
2+
kind: ClusterIssuer
3+
metadata:
4+
name: cluster-issuer
5+
spec:
6+
apiPath: Keyfactor/API
7+
caSecretName: ca-trust-secret
8+
certificateAuthorityHostname: ''
9+
certificateAuthorityLogicalName: Sub-CA
10+
certificateTemplate: Server_tlsServerAuth-1y
11+
commandSecretName: auth-secret
12+
hostname: matthew-irby-1.kftestlab.com

e2e/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ This is currently configured as a Bash script, so it is necessary to run this on
3131
- An enrollment pattern (default: "Default Pattern") with CSR Enrollment enabled
3232
- A security role (default: "InstanceOwner") with Enrollment permissions
3333

34+
On the Command side:
35+
- An enrollment pattern is created called "Test Enrollment Pattern" that is has CSR Enrollment, CSR Generation, and PFX Enrollment enabled
36+
- A security role by the name of "InstanceOwner" exists and has the ability to perform Enrollment
37+
3438
## Configuring the environment variables
3539

3640
command-cert-manager-issuer interacts with an external Command instance. An environment variable file `.env` can be used to store the environment variables to be used to talk to the Command instance.

e2e/run_tests.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1000,6 +1000,8 @@ check_for_certificate_secret
10001000
echo "🧪✅ Test 1 completed successfully."
10011001
echo ""
10021002

1003+
exit 0 # Temporarily exit here to focus on Issuer tests before running ClusterIssuer tests
1004+
10031005
echo "🧪💬 Test 1a: A generated certificate request should be successfully issued by ClusterIssuer."
10041006
regenerate_cluster_issuer
10051007
regenerate_certificate ClusterIssuer

0 commit comments

Comments
 (0)