Skip to content

Commit a22e47c

Browse files
committed
chore(wave0): update remote resource controller to 2.0.6
Update remote resource controller to pick up functionality to change the default reconcile behavior on remote resources. Will read the key RR_RECONCILE_BY_DEFAULT from razeedeploy-overrides. The default is `true` * New Update Mode `AdditiveMergePatch` - will not remove fields from the live resource when they are removed from the definition * Request options can read `headersFrom` (configMapRef, secretMapRef) * Support `git` as a remote resource * update running node version to lts/16 * environment variable `RR_RECONCILE_BY_DEFAULT` will set the reconcile behavior BREAKING CHANGE: Removes support for old kapitan naming in annotations
1 parent f6c9129 commit a22e47c

2 files changed

Lines changed: 64 additions & 2 deletions

File tree

deployment/kubernetes/wave0.yaml.envsubst

Lines changed: 63 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,12 @@ items:
5454
value: razee-io/remoteresource
5555
- name: USER_AGENT_VERSION
5656
value: "${WAVE0_VERSION}"
57+
- name: RR_RECONCILE_BY_DEFAULT
58+
valueFrom:
59+
configMapKeyRef:
60+
name: razeedeploy-overrides
61+
key: RR_RECONCILE_BY_DEFAULT
62+
optional: true
5763
- name: CRD_WATCH_TIMEOUT_SECONDS
5864
valueFrom:
5965
configMapKeyRef:
@@ -136,7 +142,7 @@ items:
136142
type: string
137143
backendService:
138144
type: string
139-
enum: [generic, s3]
145+
enum: [generic, s3, git]
140146
auth:
141147
type: object
142148
oneOf:
@@ -239,16 +245,72 @@ items:
239245
oneOf:
240246
- required: [url]
241247
- required: [uri]
248+
- required: [git]
242249
properties:
243250
url:
244251
type: string
245252
format: uri
246253
uri:
247254
type: string
248255
format: uri
256+
git:
257+
type: object
258+
required: [provider, repo, filePath]
259+
oneOf:
260+
- required: [ref]
261+
- required: [release]
262+
properties:
263+
provider:
264+
type: string
265+
enum: [github, gitlab]
266+
repo:
267+
type: string
268+
ref:
269+
type: string
270+
filePath:
271+
type: string
272+
release:
273+
type: string
249274
headers:
250275
type: object
251276
x-kubernetes-preserve-unknown-fields: true
277+
headersFrom:
278+
type: array
279+
items:
280+
type: object
281+
oneOf:
282+
- required: [configMapRef]
283+
- required: [secretMapRef]
284+
- required: [genericMapRef]
285+
properties:
286+
configMapRef:
287+
type: object
288+
required: [name]
289+
properties:
290+
name:
291+
type: string
292+
namespace:
293+
type: string
294+
secretMapRef:
295+
type: object
296+
required: [name]
297+
properties:
298+
name:
299+
type: string
300+
namespace:
301+
type: string
302+
genericMapRef:
303+
type: object
304+
required: [apiVersion, kind, name]
305+
properties:
306+
apiVersion:
307+
type: string
308+
kind:
309+
type: string
310+
name:
311+
type: string
312+
namespace:
313+
type: string
252314
status:
253315
type: object
254316
x-kubernetes-preserve-unknown-fields: true

versions/wave0.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
WAVE0_VERSION := 1.0.2
1+
WAVE0_VERSION := 2.0.6

0 commit comments

Comments
 (0)