Skip to content

Commit 7a01ac4

Browse files
committed
Add Flux 2.6.0/2.6.1 libs
1 parent 5ec29d4 commit 7a01ac4

File tree

2 files changed

+29
-1
lines changed

2 files changed

+29
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 \
2020
FROM golang:1.20-alpine3.18 as jsonnet
2121

2222
RUN apk add --no-cache git
23-
RUN go install github.com/google/go-jsonnet/cmd/jsonnet@latest
23+
RUN go install github.com/google/go-jsonnet/cmd/jsonnet@v0.20.0
2424

2525
FROM alpine:3.18
2626

libs/fluxcd/config.jsonnet

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,34 @@ local config = import 'jsonnet/config.jsonnet';
33
config.new(
44
name='fluxcd',
55
specs=[
6+
{
7+
// CRDs retrieved from https://github.com/fluxcd/flux2/blob/v2.6.1/manifests/crds/kustomization.yaml
8+
output: '2.6.1',
9+
prefix: '^io\\.fluxcd\\.toolkit\\..*',
10+
crds: [
11+
'https://github.com/fluxcd/source-controller/releases/download/v1.6.0/source-controller.crds.yaml',
12+
'https://github.com/fluxcd/kustomize-controller/releases/download/v1.6.0/kustomize-controller.crds.yaml',
13+
'https://github.com/fluxcd/helm-controller/releases/download/v1.3.0/helm-controller.crds.yaml',
14+
'https://github.com/fluxcd/notification-controller/releases/download/v1.6.0/notification-controller.crds.yaml',
15+
'https://github.com/fluxcd/image-reflector-controller/releases/download/v0.35.1/image-reflector-controller.crds.yaml',
16+
'https://github.com/fluxcd/image-automation-controller/releases/download/v0.41.0/image-automation-controller.crds.yaml',
17+
],
18+
localName: 'fluxcd',
19+
},
20+
{
21+
// CRDs retrieved from https://github.com/fluxcd/flux2/blob/v2.6.0/manifests/crds/kustomization.yaml
22+
output: '2.6.0',
23+
prefix: '^io\\.fluxcd\\.toolkit\\..*',
24+
crds: [
25+
'https://github.com/fluxcd/source-controller/releases/download/v1.6.0/source-controller.crds.yaml',
26+
'https://github.com/fluxcd/kustomize-controller/releases/download/v1.6.0/kustomize-controller.crds.yaml',
27+
'https://github.com/fluxcd/helm-controller/releases/download/v1.3.0/helm-controller.crds.yaml',
28+
'https://github.com/fluxcd/notification-controller/releases/download/v1.6.0/notification-controller.crds.yaml',
29+
'https://github.com/fluxcd/image-reflector-controller/releases/download/v0.35.0/image-reflector-controller.crds.yaml',
30+
'https://github.com/fluxcd/image-automation-controller/releases/download/v0.41.0/image-automation-controller.crds.yaml',
31+
],
32+
localName: 'fluxcd',
33+
},
634
{
735
// CRDs retrieved from https://github.com/fluxcd/flux2/blob/v2.5.1/manifests/crds/kustomization.yaml
836
output: '2.5.1',

0 commit comments

Comments
 (0)