Skip to content

Commit

Permalink
run fixups & regenerate code
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Hoß <[email protected]>
  • Loading branch information
sebhoss committed Nov 5, 2023
1 parent e00f91a commit cf9e9da
Show file tree
Hide file tree
Showing 31 changed files with 67,820 additions and 32,446 deletions.
23 changes: 6 additions & 17 deletions code-generator/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ done

### Remove buggy resources
BUGGY_RESOURCES=(
acid_zalan_do_v1/operatorconfigurations
acid_zalan_do_v1/postgresqls
acid_zalan_do_v1/postgresteams
acid_zalan_do_v1/operatorconfigurations # has no spec field
acid_zalan_do_v1/postgresqls # has problems with the status field
acid_zalan_do_v1/postgresteams # has problem with the status field
addons_cluster_x_k8s_io_v1alpha4/clusterresourcesetbindings
addons_cluster_x_k8s_io_v1beta1/clusterresourcesetbindings
apiextensions_crossplane_io_v1/compositionrevisions
Expand Down Expand Up @@ -58,10 +58,9 @@ BUGGY_RESOURCES=(
cilium_io_v2/ciliumidentities
cilium_io_v2/ciliumlocalredirectpolicies
core_strimzi_io_v1beta2/strimzipodsets
crd_projectcalico_org_v1/felixconfigurations
crd_projectcalico_org_v1/globalnetworkpolicies
crd_projectcalico_org_v1/ippools
crd_projectcalico_org_v1/networkpolicies
crd_projectcalico_org_v1/felixconfigurations # kopium: Error: unsupported recursive array type "" for kubeNodePortRanges
crd_projectcalico_org_v1/globalnetworkpolicies # kopium: Error: unsupported recursive array type "" for notPorts
crd_projectcalico_org_v1/networkpolicies # kopium: Error: unsupported recursive array type "" for notPorts
dex_coreos_com_v1/authcodes
dex_coreos_com_v1/authrequests
dex_coreos_com_v1/connectors
Expand Down Expand Up @@ -154,10 +153,6 @@ BUGGY_RESOURCES=(
kuma_io_v1alpha1/zoneingressinsights
kuma_io_v1alpha1/zoneinsights
kuma_io_v1alpha1/zones
kyverno_io_v1/clusterpolicies
kyverno_io_v1/policies
kyverno_io_v2beta1/clusterpolicies
kyverno_io_v2beta1/policies
lambda_services_k8s_aws_v1alpha1/aliases
lb_lbconfig_carlosedp_com_v1/externalloadbalancers
litmuschaos_io_v1alpha1/chaosresults
Expand All @@ -183,12 +178,6 @@ BUGGY_RESOURCES=(
longhorn_io_v1beta2/settings
metal3_io_v1alpha1/baremetalhosts
microcks_github_io_v1alpha1/microcksinstalls
monitoring_coreos_com_v1/podmonitors
monitoring_coreos_com_v1/probes
monitoring_coreos_com_v1/prometheuses
monitoring_coreos_com_v1/servicemonitors
monitoring_coreos_com_v1alpha1/prometheusagents
monitoring_coreos_com_v1alpha1/scrapeconfigs
multicluster_x_k8s_io_v1alpha1/works
networking_istio_io_v1alpha3/destinationrules
networking_istio_io_v1alpha3/envoyfilters
Expand Down
9,732 changes: 4,864 additions & 4,868 deletions crd-catalog/kyverno/kyverno/kyverno.io/v1/clusterpolicies.yaml

Large diffs are not rendered by default.

9,732 changes: 4,864 additions & 4,868 deletions crd-catalog/kyverno/kyverno/kyverno.io/v1/policies.yaml

Large diffs are not rendered by default.

9,266 changes: 4,631 additions & 4,635 deletions crd-catalog/kyverno/kyverno/kyverno.io/v2beta1/clusterpolicies.yaml

Large diffs are not rendered by default.

9,266 changes: 4,631 additions & 4,635 deletions crd-catalog/kyverno/kyverno/kyverno.io/v2beta1/policies.yaml

Large diffs are not rendered by default.

121 changes: 59 additions & 62 deletions crd-catalog/projectcalico/calico/crd.projectcalico.org/v1/ippools.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,69 +12,66 @@ spec:
preserveUnknownFields: false
scope: Cluster
versions:
- name: v1
schema:
openAPIV3Schema:
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: IPPoolSpec contains the specification for an IPPool resource.
properties:
allowedUses:
description: AllowedUse controls what the IP pool will be used for. If not specified or empty, defaults to ["Tunnel", "Workload"] for back-compatibility
items:
type: string
type: array
blockSize:
description: The block size to use for IP address assignments from this pool. Defaults to 26 for IPv4 and 122 for IPv6.
type: integer
cidr:
description: The pool CIDR.
type: string
disableBGPExport:
description: 'Disable exporting routes from this IP Pool''s CIDR over BGP. [Default: false]'
type: boolean
disabled:
description: When disabled is true, Calico IPAM will not assign addresses from this pool.
type: boolean
ipip:
description: 'Deprecated: this field is only used for APIv1 backwards compatibility. Setting this field is not allowed, this field is for internal use only.'
properties:
enabled:
description: When enabled is true, ipip tunneling will be used to deliver packets to destinations within this pool.
type: boolean
mode:
description: The IPIP mode. This can be one of "always" or "cross-subnet". A mode of "always" will also use IPIP tunneling for routing to destination IP addresses within this pool. A mode of "cross-subnet" will only use IPIP tunneling when the destination node is on a different subnet to the originating node. The default value (if not specified) is "always".
- name: v1
schema:
openAPIV3Schema:
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: IPPoolSpec contains the specification for an IPPool resource.
properties:
allowedUses:
description: AllowedUse controls what the IP pool will be used for. If not specified or empty, defaults to ["Tunnel", "Workload"] for back-compatibility
items:
type: string
type: object
ipipMode:
description: Contains configuration for IPIP tunneling for this pool. If not specified, then this is defaulted to "Never" (i.e. IPIP tunneling is disabled).
type: string
nat-outgoing:
description: 'Deprecated: this field is only used for APIv1 backwards compatibility. Setting this field is not allowed, this field is for internal use only.'
type: boolean
natOutgoing:
description: When natOutgoing is true, packets sent from Calico networked containers in this pool to destinations outside of this pool will be masqueraded.
type: boolean
nodeSelector:
description: Allows IPPool to allocate for a specific node by label selector.
type: string
vxlanMode:
description: Contains configuration for VXLAN tunneling for this pool. If not specified, then this is defaulted to "Never" (i.e. VXLAN tunneling is disabled).
type: string
required:
- cidr
type: object
type: object
served: true
storage: true
type: array
blockSize:
description: The block size to use for IP address assignments from this pool. Defaults to 26 for IPv4 and 122 for IPv6.
type: integer
cidr:
description: The pool CIDR.
type: string
disableBGPExport:
description: 'Disable exporting routes from this IP Pool''s CIDR over BGP. [Default: false]'
type: boolean
disabled:
description: When disabled is true, Calico IPAM will not assign addresses from this pool.
type: boolean
ipip:
description: 'Deprecated: this field is only used for APIv1 backwards compatibility. Setting this field is not allowed, this field is for internal use only.'
properties:
enabled:
description: When enabled is true, ipip tunneling will be used to deliver packets to destinations within this pool.
type: boolean
mode:
description: The IPIP mode. This can be one of "always" or "cross-subnet". A mode of "always" will also use IPIP tunneling for routing to destination IP addresses within this pool. A mode of "cross-subnet" will only use IPIP tunneling when the destination node is on a different subnet to the originating node. The default value (if not specified) is "always".
type: string
type: object
ipipMode:
description: Contains configuration for IPIP tunneling for this pool. If not specified, then this is defaulted to "Never" (i.e. IPIP tunneling is disabled).
type: string
natOutgoing:
description: When natOutgoing is true, packets sent from Calico networked containers in this pool to destinations outside of this pool will be masqueraded.
type: boolean
nodeSelector:
description: Allows IPPool to allocate for a specific node by label selector.
type: string
vxlanMode:
description: Contains configuration for VXLAN tunneling for this pool. If not specified, then this is defaulted to "Never" (i.e. VXLAN tunneling is disabled).
type: string
required:
- cidr
type: object
type: object
served: true
storage: true
status:
acceptedNames:
kind: ''
Expand Down
Loading

0 comments on commit cf9e9da

Please sign in to comment.