Skip to content

Commit

Permalink
#208. Initial flux package creation. Currently was able to deploy wit…
Browse files Browse the repository at this point in the history
…h package-deploy and have the flux resources populate within kind cluster.
  • Loading branch information
mike-winberry committed Jan 31, 2022
1 parent 6a1f80d commit c5928ae
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/flux/flux.sha256
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
d2bbbee7cea42d9b513737a7a1a002fbc9ed18fcc8e10b91eee673b73336b010 zarf-package-flux.tar.zst
15 changes: 15 additions & 0 deletions packages/flux/template/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
registryCredentials:
- registry: "registry1.dso.mil"
username: "zarf-git-user"
password: "###ZARF_REGISTRY_AUTH_PULL###"
- registry: "docker.io"
username: "zarf-git-user"
password: "###ZARF_REGISTRY_AUTH_PULL###"
- registry: "registry.dso.mil"
username: "zarf-git-user"
password: "###ZARF_REGISTRY_AUTH_PULL###"

flux:
interval: 1m
rollback:
cleanupOnFail: false
20 changes: 20 additions & 0 deletions packages/flux/zarf.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
kind: ZarfPackageConfig
metadata:
name: flux
description: "Zarf flux package."

components:
- name: baseline
required: true
secretName: "private-registry"
manifests:
- name: flux-installer
# This will be built on the package create side and deployed as a regular manifest on package deploy
kustomizations:
- https://repo1.dso.mil/platform-one/big-bang/bigbang.git//base/flux?ref=1.17.0
images:
# Flux images
- registry1.dso.mil/ironbank/fluxcd/helm-controller:v0.11.0
- registry1.dso.mil/ironbank/fluxcd/kustomize-controller:v0.13.0
- registry1.dso.mil/ironbank/fluxcd/notification-controller:v0.15.0
- registry1.dso.mil/ironbank/fluxcd/source-controller:v0.14.0

0 comments on commit c5928ae

Please sign in to comment.