Skip to content

Commit

Permalink
HW2: Analysis of CRD for Knative (xlab-uiuc#66)
Browse files Browse the repository at this point in the history
* Upload system state of Knative/knative-operator

* fix system state of Knative/knative-operator

* upload crds of Knative/knative-operator
  • Loading branch information
lhan0123 authored Feb 16, 2024
1 parent 2a5cb18 commit 2c2c110
Show file tree
Hide file tree
Showing 12 changed files with 6,505 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,195 @@
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":{"app.kubernetes.io/component":"networking","app.kubernetes.io/name":"knative-serving","app.kubernetes.io/version":"1.12.3","knative.dev/crd-install":"true"},"name":"certificates.networking.internal.knative.dev"},"spec":{"group":"networking.internal.knative.dev","names":{"categories":["knative-internal","networking"],"kind":"Certificate","plural":"certificates","shortNames":["kcert"],"singular":"certificate"},"scope":"Namespaced","versions":[{"additionalPrinterColumns":[{"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":"Certificate is responsible for provisioning a SSL certificate for the given hosts. It is a Knative abstraction for various SSL certificate provisioning solutions (such as cert-manager or self-signed SSL certificate).","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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds","type":"string"},"metadata":{"type":"object"},"spec":{"description":"Spec is the desired state of the Certificate. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status","properties":{"dnsNames":{"description":"DNSNames is a list of DNS names the Certificate could support. The wildcard format of DNSNames (e.g. *.default.example.com) is supported.","items":{"type":"string"},"type":"array"},"domain":{"description":"Domain is the top level domain of the values for DNSNames.","type":"string"},"secretName":{"description":"SecretName is the name of the secret resource to store the SSL certificate in.","type":"string"}},"required":["dnsNames","secretName"],"type":"object"},"status":{"description":"Status is the current state of the Certificate. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status","properties":{"annotations":{"additionalProperties":{"type":"string"},"description":"Annotations is additional Status fields for the Resource to save some additional State as well as convey more information to the user. This is roughly akin to Annotations on any k8s resource, just the reconciler conveying richer information outwards.","type":"object"},"conditions":{"description":"Conditions the latest available observations of a resource's current state.","items":{"description":"Condition defines a readiness condition for a Knative resource. See: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties","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":["status","type"],"type":"object"},"type":"array"},"http01Challenges":{"description":"HTTP01Challenges is a list of HTTP01 challenges that need to be fulfilled in order to get the TLS certificate..","items":{"description":"HTTP01Challenge defines the status of a HTTP01 challenge that a certificate needs to fulfill.","properties":{"serviceName":{"description":"ServiceName is the name of the service to serve HTTP01 challenge requests.","type":"string"},"serviceNamespace":{"description":"ServiceNamespace is the namespace of the service to serve HTTP01 challenge requests.","type":"string"},"servicePort":{"anyOf":[{"type":"integer"},{"type":"string"}],"description":"ServicePort is the port of the service to serve HTTP01 challenge requests.","x-kubernetes-int-or-string":true},"url":{"description":"URL is the URL that the HTTP01 challenge is expected to serve on.","type":"string"}},"type":"object"},"type":"array"},"notAfter":{"description":"The expiration time of the TLS certificate stored in the secret named by this resource in spec.secretName.","format":"date-time","type":"string"},"observedGeneration":{"description":"ObservedGeneration is the 'Generation' of the Service that was last processed by the controller.","format":"int64","type":"integer"}},"type":"object"}},"type":"object"}},"served":true,"storage":true,"subresources":{"status":{}}}]}}
creationTimestamp: "2024-01-27T03:05:18Z"
generation: 1
labels:
app.kubernetes.io/component: networking
app.kubernetes.io/name: knative-serving
app.kubernetes.io/version: 1.12.3
knative.dev/crd-install: "true"
name: certificates.networking.internal.knative.dev
resourceVersion: "1797"
uid: 9f749d20-6162-4367-a937-941cebaa7729
spec:
conversion:
strategy: None
group: networking.internal.knative.dev
names:
categories:
- knative-internal
- networking
kind: Certificate
listKind: CertificateList
plural: certificates
shortNames:
- kcert
singular: certificate
scope: Namespaced
versions:
- additionalPrinterColumns:
- 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: Certificate is responsible for provisioning a SSL certificate
for the given hosts. It is a Knative abstraction for various SSL certificate
provisioning solutions (such as cert-manager or self-signed SSL certificate).
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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
description: 'Spec is the desired state of the Certificate. More info:
https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status'
properties:
dnsNames:
description: DNSNames is a list of DNS names the Certificate could
support. The wildcard format of DNSNames (e.g. *.default.example.com)
is supported.
items:
type: string
type: array
domain:
description: Domain is the top level domain of the values for DNSNames.
type: string
secretName:
description: SecretName is the name of the secret resource to store
the SSL certificate in.
type: string
required:
- dnsNames
- secretName
type: object
status:
description: 'Status is the current state of the Certificate. More info:
https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status'
properties:
annotations:
additionalProperties:
type: string
description: Annotations is additional Status fields for the Resource
to save some additional State as well as convey more information
to the user. This is roughly akin to Annotations on any k8s resource,
just the reconciler conveying richer information outwards.
type: object
conditions:
description: Conditions the latest available observations of a resource's
current state.
items:
description: 'Condition defines a readiness condition for a Knative
resource. See: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties'
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:
- status
- type
type: object
type: array
http01Challenges:
description: HTTP01Challenges is a list of HTTP01 challenges that
need to be fulfilled in order to get the TLS certificate..
items:
description: HTTP01Challenge defines the status of a HTTP01 challenge
that a certificate needs to fulfill.
properties:
serviceName:
description: ServiceName is the name of the service to serve
HTTP01 challenge requests.
type: string
serviceNamespace:
description: ServiceNamespace is the namespace of the service
to serve HTTP01 challenge requests.
type: string
servicePort:
anyOf:
- type: integer
- type: string
description: ServicePort is the port of the service to serve
HTTP01 challenge requests.
x-kubernetes-int-or-string: true
url:
description: URL is the URL that the HTTP01 challenge is expected
to serve on.
type: string
type: object
type: array
notAfter:
description: The expiration time of the TLS certificate stored in
the secret named by this resource in spec.secretName.
format: date-time
type: string
observedGeneration:
description: ObservedGeneration is the 'Generation' of the Service
that was last processed by the controller.
format: int64
type: integer
type: object
type: object
served: true
storage: true
subresources:
status: {}
status:
acceptedNames:
categories:
- knative-internal
- networking
kind: Certificate
listKind: CertificateList
plural: certificates
shortNames:
- kcert
singular: certificate
conditions:
- lastTransitionTime: "2024-01-27T03:05:18Z"
message: no conflicts found
reason: NoConflicts
status: "True"
type: NamesAccepted
- lastTransitionTime: "2024-01-27T03:05:18Z"
message: the initial names have been accepted
reason: InitialNamesAccepted
status: "True"
type: Established
storedVersions:
- v1alpha1
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
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":{"app.kubernetes.io/component":"networking","app.kubernetes.io/name":"knative-serving","app.kubernetes.io/version":"1.12.3","knative.dev/crd-install":"true"},"name":"clusterdomainclaims.networking.internal.knative.dev"},"spec":{"group":"networking.internal.knative.dev","names":{"categories":["knative-internal","networking"],"kind":"ClusterDomainClaim","plural":"clusterdomainclaims","shortNames":["cdc"],"singular":"clusterdomainclaim"},"scope":"Cluster","versions":[{"name":"v1alpha1","schema":{"openAPIV3Schema":{"description":"ClusterDomainClaim is a cluster-wide reservation for a particular domain name.","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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds","type":"string"},"metadata":{"type":"object"},"spec":{"description":"Spec is the desired state of the ClusterDomainClaim. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status","properties":{"namespace":{"description":"Namespace is the namespace which is allowed to create a DomainMapping using this ClusterDomainClaim's name.","type":"string"}},"required":["namespace"],"type":"object"}},"type":"object"}},"served":true,"storage":true,"subresources":{"status":{}}}]}}
creationTimestamp: "2024-01-27T03:05:18Z"
generation: 1
labels:
app.kubernetes.io/component: networking
app.kubernetes.io/name: knative-serving
app.kubernetes.io/version: 1.12.3
knative.dev/crd-install: "true"
name: clusterdomainclaims.networking.internal.knative.dev
resourceVersion: "1813"
uid: 04a30b84-11dc-42c5-bd59-e0cbb0d141ca
spec:
conversion:
strategy: None
group: networking.internal.knative.dev
names:
categories:
- knative-internal
- networking
kind: ClusterDomainClaim
listKind: ClusterDomainClaimList
plural: clusterdomainclaims
shortNames:
- cdc
singular: clusterdomainclaim
scope: Cluster
versions:
- name: v1alpha1
schema:
openAPIV3Schema:
description: ClusterDomainClaim is a cluster-wide reservation for a particular
domain name.
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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
description: 'Spec is the desired state of the ClusterDomainClaim. More
info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status'
properties:
namespace:
description: Namespace is the namespace which is allowed to create
a DomainMapping using this ClusterDomainClaim's name.
type: string
required:
- namespace
type: object
type: object
served: true
storage: true
subresources:
status: {}
status:
acceptedNames:
categories:
- knative-internal
- networking
kind: ClusterDomainClaim
listKind: ClusterDomainClaimList
plural: clusterdomainclaims
shortNames:
- cdc
singular: clusterdomainclaim
conditions:
- lastTransitionTime: "2024-01-27T03:05:18Z"
message: no conflicts found
reason: NoConflicts
status: "True"
type: NamesAccepted
- lastTransitionTime: "2024-01-27T03:05:19Z"
message: the initial names have been accepted
reason: InitialNamesAccepted
status: "True"
type: Established
storedVersions:
- v1alpha1
1,511 changes: 1,511 additions & 0 deletions operators/knative_operator/crd/configurations_serving_knative_dev.yaml

Large diffs are not rendered by default.

Loading

0 comments on commit 2c2c110

Please sign in to comment.