Skip to content

Commit 356678e

Browse files
authored
bump chart (#174)
* bump chart * add readme
1 parent 73cd51c commit 356678e

File tree

5 files changed

+98
-76
lines changed

5 files changed

+98
-76
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
dependencies:
22
- name: common
33
repository: oci://registry-1.docker.io/bitnamicharts
4-
version: 2.16.1
5-
digest: sha256:f808a6fdc9c374d158ad7ff2f2c53a6c409e41da778d768b232dd20f86ef8b47
6-
generated: "2024-02-20T21:22:57.556506+01:00"
4+
version: 2.24.0
5+
digest: sha256:46b36e150d694a13f14e342c1f73c1609d8e7d2adae517b0ace596d0b27c1c77
6+
generated: "2024-10-10T10:34:33.361757+02:00"

config/helm-chart/flyway-operator/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ name: flyway-operator
33
description: Flyway Operator - an operator to do declarative database schema migration.
44
type: application
55
icon: https://pbs.twimg.com/profile_images/1339525060999192576/9ltj0fpE_400x400.png
6-
version: 0.2.5
7-
appVersion: 0.2.5
6+
version: 0.2.7
7+
appVersion: 0.2.7
88
maintainers:
99
- name: davidkarlsen
1010
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Flyway operator
2+
3+
API for running [Flyway migrations](https://www.red-gate.com/products/flyway/community/).
4+
See [github](https://github.com/davidkarlsen/flyway-operator) and [usage-instructions](https://github.com/davidkarlsen/flyway-operator/blob/main/USING.md)

config/helm-chart/flyway-operator/crds/flyway.davidkarlsen.com_migrations.yaml

Lines changed: 88 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.13.0
6+
controller-gen.kubebuilder.io/version: v0.16.1
77
name: migrations.flyway.davidkarlsen.com
88
spec:
99
group: flyway.davidkarlsen.com
@@ -20,14 +20,19 @@ spec:
2020
description: Migration is the Schema for the migrations API
2121
properties:
2222
apiVersion:
23-
description: 'APIVersion defines the versioned schema of this representation
24-
of an object. Servers should convert recognized schemas to the latest
25-
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
23+
description: |-
24+
APIVersion defines the versioned schema of this representation of an object.
25+
Servers should convert recognized schemas to the latest internal value, and
26+
may reject unrecognized values.
27+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
2628
type: string
2729
kind:
28-
description: 'Kind is a string value representing the REST resource this
29-
object represents. Servers may infer this from the endpoint the client
30-
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
30+
description: |-
31+
Kind is a string value representing the REST resource this object represents.
32+
Servers may infer this from the endpoint the client submits requests to.
33+
Cannot be updated.
34+
In CamelCase.
35+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
3136
type: string
3237
metadata:
3338
type: object
@@ -46,8 +51,13 @@ spec:
4651
a valid secret key.
4752
type: string
4853
name:
49-
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
50-
TODO: Add other useful fields. apiVersion, kind, uid?'
54+
default: ""
55+
description: |-
56+
Name of the referent.
57+
This field is effectively required, but due to backwards compatibility is
58+
allowed to be empty. Instances of this type with an empty value here are
59+
almost certainly wrong.
60+
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
5161
type: string
5262
optional:
5363
description: Specify whether the Secret or its key must be
@@ -73,20 +83,25 @@ spec:
7383
description: settings for flyway
7484
properties:
7585
baselineOnMigrate:
76-
description: Base-line on migrate. See https://documentation.red-gate.com/fd/baseline-on-migrate-224919695.html
86+
description: |-
87+
Base-line on migrate.
88+
See https://documentation.red-gate.com/fd/baseline-on-migrate-224919695.html
7789
type: boolean
7890
commands:
7991
default:
8092
- info
8193
- migrate
8294
- info
83-
description: The flyway actions to apply, like "info", "migrate"
95+
description: |-
96+
The flyway actions to apply, like "info", "migrate"
8497
See https://documentation.red-gate.com/fd/commands-184127446.html
8598
items:
8699
type: string
87100
type: array
88101
defaultSchema:
89-
description: The default flyway schema to use. See https://documentation.red-gate.com/fd/default-schema-184127496.html
102+
description: |-
103+
The default flyway schema to use.
104+
See https://documentation.red-gate.com/fd/default-schema-184127496.html
90105
type: string
91106
envVars:
92107
description: Arbitrary entries to set as env-vars to Flyway migration
@@ -100,15 +115,16 @@ spec:
100115
C_IDENTIFIER.
101116
type: string
102117
value:
103-
description: 'Variable references $(VAR_NAME) are expanded
104-
using the previously defined environment variables in
105-
the container and any service environment variables. If
106-
a variable cannot be resolved, the reference in the input
107-
string will be unchanged. Double $$ are reduced to a single
108-
$, which allows for escaping the $(VAR_NAME) syntax: i.e.
118+
description: |-
119+
Variable references $(VAR_NAME) are expanded
120+
using the previously defined environment variables in the container and
121+
any service environment variables. If a variable cannot be resolved,
122+
the reference in the input string will be unchanged. Double $$ are reduced
123+
to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e.
109124
"$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)".
110-
Escaped references will never be expanded, regardless
111-
of whether the variable exists or not. Defaults to "".'
125+
Escaped references will never be expanded, regardless of whether the variable
126+
exists or not.
127+
Defaults to "".
112128
type: string
113129
valueFrom:
114130
description: Source for the environment variable's value.
@@ -121,9 +137,13 @@ spec:
121137
description: The key to select.
122138
type: string
123139
name:
124-
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
125-
TODO: Add other useful fields. apiVersion, kind,
126-
uid?'
140+
default: ""
141+
description: |-
142+
Name of the referent.
143+
This field is effectively required, but due to backwards compatibility is
144+
allowed to be empty. Instances of this type with an empty value here are
145+
almost certainly wrong.
146+
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
127147
type: string
128148
optional:
129149
description: Specify whether the ConfigMap or its
@@ -134,11 +154,9 @@ spec:
134154
type: object
135155
x-kubernetes-map-type: atomic
136156
fieldRef:
137-
description: 'Selects a field of the pod: supports metadata.name,
138-
metadata.namespace, `metadata.labels[''<KEY>'']`,
139-
`metadata.annotations[''<KEY>'']`, spec.nodeName,
140-
spec.serviceAccountName, status.hostIP, status.podIP,
141-
status.podIPs.'
157+
description: |-
158+
Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['<KEY>']`, `metadata.annotations['<KEY>']`,
159+
spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.
142160
properties:
143161
apiVersion:
144162
description: Version of the schema the FieldPath
@@ -153,10 +171,9 @@ spec:
153171
type: object
154172
x-kubernetes-map-type: atomic
155173
resourceFieldRef:
156-
description: 'Selects a resource of the container: only
157-
resources limits and requests (limits.cpu, limits.memory,
158-
limits.ephemeral-storage, requests.cpu, requests.memory
159-
and requests.ephemeral-storage) are currently supported.'
174+
description: |-
175+
Selects a resource of the container: only resources limits and requests
176+
(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
160177
properties:
161178
containerName:
162179
description: 'Container name: required for volumes,
@@ -186,9 +203,13 @@ spec:
186203
be a valid secret key.
187204
type: string
188205
name:
189-
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
190-
TODO: Add other useful fields. apiVersion, kind,
191-
uid?'
206+
default: ""
207+
description: |-
208+
Name of the referent.
209+
This field is effectively required, but due to backwards compatibility is
210+
allowed to be empty. Instances of this type with an empty value here are
211+
almost certainly wrong.
212+
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
192213
type: string
193214
optional:
194215
description: Specify whether the Secret or its key
@@ -216,12 +237,18 @@ spec:
216237
description: Optional. Image-pull secret to pull the migration
217238
source
218239
items:
219-
description: LocalObjectReference contains enough information
220-
to let you locate the referenced object inside the same namespace.
240+
description: |-
241+
LocalObjectReference contains enough information to let you locate the
242+
referenced object inside the same namespace.
221243
properties:
222244
name:
223-
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
224-
TODO: Add other useful fields. apiVersion, kind, uid?'
245+
default: ""
246+
description: |-
247+
Name of the referent.
248+
This field is effectively required, but due to backwards compatibility is
249+
allowed to be empty. Instances of this type with an empty value here are
250+
almost certainly wrong.
251+
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
225252
type: string
226253
type: object
227254
x-kubernetes-map-type: atomic
@@ -240,8 +267,9 @@ spec:
240267
placeholders:
241268
additionalProperties:
242269
type: string
243-
description: 'Flyway placeholders, see: https://documentation.red-gate.com/fd/placeholders-configuration-184127475.html
244-
These will be injected as env-vars with the required prefix.'
270+
description: |-
271+
Flyway placeholders, see: https://documentation.red-gate.com/fd/placeholders-configuration-184127475.html
272+
These will be injected as env-vars with the required prefix.
245273
type: object
246274
required:
247275
- encoding
@@ -258,43 +286,35 @@ spec:
258286
properties:
259287
conditions:
260288
items:
261-
description: "Condition contains details for one aspect of the current
262-
state of this API Resource. --- This struct is intended for direct
263-
use as an array at the field path .status.conditions. For example,
264-
\n type FooStatus struct{ // Represents the observations of a
265-
foo's current state. // Known .status.conditions.type are: \"Available\",
266-
\"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge
267-
// +listType=map // +listMapKey=type Conditions []metav1.Condition
268-
`json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\"
269-
protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }"
289+
description: Condition contains details for one aspect of the current
290+
state of this API Resource.
270291
properties:
271292
lastTransitionTime:
272-
description: lastTransitionTime is the last time the condition
273-
transitioned from one status to another. This should be when
274-
the underlying condition changed. If that is not known, then
275-
using the time when the API field changed is acceptable.
293+
description: |-
294+
lastTransitionTime is the last time the condition transitioned from one status to another.
295+
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
276296
format: date-time
277297
type: string
278298
message:
279-
description: message is a human readable message indicating
280-
details about the transition. This may be an empty string.
299+
description: |-
300+
message is a human readable message indicating details about the transition.
301+
This may be an empty string.
281302
maxLength: 32768
282303
type: string
283304
observedGeneration:
284-
description: observedGeneration represents the .metadata.generation
285-
that the condition was set based upon. For instance, if .metadata.generation
286-
is currently 12, but the .status.conditions[x].observedGeneration
287-
is 9, the condition is out of date with respect to the current
288-
state of the instance.
305+
description: |-
306+
observedGeneration represents the .metadata.generation that the condition was set based upon.
307+
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
308+
with respect to the current state of the instance.
289309
format: int64
290310
minimum: 0
291311
type: integer
292312
reason:
293-
description: reason contains a programmatic identifier indicating
294-
the reason for the condition's last transition. Producers
295-
of specific condition types may define expected values and
296-
meanings for this field, and whether the values are considered
297-
a guaranteed API. The value should be a CamelCase string.
313+
description: |-
314+
reason contains a programmatic identifier indicating the reason for the condition's last transition.
315+
Producers of specific condition types may define expected values and meanings for this field,
316+
and whether the values are considered a guaranteed API.
317+
The value should be a CamelCase string.
298318
This field may not be empty.
299319
maxLength: 1024
300320
minLength: 1
@@ -309,10 +329,6 @@ spec:
309329
type: string
310330
type:
311331
description: type of condition in CamelCase or in foo.example.com/CamelCase.
312-
--- Many .condition.type values are consistent across resources
313-
like Available, but because arbitrary conditions can be useful
314-
(see .node.status.conditions), the ability to deconflict is
315-
important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
316332
maxLength: 316
317333
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])$
318334
type: string
@@ -328,6 +344,8 @@ spec:
328344
- type
329345
x-kubernetes-list-type: map
330346
type: object
347+
required:
348+
- spec
331349
type: object
332350
served: true
333351
storage: true

config/helm-chart/flyway-operator/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ image:
88
registry: ghcr.io
99
repository: davidkarlsen/flyway-operator
1010
pullPolicy: IfNotPresent
11-
tag: 0.2.5
11+
tag: 0.2.7
1212

1313
imagePullSecrets: []
1414
nameOverride: ""

0 commit comments

Comments
 (0)