Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi-distro support (Zarf Native Apply Work) #237

Merged
merged 88 commits into from
Feb 8, 2022
Merged
Changes from 1 commit
Commits
Show all changes
88 commits
Select commit Hold shift + click to select a range
48d1d80
Multi-distro support
jeff-mccoy Jan 20, 2022
3db2768
unify init/deploy & add basic chart validation before create
jeff-mccoy Jan 21, 2022
8e81e2e
add --remove-components to remove charts installed by zarf in other n…
jeff-mccoy Jan 21, 2022
1d4b468
vendor k9s into "zarf tools k9s"
jeff-mccoy Jan 21, 2022
09d50ff
small cli UX cleanup
jeff-mccoy Jan 22, 2022
6bd3bc8
move config.<type> -> types.<type>
jeff-mccoy Jan 22, 2022
e29af10
Add docker desktop K8s support
jeff-mccoy Jan 23, 2022
0aeb10d
update Loki Stack for k8s 1.22+ support
jeff-mccoy Jan 23, 2022
593c8ef
Change pterm default out to stderr for cleaner output capture
jeff-mccoy Jan 23, 2022
7201e1e
Add "zarf prepare find-images" command for calculating image deps
jeff-mccoy Jan 23, 2022
c90a29d
secret cleanup
jeff-mccoy Jan 23, 2022
a77868b
Fix RHEL check in zarf init package to avoid infinite retry loop
YrrepNoj Jan 24, 2022
a10905c
fix tiny kafka example (must be in own ns for helm happiness)
jeff-mccoy Jan 24, 2022
2e93894
cobra aliases
jeff-mccoy Jan 24, 2022
59d35ed
cleanup helm install/upgrade/rollback logic
jeff-mccoy Jan 24, 2022
13dbc77
🧹
jeff-mccoy Jan 24, 2022
5cc854d
handle fuzzy image finding & big bang chart repos
jeff-mccoy Jan 24, 2022
ae4aa08
tiny typo
jeff-mccoy Jan 24, 2022
a1fec17
fix tiny typo
matt-strong Jan 25, 2022
cfc776f
fix packager.HandleIfURL() tempPath early deletion
jeff-mccoy Jan 25, 2022
690b413
remove traefik, have doom use default ingressclass
jeff-mccoy Jan 26, 2022
d2e4572
add multi-arch support for doom image
jeff-mccoy Jan 26, 2022
c454a94
handle arch mismatch on zarf package deploy
jeff-mccoy Jan 26, 2022
5a3b660
re-enable built-in traefik for appliance mode
jeff-mccoy Jan 26, 2022
006f309
implement svc label/annotation for dynamic zarf connect, update doom ex
jeff-mccoy Jan 27, 2022
2782daf
handle microk8s
jeff-mccoy Jan 27, 2022
10bf583
warn on arch mismatch
jeff-mccoy Jan 27, 2022
abb789e
update zarf schema file
jeff-mccoy Jan 27, 2022
24956ce
fix multi-distro destroy chart removal/ns finalizer lag
jeff-mccoy Jan 27, 2022
bc8d900
small package deploy ui cleanup
jeff-mccoy Jan 27, 2022
67f221d
fix data injection example + update for multi-arch
jeff-mccoy Jan 27, 2022
e984e18
require amd64 for bb example (no arm for iron bank)
jeff-mccoy Jan 27, 2022
528bc65
more small cli ui cleanup
jeff-mccoy Jan 27, 2022
69f287a
add kind and k3d example configs
jeff-mccoy Jan 27, 2022
ccdba25
require amd64 for postgress example due to IB usage
jeff-mccoy Jan 27, 2022
03408b0
fix arch mismatch logic / ui reporting
jeff-mccoy Jan 27, 2022
5345823
remove invalid log entry
jeff-mccoy Jan 27, 2022
9581b62
remove zarf init defaults for minimal install
jeff-mccoy Jan 27, 2022
e5afd05
add zarf connect for bb-single-package example
jeff-mccoy Jan 27, 2022
e5442c6
update kind cluster delete note
jeff-mccoy Jan 27, 2022
6ad630a
add missing files/arch for big bang examples
jeff-mccoy Jan 27, 2022
1f0a0fe
😭 move ns/secret mgmt into helm to fix raw manifest errors on ns crea…
jeff-mccoy Jan 27, 2022
72e9bb7
more updates for bb, this thing is a mess...
jeff-mccoy Jan 27, 2022
6990d15
Add default 'zarf connect' ports to Vagrantfile for dev testing
YrrepNoj Jan 27, 2022
a6c0533
Actually remove HandleIfURL tempPath early deletion
YrrepNoj Jan 27, 2022
b191492
Update e2e tests to work with native apply refactor
YrrepNoj Jan 27, 2022
5b3a059
Hybrid helm namespace management
jeff-mccoy Jan 28, 2022
ad4f644
small lint/pterm spinner cleanup
jeff-mccoy Jan 28, 2022
eb875aa
add recommended k8s managed-by labels to object creations
jeff-mccoy Jan 28, 2022
6cd0a6b
k8s secret code cleanup
jeff-mccoy Jan 28, 2022
880ad46
add kustomizations key for manifests to replace manual kustomizations
jeff-mccoy Jan 30, 2022
05e02ab
enable namespace-wide SA secret injection to remove imagepullsecrets req
jeff-mccoy Jan 30, 2022
893204e
add "zarf.dev/connect-url" annotation for url suffixes on zarf connect
jeff-mccoy Jan 30, 2022
94d3f4c
test multi-service zarf connect matching with url suffix
jeff-mccoy Jan 30, 2022
590b56b
update component flags in test to reflect k3s not being a default com…
jeff-mccoy Jan 30, 2022
526684e
add safer delay for k3s install
jeff-mccoy Jan 31, 2022
b9bddf2
update zarf game e2e test package name
jeff-mccoy Jan 31, 2022
6ae00d3
fix panic on registry catalog
jeff-mccoy Jan 31, 2022
ddad983
cleanup postgres operator example
jeff-mccoy Jan 31, 2022
c20a01b
add "secretName" key for components to change the default injected se…
jeff-mccoy Jan 31, 2022
9aee430
wip big bang testing
jeff-mccoy Jan 31, 2022
7ea32ad
add secretName to config schema
jeff-mccoy Jan 31, 2022
b91c514
operators are messy, keep imagepullsecret for tiny-kafka
jeff-mccoy Jan 31, 2022
74d139b
more postgres example cleanup
jeff-mccoy Feb 1, 2022
94486f6
update postgres example with zarf connect & secret injection
jeff-mccoy Feb 1, 2022
259b6f3
remove e2e pre-reqs no longer needed by zarf
jeff-mccoy Feb 1, 2022
631a429
e2e test cleanup
jeff-mccoy Feb 1, 2022
bbb40b6
Remove git-based helm chart test
jeff-mccoy Feb 1, 2022
7de3bff
update package deploy order to not make flux sad
jeff-mccoy Feb 1, 2022
07c45a7
increase registry limits for larger image pushes
jeff-mccoy Feb 1, 2022
6a3a3e2
simplify e2e curl command
YrrepNoj Feb 1, 2022
83ae0b9
fix spacing in logging e2e bash command
YrrepNoj Feb 1, 2022
e025dbb
slight modifications to example README's after multi-distro changes (…
YrrepNoj Feb 2, 2022
d328b69
update bb example, still image pull sadness for now
jeff-mccoy Feb 2, 2022
b8dbfc2
update e2e gitops for refactored test boilerplate
jeff-mccoy Feb 2, 2022
61150f6
Fix tool subcommand to get git credentials
YrrepNoj Feb 2, 2022
3c67c65
Fix gitops e2e test to use tunneled ports
YrrepNoj Feb 2, 2022
4ccef73
Add gitops data package creation prior to e2e test
YrrepNoj Feb 2, 2022
5170755
Update docs for native-apply branch
YrrepNoj Feb 2, 2022
a585e22
Clean up dead code and add image specs to values.yaml (#262)
RothAndrew Feb 3, 2022
53101f9
Updates for Big Bang example to PR #237 (#267)
RothAndrew Feb 4, 2022
1baf253
Multi-Distro Support - Update Docs (#289)
RothAndrew Feb 8, 2022
74c3dc8
Update gitops-data example docs (#290)
RothAndrew Feb 8, 2022
c95de62
update post-render to retry updating service account on error (#269)
YrrepNoj Feb 8, 2022
54edd51
Update tiny-kafka docs
jeff-mccoy Feb 8, 2022
864b47d
Update postgres-operator example & docs (#291)
RothAndrew Feb 8, 2022
d997ff1
update single-big-bang-package example docs
jeff-mccoy Feb 8, 2022
f4e5aa3
update data injection example docs
jeff-mccoy Feb 8, 2022
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
Prev Previous commit
Next Next commit
wip big bang testing
jeff-mccoy committed Feb 8, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 9aee430f1e000d67c0163ac2388913a8e84bfe5f
Original file line number Diff line number Diff line change
@@ -31,8 +31,7 @@ spec:
secretRef:
name: zarf-git-secret
ref:
branch: master
# tag: 1.21.0
branch: multi-distro-support
---
apiVersion: kustomize.toolkit.fluxcd.io/v1beta1
kind: Kustomization
Empty file.
9 changes: 0 additions & 9 deletions examples/big-bang/manifests/flux/regcred-secret.yaml

This file was deleted.

6 changes: 5 additions & 1 deletion examples/big-bang/template/bigbang/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
bases:
- vendor/bigbang/base
- git::http://zarf-gitea-http.zarf.svc.cluster.local:3000/zarf-git-user/mirror__repo1.dso.mil__platform-one__big-bang__bigbang.git//base?ref=1.17.0

configMapGenerator:
- name: common
@@ -19,3 +19,7 @@ patchesStrategicMerge:
url: http://zarf-gitea-http.zarf.svc.cluster.local:3000/zarf-git-user/mirror__repo1.dso.mil__platform-one__big-bang__bigbang.git
secretRef:
name: zarf-git-secret
ref:
$patch: replace
tag: "1.17.0"

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

8 changes: 5 additions & 3 deletions examples/big-bang/zarf.yaml
Original file line number Diff line number Diff line change
@@ -8,6 +8,7 @@ metadata:
components:
- name: flux
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
@@ -32,18 +33,19 @@ components:
target: "/usr/local/bin/kubescape-framework-nsa.json"
- source: "files/kubescape-exceptions.json"
target: "/usr/local/bin/kubescape-exceptions.json"

- name: bb-core
required: true
secretName: "private-registry"
manifests:
- name: bb-core-config
files:
- manifests/flux/regcred-secret.yaml
- manifests/big-bang/manifests.yaml
- manifests/big-bang.yaml
# 1. helm template bigbang ./chart | yq e '. | select(.kind == "GitRepository") | "- " + .spec.url + "@" + .spec.ref.tag' -
# 2. Add the actual bigbang repo as well
# https://repo1.dso.mil/platform-one/big-bang/bigbang/-/tags/1.17.0
repos:
- https://github.com/defenseunicorns/zarf.git
- https://repo1.dso.mil/platform-one/big-bang/[email protected]
- https://repo1.dso.mil/platform-one/big-bang/apps/core/[email protected]
- https://repo1.dso.mil/platform-one/big-bang/apps/core/[email protected]