Skip to content

Commit

Permalink
tests: add test for IAM for PrivateCACAPool
Browse files Browse the repository at this point in the history
  • Loading branch information
justinsb committed May 22, 2024
1 parent c7abf4e commit 0de3255
Show file tree
Hide file tree
Showing 4 changed files with 984 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
apiVersion: iam.cnrm.cloud.google.com/v1beta1
kind: IAMPolicyMember
metadata:
annotations:
cnrm.cloud.google.com/state-into-spec: merge
finalizers:
- cnrm.cloud.google.com/finalizer
- cnrm.cloud.google.com/deletion-defender
generation: 1
labels:
cnrm-test: "true"
name: iampolicymember-${uniqueId}
namespace: ${uniqueId}
spec:
memberFrom:
serviceAccountRef:
name: privatecacapool-dep
resourceRef:
apiVersion: privateca.cnrm.cloud.google.com/v1beta1
kind: PrivateCACAPool
name: privatecacapool-${uniqueId}
role: roles/privateca.admin
status:
conditions:
- lastTransitionTime: "1970-01-01T00:00:00Z"
message: The resource is up to date
reason: UpToDate
status: "True"
type: Ready
observedGeneration: 1
Loading

0 comments on commit 0de3255

Please sign in to comment.