Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 20 additions & 1 deletion bootstrap/bootstrap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,15 @@ spec:
Registry address to pull the distribution images from
e.g. 'ghcr.io/fluxcd'.
type: string
variant:
description: |-
Variant specifies the Flux distribution flavor stored
in the registry.
enum:
- upstream-alpine
- enterprise-alpine
- enterprise-distroless
type: string
version:
description: Version semver expression e.g. '2.x', '2.3.x'.
type: string
Expand Down Expand Up @@ -583,6 +592,12 @@ spec:
LastAttemptedRevision is the version and digest of the
distribution config that was last attempted to reconcile.
type: string
lastHandledForceAt:
description: |-
LastHandledForceAt holds the value of the most recent
force request value, so a change of the annotation value
can be detected.
type: string
lastHandledReconcileAt:
description: |-
LastHandledReconcileAt holds the value of the most recent
Expand Down Expand Up @@ -1779,7 +1794,11 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
image: ghcr.io/controlplaneio-fluxcd/flux-operator:v0.30.0
- name: KUBERNETES_SERVICE_HOST
value: 127.0.0.1
- name: KUBERNETES_SERVICE_PORT
value: "6443"
image: ghcr.io/controlplaneio-fluxcd/flux-operator:v0.33.0
imagePullPolicy: IfNotPresent
livenessProbe:
httpGet:
Expand Down
17 changes: 16 additions & 1 deletion bootstrap/bootstrap/kustomization.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- https://github.com/controlplaneio-fluxcd/flux-operator/releases/download/v0.30.0/install.yaml
- https://github.com/controlplaneio-fluxcd/flux-operator/releases/download/v0.33.0/install.yaml
- instance.yml
- spectrum.yml

Expand Down Expand Up @@ -51,3 +51,18 @@ patches:
- op: add
path: /spec/template/metadata/labels/app.kubernetes.io~1instance
value: flux-operator
- target:
kind: Deployment
name: flux-operator
namespace: flux-system
patch: |-
- op: add
path: /spec/template/spec/containers/0/env/-
value:
name: KUBERNETES_SERVICE_HOST
value: "127.0.0.1"
- op: add
path: /spec/template/spec/containers/0/env/-
value:
name: KUBERNETES_SERVICE_PORT
value: "6443"