{ "$schema": "http://json-schema.org/draft-07/schema#", "properties": { "apiVersion": { "type": "string" }, "kind": { "type": "string" }, "metadata": { "type": "object" }, "spec": { "properties": { "altNames": { "items": { "type": "string" }, "type": "array" }, "clear": { "type": "boolean" }, "commonName": { "type": "string" }, "destination": { "properties": { "annotations": { "additionalProperties": { "type": "string" }, "type": "object" }, "create": { "default": false, "type": "boolean" }, "labels": { "additionalProperties": { "type": "string" }, "type": "object" }, "name": { "type": "string" }, "overwrite": { "default": false, "type": "boolean" }, "transformation": { "properties": { "excludeRaw": { "type": "boolean" }, "excludes": { "items": { "type": "string" }, "type": "array" }, "includes": { "items": { "type": "string" }, "type": "array" }, "templates": { "additionalProperties": { "properties": { "name": { "type": "string" }, "text": { "type": "string" } }, "required": [ "text" ], "type": "object" }, "type": "object" }, "transformationRefs": { "items": { "properties": { "ignoreExcludes": { "type": "boolean" }, "ignoreIncludes": { "type": "boolean" }, "name": { "type": "string" }, "namespace": { "type": "string" }, "templateRefs": { "items": { "properties": { "keyOverride": { "type": "string" }, "name": { "type": "string" } }, "required": [ "name" ], "type": "object" }, "type": "array" } }, "required": [ "name" ], "type": "object" }, "type": "array" } }, "type": "object" }, "type": { "type": "string" } }, "required": [ "name" ], "type": "object" }, "excludeCNFromSans": { "type": "boolean" }, "expiryOffset": { "pattern": "^([0-9]+(\\.[0-9]+)?(s|m|h))$", "type": "string" }, "format": { "type": "string" }, "ipSans": { "items": { "type": "string" }, "type": "array" }, "issuerRef": { "type": "string" }, "mount": { "type": "string" }, "namespace": { "type": "string" }, "notAfter": { "type": "string" }, "otherSans": { "items": { "type": "string" }, "type": "array" }, "privateKeyFormat": { "type": "string" }, "revoke": { "type": "boolean" }, "role": { "type": "string" }, "rolloutRestartTargets": { "items": { "properties": { "kind": { "enum": [ "Deployment", "DaemonSet", "StatefulSet", "argo.Rollout" ], "type": "string" }, "name": { "type": "string" } }, "required": [ "kind", "name" ], "type": "object" }, "type": "array" }, "ttl": { "pattern": "^([0-9]+(\\.[0-9]+)?(s|m|h|d))$", "type": "string" }, "uriSans": { "items": { "type": "string" }, "type": "array" }, "userIDs": { "items": { "type": "string" }, "type": "array" }, "vaultAuthRef": { "type": "string" } }, "required": [ "destination", "mount", "role" ], "type": "object" }, "status": { "properties": { "conditions": { "items": { "properties": { "lastTransitionTime": { "format": "date-time", "type": "string" }, "message": { "maxLength": 32768, "type": "string" }, "observedGeneration": { "format": "int64", "minimum": 0, "type": "integer" }, "reason": { "maxLength": 1024, "minLength": 1, "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$", "type": "string" }, "status": { "enum": [ "True", "False", "Unknown" ], "type": "string" }, "type": { "maxLength": 316, "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$", "type": "string" } }, "required": [ "lastTransitionTime", "message", "reason", "status", "type" ], "type": "object" }, "type": "array" }, "error": { "type": "string" }, "expiration": { "format": "int64", "type": "integer" }, "lastGeneration": { "format": "int64", "type": "integer" }, "lastRotation": { "format": "int64", "type": "integer" }, "secretMAC": { "type": "string" }, "serialNumber": { "type": "string" }, "valid": { "type": "boolean" } }, "required": [ "error", "lastGeneration", "lastRotation", "valid" ], "type": "object" } }, "type": "object" }