fix(argo-cd): crd appproject with invalid schema for jwttokens objects (#620)

Signed-off-by: flavio.lemos <flavio.lemos@farfetch.com>
This commit is contained in:
Flávio Lemos 2021-03-20 15:58:47 +00:00 committed by GitHub
parent c6e5412350
commit da2dbda83e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 17 deletions

View file

@ -228,23 +228,28 @@ spec:
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
additionalProperties:
properties:
items:
description: List of JWT Tokens issued for the role
items:
description: Holds the issuedAt and expiresAt values of the token
properties:
exp:
description: The expiresAt value of a token
format: int64
type: integer
iat:
description: The issuedAt value of a token
format: int64
type: integer
id:
description: ID of the token
type: string
type: object
type: array
type: object
type: object
type: object
required: