From 014df64f3f18129644e4dd13f2cea358720c8681 Mon Sep 17 00:00:00 2001 From: Vlad Losev Date: Tue, 16 Feb 2021 21:30:40 -0800 Subject: [PATCH] feat(argo-cd): Add spec for the status field of AppProject CRD. (#582) * feat(argo-cd): Add spec for the status field of AppProject CRD. Signed-off-by: Vlad Losev * Bumps the chart version. Signed-off-by: Vlad Losev --- charts/argo-cd/Chart.yaml | 2 +- charts/argo-cd/crds/crd-project.yaml | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/charts/argo-cd/Chart.yaml b/charts/argo-cd/Chart.yaml index 435a890a..6215e410 100644 --- a/charts/argo-cd/Chart.yaml +++ b/charts/argo-cd/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: 1.8.4 description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes. name: argo-cd -version: 2.14.5 +version: 2.14.6 home: https://github.com/argoproj/argo-helm icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png keywords: 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