-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
implement component choice groups (#488)
* implement component choice groups * fix test & handle default values w/--confirm again * add test case to ensure second component was not created when first is chosen
- Loading branch information
1 parent
473cbd5
commit 4683bd0
Showing
20 changed files
with
662 additions
and
169 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Just some simple file.... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
kind: ZarfPackageConfig | ||
metadata: | ||
name: component-choice | ||
description: "Test component to demonstrate grouping components for a user to choose from" | ||
|
||
components: | ||
- name: first-choice | ||
group: example-choice | ||
files: | ||
- source: blank-file.txt | ||
target: first-choice-file.txt | ||
|
||
- name: second-choice | ||
group: example-choice | ||
default: true | ||
files: | ||
- source: blank-file.txt | ||
target: second-choice-file.txt |
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
packages/big-bang-core/kustomization/core-light/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
bases: | ||
- ../core-prod | ||
|
||
configMapGenerator: | ||
- name: environment | ||
namespace: bigbang | ||
behavior: merge | ||
files: | ||
- values.yaml |
222 changes: 222 additions & 0 deletions
222
packages/big-bang-core/kustomization/core-light/values.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,222 @@ | ||
clusterAuditor: | ||
values: | ||
resources: | ||
requests: | ||
cpu: "100m" | ||
memory: "512Mi" | ||
limits: | ||
cpu: "500m" | ||
memory: "512Mi" | ||
|
||
gatekeeper: | ||
values: | ||
controllerManager: | ||
resources: | ||
limits: | ||
cpu: "1" | ||
memory: "2Gi" | ||
requests: | ||
cpu: "175m" | ||
memory: "512Mi" | ||
audit: | ||
resources: | ||
limits: | ||
cpu: "1.2" | ||
memory: "2Gi" | ||
requests: | ||
cpu: "200m" | ||
memory: "768Mi" | ||
|
||
istio: | ||
ingressGateways: | ||
public-ingressgateway: | ||
kubernetesResourceSpec: | ||
resources: | ||
requests: | ||
cpu: "100m" | ||
memory: "512Mi" | ||
limits: | ||
cpu: "500m" | ||
memory: "512Mi" | ||
values: | ||
istiod: | ||
resources: | ||
requests: | ||
cpu: "100m" | ||
memory: "1Gi" | ||
limits: | ||
cpu: "500m" | ||
memory: "1Gi" | ||
hpaSpec: | ||
maxReplicas: 1 | ||
|
||
istiooperator: | ||
values: | ||
operator: | ||
resources: | ||
limits: | ||
cpu: "500m" | ||
memory: "256Mi" | ||
requests: | ||
cpu: "100m" | ||
memory: "256Mi" | ||
|
||
jaeger: | ||
values: | ||
jaeger: | ||
spec: | ||
allInOne: | ||
resources: | ||
requests: | ||
cpu: "100m" | ||
memory: "128Mi" | ||
limits: | ||
cpu: "500m" | ||
memory: "128Mi" | ||
collector: | ||
resources: | ||
requests: | ||
cpu: "100m" | ||
memory: "128Mi" | ||
limits: | ||
cpu: "500m" | ||
memory: "128Mi" | ||
resources: | ||
limits: | ||
cpu: "500m" | ||
memory: "128Mi" | ||
requests: | ||
cpu: "100m" | ||
memory: "128Mi" | ||
|
||
kiali: | ||
values: | ||
resources: | ||
requests: | ||
cpu: "100m" | ||
memory: "256Mi" | ||
limits: | ||
cpu: "500m" | ||
memory: "256Mi" | ||
cr: | ||
spec: | ||
deployment: | ||
resources: | ||
requests: | ||
cpu: "100m" | ||
memory: "368Mi" | ||
limits: | ||
cpu: "500m" | ||
memory: "368Mi" | ||
|
||
monitoring: | ||
values: | ||
cleanUpgrade: | ||
resources: | ||
requests: | ||
memory: "128Mi" | ||
cpu: "100m" | ||
limits: | ||
memory: "256Mi" | ||
cpu: "200m" | ||
alertmanager: | ||
alertmanagerSpec: | ||
resources: | ||
limits: | ||
cpu: "500m" | ||
memory: "256Mi" | ||
requests: | ||
cpu: "100m" | ||
memory: "256Mi" | ||
grafana: | ||
resources: | ||
limits: | ||
cpu: "500m" | ||
memory: "512Mi" | ||
requests: | ||
cpu: "100m" | ||
memory: "256Mi" | ||
sidecar: | ||
resources: | ||
limits: | ||
cpu: "500m" | ||
memory: "100Mi" | ||
requests: | ||
cpu: "50m" | ||
memory: "50Mi" | ||
downloadDashboards: | ||
resources: | ||
limits: | ||
cpu: "20m" | ||
memory: "20Mi" | ||
requests: | ||
cpu: "20m" | ||
memory: "20Mi" | ||
kube-state-metrics: | ||
resources: | ||
limits: | ||
cpu: "500m" | ||
memory: "128Mi" | ||
requests: | ||
cpu: "10m" | ||
memory: "128Mi" | ||
prometheus-node-exporter: | ||
resources: | ||
limits: | ||
cpu: "500m" | ||
memory: "128Mi" | ||
requests: | ||
cpu: "100m" | ||
memory: "128Mi" | ||
prometheusOperator: | ||
admissionWebhooks: | ||
patch: | ||
resources: | ||
limits: | ||
cpu: "100m" | ||
memory: "128Mi" | ||
requests: | ||
cpu: "50m" | ||
memory: "128Mi" | ||
cleanupProxy: | ||
resources: | ||
limits: | ||
cpu: "100m" | ||
memory: "128Mi" | ||
requests: | ||
cpu: "50m" | ||
memory: "128Mi" | ||
resources: | ||
limits: | ||
cpu: "500m" | ||
memory: "512Mi" | ||
requests: | ||
cpu: "100m" | ||
memory: "512Mi" | ||
prometheusConfigReloader: | ||
resources: | ||
requests: | ||
cpu: "50m" | ||
memory: "128Mi" | ||
limits: | ||
cpu: "100m" | ||
memory: "128Mi" | ||
prometheus: | ||
prometheusSpec: | ||
resources: | ||
limits: | ||
cpu: "300m" | ||
memory: "2Gi" | ||
requests: | ||
cpu: "100m" | ||
memory: "2Gi" | ||
|
||
twistlock: | ||
values: | ||
resources: | ||
limits: | ||
memory: "1Gi" | ||
cpu: "500m" | ||
requests: | ||
memory: "1Gi" | ||
cpu: "100m" |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
kind: ZarfPackageConfig | ||
metadata: | ||
name: big-bang-core-demo | ||
description: "Demo Zarf basic deployment of Big Bang Core" | ||
description: "Deploy Big Bang Core" | ||
# Big Bang / Iron Bank are only amd64 | ||
architecture: amd64 | ||
|
||
|
@@ -11,12 +11,9 @@ components: | |
import: | ||
path: ../../packages/flux-iron-bank | ||
|
||
- name: big-bang | ||
- name: big-bang-core-assets | ||
description: "Git repositories and OCI images used by Big Bang Core" | ||
required: true | ||
manifests: | ||
- name: big-bang-config | ||
kustomizations: | ||
- "kustomization" | ||
repos: | ||
- https://repo1.dso.mil/platform-one/big-bang/[email protected] | ||
- https://repo1.dso.mil/platform-one/big-bang/apps/core/[email protected] | ||
|
@@ -78,3 +75,19 @@ components: | |
# twistlock | ||
- registry1.dso.mil/ironbank/twistlock/console/console:22.01.840 | ||
- registry1.dso.mil/ironbank/twistlock/defender/defender:22.01.840 | ||
|
||
- name: big-bang-core-limited-resources | ||
description: "Deploy a lightweight version of Big Bang Core using limited resources" | ||
group: big-bang-variant | ||
manifests: | ||
- name: big-bang-config | ||
kustomizations: | ||
- "kustomization/core-light" | ||
|
||
- name: big-bang-core-standard | ||
description: "Deploy Big Bang Core with a standard configuration" | ||
group: big-bang-variant | ||
manifests: | ||
- name: big-bang-config | ||
kustomizations: | ||
- "kustomization/core-standard" |
Oops, something went wrong.