apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
kubectl.kubernetes.io/last-applied-configuration: '{"apiVersion":"apiextensions.k8s.io/v1","kind":"CustomResourceDefinition","metadata":{"annotations":{},"labels":{"operator.knative.dev/release":"v0.24.0"},"name":"knativeservings.operator.knative.dev"},"spec":{"conversion":{"strategy":"None"},"group":"operator.knative.dev","names":{"kind":"KnativeServing","listKind":"KnativeServingList","plural":"knativeservings","singular":"knativeserving"},"scope":"Namespaced","versions":[{"additionalPrinterColumns":[{"jsonPath":".status.version","name":"Version","type":"string"},{"jsonPath":".status.conditions[?(@.type==\"Ready\")].status","name":"Ready","type":"string"},{"jsonPath":".status.conditions[?(@.type==\"Ready\")].reason","name":"Reason","type":"string"}],"name":"v1alpha1","schema":{"openAPIV3Schema":{"description":"Schema
for the knativeservings API","properties":{"apiVersion":{"description":"APIVersion
defines the versioned schema of this representation of an object. Servers should
convert recognized schemas to the latest internal value, and may reject unrecognized
values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources","type":"string"},"kind":{"description":"Kind
is a string value representing the REST resource this object represents. Servers
may infer this from the endpoint the client submits requests to. Cannot be updated.
In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds","type":"string"},"metadata":{"type":"object"},"spec":{"description":"Spec
defines the desired state of KnativeServing","properties":{"additionalManifests":{"description":"A
list of the additional serving manifests, which will be installed by the operator","items":{"properties":{"URL":{"description":"The
link of the additional manifest URL","type":"string"}},"type":"object"},"type":"array"},"cluster-local-gateway":{"description":"A
means to override the cluster-local-gateway. This field is deprecated. Use `spec.ingres.istio.knative-local-gateway`","properties":{"selector":{"additionalProperties":{"type":"string"},"description":"The
selector for the ingress-gateway.","type":"object"}},"type":"object"},"config":{"additionalProperties":{"additionalProperties":{"type":"string"},"type":"object"},"description":"A
means to override the corresponding entries in the upstream configmaps","type":"object"},"controller-custom-certs":{"description":"Enabling
the controller to trust registries with self-signed certificates","properties":{"name":{"description":"The
name of the ConfigMap or Secret","type":"string"},"type":{"description":"One
of ConfigMap or Secret","enum":["ConfigMap","Secret",""],"type":"string"}},"type":"object"},"deployments":{"description":"A
mapping of deployment name to override","items":{"properties":{"annotations":{"additionalProperties":{"type":"string"},"description":"Annotations
overrides labels for the deployment and its template.","type":"object"},"labels":{"additionalProperties":{"type":"string"},"description":"Labels
overrides labels for the deployment and its template.","type":"object"},"name":{"description":"The
name of the deployment","type":"string"},"nodeSelector":{"additionalProperties":{"type":"string"},"description":"NodeSelector
overrides nodeSelector for the deployment.","type":"object"},"replicas":{"description":"The
number of replicas that HA parts of the control plane will be scaled to","minimum":1,"type":"integer"}},"type":"object"},"type":"array"},"high-availability":{"description":"Allows
specification of HA control plane","properties":{"replicas":{"description":"The
number of replicas that HA parts of the control plane will be scaled to","minimum":1,"type":"integer"}},"type":"object"},"ingress":{"description":"The
ingress configuration for Knative Serving","properties":{"contour":{"description":"Contour
settings","properties":{"enabled":{"type":"boolean"}},"type":"object"},"istio":{"description":"Istio
settings","properties":{"enabled":{"type":"boolean"},"knative-ingress-gateway":{"description":"A
means to override the knative-ingress-gateway","properties":{"selector":{"additionalProperties":{"type":"string"},"description":"The
selector for the ingress-gateway.","type":"object"}},"type":"object"},"knative-local-gateway":{"description":"A
means to override the knative-local-gateway","properties":{"selector":{"additionalProperties":{"type":"string"},"description":"The
selector for the ingress-gateway.","type":"object"}},"type":"object"}},"type":"object"},"kourier":{"description":"Kourier
settings","properties":{"enabled":{"type":"boolean"},"service-type":{"type":"string"}},"type":"object"}},"type":"object"},"knative-ingress-gateway":{"description":"A
means to override the knative-ingress-gateway. This field is deprecated. Use
`spec.ingres.istio.knative-ingress-gateway`","properties":{"selector":{"additionalProperties":{"type":"string"},"description":"The
selector for the ingress-gateway.","type":"object"}},"type":"object"},"manifests":{"description":"A
list of serving manifests, which will be installed by the operator","items":{"properties":{"URL":{"description":"The
link of the manifest URL","type":"string"}},"type":"object"},"type":"array"},"registry":{"description":"A
means to override the corresponding deployment images in the upstream. This
affects both apps/v1.Deployment and caching.internal.knative.dev/v1alpha1.Image.","properties":{"default":{"description":"The
default image reference template to use for all knative images. Takes the form
of example-registry.io/custom/path/${NAME}:custom-tag","type":"string"},"imagePullSecrets":{"description":"A
list of secrets to be used when pulling the knative images. The secret must
be created in the same namespace as the knative-serving deployments, and not
the namespace of this resource.","items":{"properties":{"name":{"description":"The
name of the secret.","type":"string"}},"type":"object"},"type":"array"},"override":{"additionalProperties":{"type":"string"},"description":"A
map of a container name or image name to the full image location of the individual
knative image.","type":"object"}},"type":"object"},"resources":{"description":"A
mapping of deployment name to resource requirements","items":{"properties":{"container":{"description":"The
name of the container","type":"string"},"limits":{"properties":{"cpu":{"pattern":"^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$","type":"string"},"ephemeral-storage":{"pattern":"^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$","type":"string"},"memory":{"pattern":"^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$","type":"string"},"storage":{"pattern":"^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$","type":"string"}},"type":"object"},"requests":{"properties":{"cpu":{"pattern":"^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$","type":"string"},"ephemeral-storage":{"pattern":"^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$","type":"string"},"memory":{"pattern":"^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$","type":"string"},"storage":{"pattern":"^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$","type":"string"}},"type":"object"}},"type":"object"},"type":"array"},"version":{"description":"The
version of Knative Serving to be installed","type":"string"}},"type":"object"},"status":{"description":"Status
defines the observed state of KnativeServing","properties":{"conditions":{"description":"The
latest available observations of a resource''s current state.","items":{"properties":{"lastTransitionTime":{"description":"LastTransitionTime
is the last time the condition transitioned from one status to another. We use
VolatileTime in place of metav1.Time to exclude this from creating equality.Semantic
differences (all other things held constant).","type":"string"},"message":{"description":"A
human readable message indicating details about the transition.","type":"string"},"reason":{"description":"The
reason for the condition''s last transition.","type":"string"},"severity":{"description":"Severity
with which to treat failures of this type of condition. When this is not specified,
it defaults to Error.","type":"string"},"status":{"description":"Status of the
condition, one of True, False, Unknown.","type":"string"},"type":{"description":"Type
of condition.","type":"string"}},"required":["type","status"],"type":"object"},"type":"array"},"manifests":{"description":"The
list of serving manifests, which have been installed by the operator","items":{"type":"string"},"type":"array"},"observedGeneration":{"description":"The
generation last processed by the controller","type":"integer"},"version":{"description":"The
version of the installed release","type":"string"}},"type":"object"}},"type":"object"}},"served":true,"storage":true,"subresources":{"status":{}}}]}}
'
creationTimestamp: '2021-08-30T18:59:23Z'
generation: 1
labels:
operator.knative.dev/release: v0.24.0
managedFields:
- apiVersion: apiextensions.k8s.io/v1
fieldsType: FieldsV1
fieldsV1:
f:metadata:
f:annotations:
.: {}
f:kubectl.kubernetes.io/last-applied-configuration: {}
f:labels:
.: {}
f:operator.knative.dev/release: {}
f:spec:
f:conversion:
.: {}
f:strategy: {}
f:group: {}
f:names:
f:kind: {}
f:listKind: {}
f:plural: {}
f:singular: {}
f:scope: {}
f:versions: {}
manager: argocd-application-controller
operation: Update
time: '2021-08-30T18:59:23Z'
- apiVersion: apiextensions.k8s.io/v1
fieldsType: FieldsV1
fieldsV1:
f:status:
f:acceptedNames:
f:kind: {}
f:listKind: {}
f:plural: {}
f:singular: {}
f:conditions:
k:{"type":"Established"}:
.: {}
f:lastTransitionTime: {}
f:message: {}
f:reason: {}
f:status: {}
f:type: {}
k:{"type":"NamesAccepted"}:
.: {}
f:lastTransitionTime: {}
f:message: {}
f:reason: {}
f:status: {}
f:type: {}
manager: k3s
operation: Update
time: '2021-08-30T18:59:24Z'
name: knativeservings.operator.knative.dev
resourceVersion: '4620'
uid: 5b00e3c7-63ac-4d88-828b-7edf483618ec
spec:
conversion:
strategy: None
group: operator.knative.dev
names:
kind: KnativeServing
listKind: KnativeServingList
plural: knativeservings
singular: knativeserving
scope: Namespaced
versions:
- additionalPrinterColumns:
- jsonPath: .status.version
name: Version
type: string
- jsonPath: .status.conditions[?(@.type=="Ready")].status
name: Ready
type: string
- jsonPath: .status.conditions[?(@.type=="Ready")].reason
name: Reason
type: string
name: v1alpha1
schema:
openAPIV3Schema:
description: Schema for the knativeservings API
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
description: Spec defines the desired state of KnativeServing
properties:
additionalManifests:
description: A list of the additional serving manifests, which will
be installed by the operator
items:
properties:
URL:
description: The link of the additional manifest URL
type: string
type: object
type: array
cluster-local-gateway:
description: A means to override the cluster-local-gateway. This field
is deprecated. Use `spec.ingres.istio.knative-local-gateway`
properties:
selector:
additionalProperties:
type: string
description: The selector for the ingress-gateway.
type: object
type: object
config:
additionalProperties:
additionalProperties:
type: string
type: object
description: A means to override the corresponding entries in the
upstream configmaps
type: object
controller-custom-certs:
description: Enabling the controller to trust registries with self-signed
certificates
properties:
name:
description: The name of the ConfigMap or Secret
type: string
type:
description: One of ConfigMap or Secret
enum:
- ConfigMap
- Secret
- ''
type: string
type: object
deployments:
description: A mapping of deployment name to override
items:
properties:
annotations:
additionalProperties:
type: string
description: Annotations overrides labels for the deployment
and its template.
type: object
labels:
additionalProperties:
type: string
description: Labels overrides labels for the deployment and
its template.
type: object
name:
description: The name of the deployment
type: string
nodeSelector:
additionalProperties:
type: string
description: NodeSelector overrides nodeSelector for the deployment.
type: object
replicas:
description: The number of replicas that HA parts of the control
plane will be scaled to
minimum: 1
type: integer
type: object
type: array
high-availability:
description: Allows specification of HA control plane
properties:
replicas:
description: The number of replicas that HA parts of the control
plane will be scaled to
minimum: 1
type: integer
type: object
ingress:
description: The ingress configuration for Knative Serving
properties:
contour:
description: Contour settings
properties:
enabled:
type: boolean
type: object
istio:
description: Istio settings
properties:
enabled:
type: boolean
knative-ingress-gateway:
description: A means to override the knative-ingress-gateway
properties:
selector:
additionalProperties:
type: string
description: The selector for the ingress-gateway.
type: object
type: object
knative-local-gateway:
description: A means to override the knative-local-gateway
properties:
selector:
additionalProperties:
type: string
description: The selector for the ingress-gateway.
type: object
type: object
type: object
kourier:
description: Kourier settings
properties:
enabled:
type: boolean
service-type:
type: string
type: object
type: object
knative-ingress-gateway:
description: A means to override the knative-ingress-gateway. This
field is deprecated. Use `spec.ingres.istio.knative-ingress-gateway`
properties:
selector:
additionalProperties:
type: string
description: The selector for the ingress-gateway.
type: object
type: object
manifests:
description: A list of serving manifests, which will be installed
by the operator
items:
properties:
URL:
description: The link of the manifest URL
type: string
type: object
type: array
registry:
description: A means to override the corresponding deployment images
in the upstream. This affects both apps/v1.Deployment and caching.internal.knative.dev/v1alpha1.Image.
properties:
default:
description: The default image reference template to use for all
knative images. Takes the form of example-registry.io/custom/path/${NAME}:custom-tag
type: string
imagePullSecrets:
description: A list of secrets to be used when pulling the knative
images. The secret must be created in the same namespace as
the knative-serving deployments, and not the namespace of this
resource.
items:
properties:
name:
description: The name of the secret.
type: string
type: object
type: array
override:
additionalProperties:
type: string
description: A map of a container name or image name to the full
image location of the individual knative image.
type: object
type: object
resources:
description: A mapping of deployment name to resource requirements
items:
properties:
container:
description: The name of the container
type: string
limits:
properties:
cpu:
pattern: ^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$
type: string
ephemeral-storage:
pattern: ^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$
type: string
memory:
pattern: ^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$
type: string
storage:
pattern: ^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$
type: string
type: object
requests:
properties:
cpu:
pattern: ^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$
type: string
ephemeral-storage:
pattern: ^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$
type: string
memory:
pattern: ^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$
type: string
storage:
pattern: ^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$
type: string
type: object
type: object
type: array
version:
description: The version of Knative Serving to be installed
type: string
type: object
status:
description: Status defines the observed state of KnativeServing
properties:
conditions:
description: The latest available observations of a resource's current
state.
items:
properties:
lastTransitionTime:
description: LastTransitionTime is the last time the condition
transitioned from one status to another. We use VolatileTime
in place of metav1.Time to exclude this from creating equality.Semantic
differences (all other things held constant).
type: string
message:
description: A human readable message indicating details about
the transition.
type: string
reason:
description: The reason for the condition's last transition.
type: string
severity:
description: Severity with which to treat failures of this type
of condition. When this is not specified, it defaults to Error.
type: string
status:
description: Status of the condition, one of True, False, Unknown.
type: string
type:
description: Type of condition.
type: string
required:
- type
- status
type: object
type: array
manifests:
description: The list of serving manifests, which have been installed
by the operator
items:
type: string
type: array
observedGeneration:
description: The generation last processed by the controller
type: integer
version:
description: The version of the installed release
type: string
type: object
type: object
served: true
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: KnativeServing
listKind: KnativeServingList
plural: knativeservings
singular: knativeserving
conditions:
- lastTransitionTime: '2021-08-30T18:59:24Z'
message: no conflicts found
reason: NoConflicts
status: 'True'
type: NamesAccepted
- lastTransitionTime: '2021-08-30T18:59:24Z'
message: the initial names have been accepted
reason: InitialNamesAccepted
status: 'True'
type: Established
storedVersions:
- v1alpha1