Skip to content

Commit b281e39

Browse files
committed
chore: Bump flux-operator in bootstrap
1 parent d849a4c commit b281e39

File tree

2 files changed

+68
-9
lines changed

2 files changed

+68
-9
lines changed

bootstrap/bootstrap.yml

Lines changed: 67 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ apiVersion: apiextensions.k8s.io/v1
1010
kind: CustomResourceDefinition
1111
metadata:
1212
annotations:
13-
controller-gen.kubebuilder.io/version: v0.18.0
13+
controller-gen.kubebuilder.io/version: v0.19.0
1414
name: fluxinstances.fluxcd.controlplane.io
1515
spec:
1616
group: fluxcd.controlplane.io
@@ -73,6 +73,12 @@ spec:
7373
description: Multitenant enables the multitenancy lockdown. Defaults
7474
to false.
7575
type: boolean
76+
multitenantWorkloadIdentity:
77+
default: false
78+
description: |-
79+
MultitenantWorkloadIdentity enables the multitenancy lockdown for
80+
workload identity. Defaults to false.
81+
type: boolean
7682
networkPolicy:
7783
default: true
7884
description: |-
@@ -95,10 +101,29 @@ spec:
95101
- medium
96102
- large
97103
type: string
104+
tenantDefaultDecryptionServiceAccount:
105+
description: |-
106+
TenantDefaultDecryptionServiceAccount is the name of the service account
107+
to use as default for kustomize-controller SOPS decryption when the
108+
multitenant lockdown for workload identity is enabled. Defaults to the
109+
'default' service account from the tenant namespace.
110+
type: string
111+
tenantDefaultKubeConfigServiceAccount:
112+
description: |-
113+
TenantDefaultKubeConfigServiceAccount is the name of the service account
114+
to use as default for kustomize-controller and helm-controller remote
115+
cluster access via spec.kubeConfig.configMapRef when the multitenant
116+
lockdown for workload identity is enabled. Defaults to the 'default'
117+
service account from the tenant namespace.
118+
type: string
98119
tenantDefaultServiceAccount:
99120
description: |-
100121
TenantDefaultServiceAccount is the name of the service account
101-
to use as default when the multitenant lockdown is enabled.
122+
to use as default when the multitenant lockdown is enabled, for
123+
kustomize-controller and helm-controller.
124+
This field will also be used for multitenant workload identity
125+
lockdown for source-controller, notification-controller,
126+
image-reflector-controller and image-automation-controller.
102127
Defaults to the 'default' service account from the tenant namespace.
103128
type: string
104129
type:
@@ -114,6 +139,11 @@ spec:
114139
- gcp
115140
type: string
116141
type: object
142+
x-kubernetes-validations:
143+
- message: .objectLevelWorkloadIdentity must be set to true when .multitenantWorkloadIdentity
144+
is set to true
145+
rule: (has(self.objectLevelWorkloadIdentity) && self.objectLevelWorkloadIdentity)
146+
|| !has(self.multitenantWorkloadIdentity) || !self.multitenantWorkloadIdentity
117147
commonMetadata:
118148
description: |-
119149
CommonMetadata specifies the common labels and annotations that are
@@ -144,6 +174,7 @@ spec:
144174
- notification-controller
145175
- image-reflector-controller
146176
- image-automation-controller
177+
- source-watcher
147178
type: string
148179
type: array
149180
distribution:
@@ -572,7 +603,7 @@ apiVersion: apiextensions.k8s.io/v1
572603
kind: CustomResourceDefinition
573604
metadata:
574605
annotations:
575-
controller-gen.kubebuilder.io/version: v0.18.0
606+
controller-gen.kubebuilder.io/version: v0.19.0
576607
name: fluxreports.fluxcd.controlplane.io
577608
spec:
578609
group: fluxcd.controlplane.io
@@ -868,7 +899,7 @@ apiVersion: apiextensions.k8s.io/v1
868899
kind: CustomResourceDefinition
869900
metadata:
870901
annotations:
871-
controller-gen.kubebuilder.io/version: v0.18.0
902+
controller-gen.kubebuilder.io/version: v0.19.0
872903
name: resourcesetinputproviders.fluxcd.controlplane.io
873904
spec:
874905
group: fluxcd.controlplane.io
@@ -1229,7 +1260,7 @@ apiVersion: apiextensions.k8s.io/v1
12291260
kind: CustomResourceDefinition
12301261
metadata:
12311262
annotations:
1232-
controller-gen.kubebuilder.io/version: v0.18.0
1263+
controller-gen.kubebuilder.io/version: v0.19.0
12331264
name: resourcesets.fluxcd.controlplane.io
12341265
spec:
12351266
group: fluxcd.controlplane.io
@@ -1330,6 +1361,34 @@ spec:
13301361
- name
13311362
type: object
13321363
type: array
1364+
inputStrategy:
1365+
description: |-
1366+
InputStrategy defines how the inputs are combined when multiple
1367+
input provider objects are used. Defaults to flattening all inputs
1368+
from all providers into a single list of input sets.
1369+
properties:
1370+
name:
1371+
description: |-
1372+
Name defines how the inputs are combined when multiple
1373+
input provider objects are used. Supported values are:
1374+
- Flatten: all inputs sets from all input provider objects are
1375+
flattened into a single list of input sets.
1376+
- Permute: all inputs sets from all input provider objects are
1377+
combined using a Cartesian product, resulting in a list of input sets
1378+
that contains every possible combination of input values.
1379+
For example, if provider A has inputs [{x: 1}, {x: 2}] and provider B has
1380+
inputs [{y: "a"}, {y: "b"}], the resulting input sets will be:
1381+
[{x: 1, y: "a"}, {x: 1, y: "b"}, {x: 2, y: "a"}, {x: 2, y: "b"}].
1382+
This strategy can lead to a large number of input sets and should be
1383+
used with caution. Users should use filtering features from
1384+
ResourceSetInputProvider to limit the amount of exported inputs.
1385+
enum:
1386+
- Flatten
1387+
- Permute
1388+
type: string
1389+
required:
1390+
- name
1391+
type: object
13331392
inputs:
13341393
description: Inputs contains the list of ResourceSet inputs.
13351394
items:
@@ -1353,6 +1412,8 @@ spec:
13531412
description: |-
13541413
APIVersion of the input provider resource.
13551414
When not set, the APIVersion of the ResourceSet is used.
1415+
enum:
1416+
- fluxcd.controlplane.io/v1
13561417
type: string
13571418
kind:
13581419
description: Kind of the input provider resource.
@@ -1412,8 +1473,6 @@ spec:
14121473
type: object
14131474
type: object
14141475
x-kubernetes-map-type: atomic
1415-
required:
1416-
- kind
14171476
type: object
14181477
x-kubernetes-validations:
14191478
- message: at least one of name or selector must be set for input
@@ -1720,7 +1779,7 @@ spec:
17201779
valueFrom:
17211780
fieldRef:
17221781
fieldPath: metadata.namespace
1723-
image: ghcr.io/controlplaneio-fluxcd/flux-operator:v0.28.0
1782+
image: ghcr.io/controlplaneio-fluxcd/flux-operator:v0.30.0
17241783
imagePullPolicy: IfNotPresent
17251784
livenessProbe:
17261785
httpGet:

bootstrap/bootstrap/kustomization.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: kustomize.config.k8s.io/v1beta1
22
kind: Kustomization
33
resources:
4-
- https://github.com/controlplaneio-fluxcd/flux-operator/releases/download/v0.28.0/install.yaml
4+
- https://github.com/controlplaneio-fluxcd/flux-operator/releases/download/v0.30.0/install.yaml
55
- instance.yml
66
- spectrum.yml
77

0 commit comments

Comments
 (0)