Skip to content

Commit 8734c38

Browse files
committed
chore(etcd-operator): update vendored chart to v0.4.3
Upstream release notes: https://github.com/aenix-io/etcd-operator/releases/tag/v0.4.3 Notable changes: - Add EtcdBackup CRD for declarative etcd snapshots (cozystack#307) - Add EtcdBackupSchedule CRD for scheduled backups (cozystack#307) - Expose metrics port on client service (cozystack#299) - Replace deprecated gcr.io/kubebuilder/kube-rbac-proxy with quay.io/brancz/kube-rbac-proxy:v0.18.1 (cozystack#308) - Update Kamaji example manifest Note: Helm 3 does not install CRDs on upgrade. Existing clusters require manual application of the new EtcdBackup and EtcdBackupSchedule CRDs: kubectl apply --filename packages/system/etcd-operator/charts/etcd-operator/crds/ Assisted-By: Claude <[email protected]> Signed-off-by: Aleksei Sviridkin <[email protected]>
1 parent 171c793 commit 8734c38

7 files changed

Lines changed: 621 additions & 2 deletions

File tree

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apiVersion: v2
2-
appVersion: v0.4.2
2+
appVersion: v0.4.3
33
name: etcd-operator
44
type: application
5-
version: 0.4.2
5+
version: 0.4.3
Lines changed: 227 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,227 @@
1+
apiVersion: apiextensions.k8s.io/v1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
annotations:
5+
cert-manager.io/inject-ca-from: etcd-operator-system/etcd-operator-serving-cert
6+
controller-gen.kubebuilder.io/version: v0.15.0
7+
name: etcdbackupschedules.etcd.aenix.io
8+
spec:
9+
conversion:
10+
strategy: None
11+
group: etcd.aenix.io
12+
names:
13+
kind: EtcdBackupSchedule
14+
listKind: EtcdBackupScheduleList
15+
plural: etcdbackupschedules
16+
singular: etcdbackupschedule
17+
scope: Namespaced
18+
versions:
19+
- additionalPrinterColumns:
20+
- jsonPath: .spec.clusterRef.name
21+
name: Cluster
22+
type: string
23+
- jsonPath: .spec.schedule
24+
name: Schedule
25+
type: string
26+
- jsonPath: .status.lastSuccessfulBackupTime
27+
name: Last Backup
28+
type: date
29+
- jsonPath: .metadata.creationTimestamp
30+
name: Age
31+
type: date
32+
name: v1alpha1
33+
schema:
34+
openAPIV3Schema:
35+
description: EtcdBackupSchedule is the Schema for the etcdbackupschedules API
36+
properties:
37+
apiVersion:
38+
description: |-
39+
APIVersion defines the versioned schema of this representation of an object.
40+
Servers should convert recognized schemas to the latest internal value, and
41+
may reject unrecognized values.
42+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
43+
type: string
44+
kind:
45+
description: |-
46+
Kind is a string value representing the REST resource this object represents.
47+
Servers may infer this from the endpoint the client submits requests to.
48+
Cannot be updated.
49+
In CamelCase.
50+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
51+
type: string
52+
metadata:
53+
type: object
54+
spec:
55+
description: EtcdBackupScheduleSpec defines the desired state of EtcdBackupSchedule
56+
properties:
57+
clusterRef:
58+
description: ClusterRef references the EtcdCluster to back up.
59+
properties:
60+
name:
61+
default: ""
62+
description: |-
63+
Name of the referent.
64+
This field is effectively required, but due to backwards compatibility is
65+
allowed to be empty. Instances of this type with an empty value here are
66+
almost certainly wrong.
67+
TODO: Add other useful fields. apiVersion, kind, uid?
68+
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
69+
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
70+
type: string
71+
type: object
72+
x-kubernetes-map-type: atomic
73+
destination:
74+
description: Destination defines where the backup will be stored.
75+
properties:
76+
pvc:
77+
description: PVC defines a PersistentVolumeClaim as the backup destination.
78+
properties:
79+
claimName:
80+
description: ClaimName is the name of the PersistentVolumeClaim to use.
81+
type: string
82+
subPath:
83+
description: |-
84+
SubPath is an optional sub-directory within the PVC volume.
85+
The operator appends the backup filename automatically.
86+
type: string
87+
required:
88+
- claimName
89+
type: object
90+
s3:
91+
description: S3 defines S3-compatible storage as the backup destination.
92+
properties:
93+
bucket:
94+
description: Bucket is the name of the S3 bucket.
95+
type: string
96+
credentialsSecretRef:
97+
description: CredentialsSecretRef references a Secret containing AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY keys.
98+
properties:
99+
name:
100+
default: ""
101+
description: |-
102+
Name of the referent.
103+
This field is effectively required, but due to backwards compatibility is
104+
allowed to be empty. Instances of this type with an empty value here are
105+
almost certainly wrong.
106+
TODO: Add other useful fields. apiVersion, kind, uid?
107+
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
108+
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
109+
type: string
110+
type: object
111+
x-kubernetes-map-type: atomic
112+
endpoint:
113+
description: Endpoint is the S3-compatible endpoint URL (e.g., "https://s3.amazonaws.com").
114+
type: string
115+
forcePathStyle:
116+
description: |-
117+
ForcePathStyle forces path-style S3 URLs (e.g., endpoint/bucket/key)
118+
instead of virtual-hosted-style (e.g., bucket.endpoint/key).
119+
Most S3-compatible providers (MinIO, Ceph) require path style.
120+
type: boolean
121+
key:
122+
description: |-
123+
Key is the key prefix (directory path) within the bucket.
124+
The operator appends the backup filename automatically.
125+
type: string
126+
region:
127+
description: Region is the AWS region for the S3 bucket.
128+
type: string
129+
required:
130+
- bucket
131+
- credentialsSecretRef
132+
- endpoint
133+
type: object
134+
type: object
135+
failedJobsHistoryLimit:
136+
description: FailedJobsHistoryLimit is the number of failed finished CronJob children to retain.
137+
format: int32
138+
minimum: 0
139+
type: integer
140+
schedule:
141+
description: Schedule is a cron expression defining when backups should be taken.
142+
type: string
143+
successfulJobsHistoryLimit:
144+
description: SuccessfulJobsHistoryLimit is the number of successful finished CronJob children to retain.
145+
format: int32
146+
minimum: 0
147+
type: integer
148+
required:
149+
- clusterRef
150+
- destination
151+
- schedule
152+
type: object
153+
status:
154+
description: EtcdBackupScheduleStatus defines the observed state of EtcdBackupSchedule
155+
properties:
156+
conditions:
157+
items:
158+
description: "Condition contains details for one aspect of the current state of this API Resource.\n---\nThis struct is intended for direct use as an array at the field path .status.conditions. For example,\n\n\n\ttype FooStatus struct{\n\t // Represents the observations of a foo's current state.\n\t // Known .status.conditions.type are: \"Available\", \"Progressing\", and \"Degraded\"\n\t // +patchMergeKey=type\n\t // +patchStrategy=merge\n\t // +listType=map\n\t // +listMapKey=type\n\t Conditions []metav1.Condition `json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`\n\n\n\t // other fields\n\t}"
159+
properties:
160+
lastTransitionTime:
161+
description: |-
162+
lastTransitionTime is the last time the condition transitioned from one status to another.
163+
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
164+
format: date-time
165+
type: string
166+
message:
167+
description: |-
168+
message is a human readable message indicating details about the transition.
169+
This may be an empty string.
170+
maxLength: 32768
171+
type: string
172+
observedGeneration:
173+
description: |-
174+
observedGeneration represents the .metadata.generation that the condition was set based upon.
175+
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
176+
with respect to the current state of the instance.
177+
format: int64
178+
minimum: 0
179+
type: integer
180+
reason:
181+
description: |-
182+
reason contains a programmatic identifier indicating the reason for the condition's last transition.
183+
Producers of specific condition types may define expected values and meanings for this field,
184+
and whether the values are considered a guaranteed API.
185+
The value should be a CamelCase string.
186+
This field may not be empty.
187+
maxLength: 1024
188+
minLength: 1
189+
pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
190+
type: string
191+
status:
192+
description: status of the condition, one of True, False, Unknown.
193+
enum:
194+
- "True"
195+
- "False"
196+
- Unknown
197+
type: string
198+
type:
199+
description: |-
200+
type of condition in CamelCase or in foo.example.com/CamelCase.
201+
---
202+
Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
203+
useful (see .node.status.conditions), the ability to deconflict is important.
204+
The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
205+
maxLength: 316
206+
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])$
207+
type: string
208+
required:
209+
- lastTransitionTime
210+
- message
211+
- reason
212+
- status
213+
- type
214+
type: object
215+
type: array
216+
lastScheduleTime:
217+
format: date-time
218+
type: string
219+
lastSuccessfulBackupTime:
220+
format: date-time
221+
type: string
222+
type: object
223+
type: object
224+
served: true
225+
storage: true
226+
subresources:
227+
status: {}

0 commit comments

Comments
 (0)