Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add tigera/operator #206

Merged
merged 1 commit into from
Mar 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .reuse/dep5
Original file line number Diff line number Diff line change
Expand Up @@ -1083,6 +1083,10 @@ Files: crd-catalog/ThinkParQ/beegfs-csi-driver/*
Copyright: The ThinkParQ/beegfs-csi-driver Authors
License: Apache-2.0

Files: crd-catalog/tigera/operator/*
Copyright: The tigera/operator Authors
License: Apache-2.0

Files: crd-catalog/tinkerbell/cluster-api-provider-tinkerbell/*
Copyright: The tinkerbell/cluster-api-provider-tinkerbell Authors
License: Apache-2.0
Expand Down
28 changes: 24 additions & 4 deletions code-generator/src/catalog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2475,10 +2475,6 @@ pub const CRD_V1_SOURCES: &'static [UpstreamSource] = &[
license: APACHE_V2,
urls: &[
"https://github.com/projectcalico/calico/blob/master/manifests/crds.yaml",
"https://github.com/projectcalico/calico/blob/master/charts/tigera-operator/crds/operator.tigera.io_apiservers_crd.yaml",
"https://github.com/projectcalico/calico/blob/master/charts/tigera-operator/crds/operator.tigera.io_imagesets_crd.yaml",
"https://github.com/projectcalico/calico/blob/master/charts/tigera-operator/crds/operator.tigera.io_installations_crd.yaml",
"https://github.com/projectcalico/calico/blob/master/charts/tigera-operator/crds/operator.tigera.io_tigerastatuses_crd.yaml",
],
},
UpstreamSource {
Expand Down Expand Up @@ -2788,6 +2784,30 @@ pub const CRD_V1_SOURCES: &'static [UpstreamSource] = &[
"https://github.com/ThinkParQ/beegfs-csi-driver/blob/master/operator/config/crd/bases/beegfs.csi.netapp.com_beegfsdrivers.yaml",
],
},
UpstreamSource {
project_name: "tigera/operator",
license: APACHE_V2,
urls: &[
"https://github.com/tigera/operator/blob/master/pkg/crds/operator/operator.tigera.io_amazoncloudintegrations.yaml",
"https://github.com/tigera/operator/blob/master/pkg/crds/operator/operator.tigera.io_apiservers.yaml",
"https://github.com/tigera/operator/blob/master/pkg/crds/operator/operator.tigera.io_applicationlayers.yaml",
"https://github.com/tigera/operator/blob/master/pkg/crds/operator/operator.tigera.io_authentications.yaml",
"https://github.com/tigera/operator/blob/master/pkg/crds/operator/operator.tigera.io_compliances.yaml",
"https://github.com/tigera/operator/blob/master/pkg/crds/operator/operator.tigera.io_egressgateways.yaml",
"https://github.com/tigera/operator/blob/master/pkg/crds/operator/operator.tigera.io_imagesets.yaml",
"https://github.com/tigera/operator/blob/master/pkg/crds/operator/operator.tigera.io_installations.yaml",
"https://github.com/tigera/operator/blob/master/pkg/crds/operator/operator.tigera.io_intrusiondetections.yaml",
"https://github.com/tigera/operator/blob/master/pkg/crds/operator/operator.tigera.io_logcollectors.yaml",
"https://github.com/tigera/operator/blob/master/pkg/crds/operator/operator.tigera.io_logstorages.yaml",
"https://github.com/tigera/operator/blob/master/pkg/crds/operator/operator.tigera.io_managementclusterconnections.yaml",
"https://github.com/tigera/operator/blob/master/pkg/crds/operator/operator.tigera.io_managementclusters.yaml",
"https://github.com/tigera/operator/blob/master/pkg/crds/operator/operator.tigera.io_managers.yaml",
"https://github.com/tigera/operator/blob/master/pkg/crds/operator/operator.tigera.io_monitors.yaml",
"https://github.com/tigera/operator/blob/master/pkg/crds/operator/operator.tigera.io_policyrecommendations.yaml",
"https://github.com/tigera/operator/blob/master/pkg/crds/operator/operator.tigera.io_tenants.yaml",
"https://github.com/tigera/operator/blob/master/pkg/crds/operator/operator.tigera.io_tigerastatuses.yaml",
],
},
UpstreamSource {
project_name: "tinkerbell/cluster-api-provider-tinkerbell",
license: APACHE_V2,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
apiVersion: "apiextensions.k8s.io/v1"
kind: "CustomResourceDefinition"
metadata:
annotations:
controller-gen.kubebuilder.io/version: "v0.11.3"
name: "amazoncloudintegrations.operator.tigera.io"
spec:
group: "operator.tigera.io"
names:
kind: "AmazonCloudIntegration"
listKind: "AmazonCloudIntegrationList"
plural: "amazoncloudintegrations"
singular: "amazoncloudintegration"
scope: "Cluster"
versions:
- name: "v1"
schema:
openAPIV3Schema:
description: "AmazonCloudIntegration is the Schema for the amazoncloudintegrations 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/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: "AmazonCloudIntegrationSpec defines the desired state of AmazonCloudIntegration"
properties:
awsRegion:
description: "AWSRegion is the region in which your cluster is located."
type: "string"
defaultPodMetadataAccess:
description: "DefaultPodMetadataAccess defines what the default behavior will be for accessing the AWS metadata service from a pod. Default: Denied"
enum:
- "Allowed"
- "Denied"
type: "string"
enforcedSecurityGroupID:
description: "EnforcedSecurityGroupID is the ID of the Security Group which will be applied to all ENIs that are on a host that is also part of the Kubernetes cluster."
type: "string"
nodeSecurityGroupIDs:
description: "NodeSecurityGroupIDs is a list of Security Group IDs that all nodes and masters will be in."
items:
type: "string"
type: "array"
podSecurityGroupID:
description: "PodSecurityGroupID is the ID of the Security Group which all pods should be placed in by default."
type: "string"
sqsURL:
description: "SQSURL is the SQS URL needed to access the Simple Queue Service."
type: "string"
trustEnforcedSecurityGroupID:
description: "TrustEnforcedSecurityGroupID is the ID of the Security Group which will be applied to all ENIs in the VPC."
type: "string"
vpcs:
description: "VPCS is a list of VPC IDs to monitor for ENIs and Security Groups, only one is supported."
items:
type: "string"
type: "array"
type: "object"
status:
description: "AmazonCloudIntegrationStatus defines the observed state of AmazonCloudIntegration"
properties:
conditions:
description: "Conditions represents the latest observed set of conditions for the component. A component may be one or more of Ready, Progressing, Degraded or other customer types."
items:
description: "Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct use as an array at the field path .status.conditions. For example, \n type FooStatus struct{ // Represents the observations of a foo's current state. // Known .status.conditions.type are: \"Available\", \"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }"
properties:
lastTransitionTime:
description: "lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable."
format: "date-time"
type: "string"
message:
description: "message is a human readable message indicating details about the transition. This may be an empty string."
maxLength: 32768
type: "string"
observedGeneration:
description: "observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance."
format: "int64"
minimum: 0.0
type: "integer"
reason:
description: "reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty."
maxLength: 1024
minLength: 1
pattern: "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$"
type: "string"
status:
description: "status of the condition, one of True, False, Unknown."
enum:
- "True"
- "False"
- "Unknown"
type: "string"
type:
description: "type of condition in CamelCase or in foo.example.com/CamelCase. --- Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to deconflict is important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)"
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"
state:
description: "State provides user-readable status."
type: "string"
type: "object"
type: "object"
served: true
storage: true
subresources:
status: {}
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ spec:
- type: "string"
pattern: "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$"
x-kubernetes-int-or-string: true
description: "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/"
description: "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/"
type: "object"
type: "object"
required:
Expand Down Expand Up @@ -643,7 +643,7 @@ spec:
- type: "string"
pattern: "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$"
x-kubernetes-int-or-string: true
description: "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/"
description: "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/"
type: "object"
type: "object"
required:
Expand Down Expand Up @@ -715,7 +715,7 @@ spec:
type: "object"
x-kubernetes-map-type: "atomic"
matchLabelKeys:
description: "MatchLabelKeys is a set of pod label keys to select the pods over which spreading will be calculated. The keys are used to lookup values from the incoming pod labels, those key-value labels are ANDed with labelSelector to select the group of existing pods over which spreading will be calculated for the incoming pod. Keys that don't exist in the incoming pod labels will be ignored. A null or empty list means only match against labelSelector."
description: "MatchLabelKeys is a set of pod label keys to select the pods over which spreading will be calculated. The keys are used to lookup values from the incoming pod labels, those key-value labels are ANDed with labelSelector to select the group of existing pods over which spreading will be calculated for the incoming pod. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. MatchLabelKeys cannot be set when LabelSelector isn't set. Keys that don't exist in the incoming pod labels will be ignored. A null or empty list means only match against labelSelector. \n This is a beta field and requires the MatchLabelKeysInPodTopologySpread feature gate to be enabled (enabled by default)."
items:
type: "string"
type: "array"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--derive=PartialEq
Loading