Skip to content
This repository was archived by the owner on Feb 9, 2025. It is now read-only.

Commit 3660301

Browse files
committed
chore: Prepare deployment manifests for the release cut
1 parent 42b12c8 commit 3660301

File tree

3 files changed

+31
-2
lines changed

3 files changed

+31
-2
lines changed

config/manager/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ kind: Kustomization
55
images:
66
- name: controller
77
newName: docplanner/rabbit-stalker
8-
newTag: v0.1.0
8+
newTag: v0.2.0

deploy/customresourcedefinition/workloadactions-rabbit-stalker-docplanner-com.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,35 @@ spec:
4848
- restart
4949
- delete
5050
type: string
51+
additionalSources:
52+
description: AdditionalSources represent references to Kubernetes resources that whill be available on condition.value
53+
items:
54+
description: "ObjectReference contains enough information to let you inspect or modify the referred object. --- New uses of this type are discouraged because of difficulty describing its usage when embedded in APIs. 1. Ignored fields. It includes many fields which are not generally honored. For instance, ResourceVersion and FieldPath are both very rarely valid in actual usage. 2. Invalid usage help. It is impossible to add specific help for individual usage. In most embedded usages, there are particular restrictions like, \"must refer only to types A and B\" or \"UID not honored\" or \"name must be restricted\". Those cannot be well described when embedded. 3. Inconsistent validation. Because the usages are different, the validation rules are different by usage, which makes it hard for users to predict what will happen. 4. The fields are both imprecise and overly precise. Kind is not a precise mapping to a URL. This can produce ambiguity during interpretation and require a REST mapping. In most cases, the dependency is on the group,resource tuple and the version of the actual struct is irrelevant. 5. We cannot easily change it. Because this type is embedded in many locations, updates to this type will affect numerous schemas. Don't make new APIs embed an underspecified API type they do not control. \n Instead of using this type, create a locally provided and used type that is well-focused on your reference. For example, ServiceReferences for admission registration: https://github.com/kubernetes/api/blob/release-1.17/admissionregistration/v1/types.go#L533 ."
55+
properties:
56+
apiVersion:
57+
description: API version of the referent.
58+
type: string
59+
fieldPath:
60+
description: 'If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: "spec.containers{name}" (where "name" refers to the name of the container that triggered the event) or if no container name is specified "spec.containers[2]" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. TODO: this design is not final and this field is subject to change in the future.'
61+
type: string
62+
kind:
63+
description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
64+
type: string
65+
name:
66+
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
67+
type: string
68+
namespace:
69+
description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
70+
type: string
71+
resourceVersion:
72+
description: 'Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency'
73+
type: string
74+
uid:
75+
description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids'
76+
type: string
77+
type: object
78+
x-kubernetes-map-type: atomic
79+
type: array
5180
condition:
5281
description: Condition represent a key/value pair found in the JSON of the HTTP response
5382
properties:

deploy/deployment/rabbit-stalker-controller-manager.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ spec:
6969
- --leader-elect
7070
command:
7171
- /manager
72-
image: docplanner/rabbit-stalker:v0.1.0
72+
image: docplanner/rabbit-stalker:v0.2.0
7373
livenessProbe:
7474
httpGet:
7575
path: /healthz

0 commit comments

Comments
 (0)