From 540bcf3207399142d52fe06b8bbfad520b8ed4ca Mon Sep 17 00:00:00 2001 From: Vlad Losev Date: Mon, 15 Feb 2021 13:19:12 -0800 Subject: [PATCH] feat(argo-cd): Add spec for the status field of AppProject CRD. Signed-off-by: Vlad Losev --- charts/argo-cd/crds/crd-project.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/charts/argo-cd/crds/crd-project.yaml b/charts/argo-cd/crds/crd-project.yaml index 370ab873..766b2905 100644 --- a/charts/argo-cd/crds/crd-project.yaml +++ b/charts/argo-cd/crds/crd-project.yaml @@ -224,6 +224,29 @@ spec: type: object type: array type: object + status: + description: Status of the AppProject + properties: + jwtTokensByRole: + additionalProperties: + description: List of JWTToken objects for a given role + items: + description: Holds the issuedAt and expiresAt values of the token + properties: + exp: + description: The expiresAt value of a token + type: string + iat: + description: The issuedAt value of a token + type: string + id: + description: ID of the token + type: string + type: object + type: array + description: JWT Tokens issued for each of the roles in the project + type: object + type: object required: - metadata - spec