Skip to content

Commit

Permalink
Merge pull request #261 from stuggi/bump_controller_tools
Browse files Browse the repository at this point in the history
Bump CONTROLLER_TOOLS_VERSION to 0.14.0
  • Loading branch information
openshift-merge-bot[bot] authored Dec 9, 2024
2 parents da180e1 + 822dfcc commit b2b1b46
Show file tree
Hide file tree
Showing 12 changed files with 1,237 additions and 1,096 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ GINKGO ?= $(LOCALBIN)/ginkgo

## Tool Versions
KUSTOMIZE_VERSION ?= v3.8.7
CONTROLLER_TOOLS_VERSION ?= v0.11.1
CONTROLLER_TOOLS_VERSION ?= v0.14.0
GOTOOLCHAIN_VERSION ?= go1.21.0

KUSTOMIZE_INSTALL_SCRIPT ?= "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh"
Expand Down
226 changes: 116 additions & 110 deletions api/bases/test.openstack.org_ansibletests.yaml

Large diffs are not rendered by default.

132 changes: 69 additions & 63 deletions api/bases/test.openstack.org_horizontests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.11.1
creationTimestamp: null
controller-gen.kubebuilder.io/version: v0.14.0
name: horizontests.test.openstack.org
spec:
group: test.openstack.org
Expand All @@ -29,14 +28,19 @@ spec:
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'
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'
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
Expand All @@ -45,8 +49,9 @@ spec:
properties:
SELinuxLevel:
default: ""
description: A SELinuxLevel that should be used for test pods spawned
by the test operator.
description: |-
A SELinuxLevel that should be used for test pods spawned by the test
operator.
type: string
adminPassword:
default: admin
Expand Down Expand Up @@ -77,11 +82,11 @@ spec:
type: string
debug:
default: false
description: Activate debug mode. When debug mode is activated any
error encountered inside the test-pod causes that the pod will be
kept alive indefinitely (stuck in "Running" phase) or until the
corresponding HorizonTest CR is deleted. This allows the user to
debug any potential troubles with `oc rsh`.
description: |-
Activate debug mode. When debug mode is activated any error encountered
inside the test-pod causes that the pod will be kept alive indefinitely
(stuck in "Running" phase) or until the corresponding HorizonTest CR is deleted.
This allows the user to debug any potential troubles with `oc rsh`.
type: boolean
extraConfigmapsMounts:
description: Extra configmaps for mounting inside the pod
Expand Down Expand Up @@ -125,8 +130,9 @@ spec:
description: ImageUrl is the URL to download the Cirros image.
type: string
kubeconfigSecretName:
description: Name of a secret that contains a kubeconfig. The kubeconfig
is mounted under /var/lib/horizontest/.kube/config in the test pod.
description: |-
Name of a secret that contains a kubeconfig. The kubeconfig is mounted under /var/lib/horizontest/.kube/config
in the test pod.
type: string
logsDirectoryName:
default: horizon
Expand All @@ -136,8 +142,9 @@ spec:
nodeSelector:
additionalProperties:
type: string
description: This value contains a nodeSelector value that is applied
to test pods spawned by the test operator.
description: |-
This value contains a nodeSelector value that is applied to test pods
spawned by the test operator.
type: object
parallel:
default: false
Expand All @@ -150,13 +157,13 @@ spec:
type: string
privileged:
default: false
description: 'Use with caution! This parameter specifies whether test-operator
should spawn test pods with allowedPrivilegedEscalation: true and
the default capabilities on top of capabilities that are usually
needed by the test pods (NET_ADMIN, NET_RAW). This parameter is
deemed insecure but it is needed for certain test-operator functionalities
to work properly (e.g.: extraRPMs in Tempest CR, or certain set
of tobiko tests).'
description: |-
Use with caution! This parameter specifies whether test-operator should spawn test
pods with allowedPrivilegedEscalation: true and the default capabilities on
top of capabilities that are usually needed by the test pods (NET_ADMIN, NET_RAW).
This parameter is deemed insecure but it is needed for certain test-operator
functionalities to work properly (e.g.: extraRPMs in Tempest CR, or certain set
of tobiko tests).
type: boolean
projectName:
default: horizontest
Expand All @@ -173,43 +180,43 @@ spec:
PVCs.
type: string
tolerations:
description: This value contains a toleration that is applied to pods
spawned by the test pods that are spawned by the test-operator.
description: |-
This value contains a toleration that is applied to pods spawned by the
test pods that are spawned by the test-operator.
items:
description: The pod this Toleration is attached to tolerates any
taint that matches the triple <key,value,effect> using the matching
operator <operator>.
description: |-
The pod this Toleration is attached to tolerates any taint that matches
the triple <key,value,effect> using the matching operator <operator>.
properties:
effect:
description: Effect indicates the taint effect to match. Empty
means match all taint effects. When specified, allowed values
are NoSchedule, PreferNoSchedule and NoExecute.
description: |-
Effect indicates the taint effect to match. Empty means match all taint effects.
When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
type: string
key:
description: Key is the taint key that the toleration applies
to. Empty means match all taint keys. If the key is empty,
operator must be Exists; this combination means to match all
values and all keys.
description: |-
Key is the taint key that the toleration applies to. Empty means match all taint keys.
If the key is empty, operator must be Exists; this combination means to match all values and all keys.
type: string
operator:
description: Operator represents a key's relationship to the
value. Valid operators are Exists and Equal. Defaults to Equal.
Exists is equivalent to wildcard for value, so that a pod
can tolerate all taints of a particular category.
description: |-
Operator represents a key's relationship to the value.
Valid operators are Exists and Equal. Defaults to Equal.
Exists is equivalent to wildcard for value, so that a pod can
tolerate all taints of a particular category.
type: string
tolerationSeconds:
description: TolerationSeconds represents the period of time
the toleration (which must be of effect NoExecute, otherwise
this field is ignored) tolerates the taint. By default, it
is not set, which means tolerate the taint forever (do not
evict). Zero and negative values will be treated as 0 (evict
immediately) by the system.
description: |-
TolerationSeconds represents the period of time the toleration (which must be
of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default,
it is not set, which means tolerate the taint forever (do not evict). Zero and
negative values will be treated as 0 (evict immediately) by the system.
format: int64
type: integer
value:
description: Value is the taint value the toleration matches
to. If the operator is Exists, the value should be empty,
otherwise just a regular string.
description: |-
Value is the taint value the toleration matches to.
If the operator is Exists, the value should be empty, otherwise just a regular string.
type: string
type: object
type: array
Expand All @@ -236,10 +243,10 @@ spec:
operational state.
properties:
lastTransitionTime:
description: 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.
description: |-
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:
Expand All @@ -251,14 +258,13 @@ spec:
in CamelCase.
type: string
severity:
description: Severity provides a classification of Reason code,
so the current situation is immediately understandable and
could act accordingly. It is meant for situations where Status=False
and it should be indicated if it is just informational, warning
(next reconciliation might fix it) or an error (e.g. DB create
issue and no actions to automatically resolve the issue can/should
be done). For conditions where Status=Unknown or Status=True
the Severity should be SeverityNone.
description: |-
Severity provides a classification of Reason code, so the current situation is immediately
understandable and could act accordingly.
It is meant for situations where Status=False and it should be indicated if it is just
informational, warning (next reconciliation might fix it) or an error (e.g. DB create issue
and no actions to automatically resolve the issue can/should be done).
For conditions where Status=Unknown or Status=True the Severity should be SeverityNone.
type: string
status:
description: Status of the condition, one of True, False, Unknown.
Expand Down
Loading

0 comments on commit b2b1b46

Please sign in to comment.