github.com/Racer159/jackal@v0.32.7-0.20240401174413-0bd2339e4f2e/examples/big-bang/jackal.yaml (about) 1 kind: JackalPackageConfig 2 metadata: 3 name: big-bang-example 4 description: Deploy Big Bang Core 5 # renovate: datasource=gitlab-releases depName=big-bang/bigbang versioning=semver registryUrl=https://repo1.dso.mil/ 6 version: 2.19.2 7 url: https://p1.dso.mil/products/big-bang 8 # Big Bang / Iron Bank are only amd64 9 architecture: amd64 10 11 variables: 12 - name: DOMAIN 13 default: bigbang.dev 14 prompt: false 15 16 components: 17 - name: bigbang 18 required: true 19 actions: 20 onRemove: 21 before: 22 - cmd: | 23 ./jackal tools kubectl patch helmrelease -n bigbang bigbang --type=merge -p '{"spec":{"suspend":true}}' 24 ./jackal tools kubectl delete helmrelease -n bigbang istio --ignore-not-found 25 ./jackal tools kubectl delete helmrelease -n bigbang istio-operator --ignore-not-found 26 ./jackal tools kubectl delete helmrelease -n bigbang monitoring --ignore-not-found 27 ./jackal tools kubectl delete providers grafana -n monitoring --ignore-not-found 28 ./jackal tools kubectl delete alerts grafana -n monitoring --ignore-not-found 29 ./jackal tools kubectl delete helmrelease -n bigbang promtail --ignore-not-found 30 ./jackal tools kubectl delete helmrelease -n bigbang loki --ignore-not-found 31 ./jackal tools kubectl delete kiali -n kiali kiali --ignore-not-found 32 ./jackal tools kubectl delete helmrelease -n bigbang tempo --ignore-not-found 33 ./jackal tools kubectl delete helmrelease -n bigbang neuvector --ignore-not-found 34 ./jackal tools kubectl delete validatingwebhookconfigurations.admissionregistration.k8s.io neuvector-validating-crd-webhook --ignore-not-found 35 ./jackal tools kubectl delete helmrelease -n bigbang kyverno-reporter --ignore-not-found 36 ./jackal tools kubectl delete helmrelease -n bigbang kyverno-policies --ignore-not-found 37 ./jackal tools kubectl delete helmrelease -n bigbang kyverno --ignore-not-found 38 ./jackal tools kubectl delete validatingwebhookconfigurations.admissionregistration.k8s.io kyverno-policy-validating-webhook-cfg kyverno-resource-validating-webhook-cfg --ignore-not-found 39 ./jackal tools kubectl delete helmrelease -n bigbang kiali --ignore-not-found 40 ./jackal tools kubectl delete helmrelease -n bigbang metrics-server --ignore-not-found 41 ./jackal tools kubectl delete apiservices.apiregistration.k8s.io -l helm.toolkit.fluxcd.io/namespace=bigbang,helm.toolkit.fluxcd.io/name=metrics-server --ignore-not-found 42 ./jackal tools kubectl delete gitrepositories -n bigbang -l app.kubernetes.io/part-of=bigbang 43 description: "Cleaning up Big Bang resources" 44 extensions: 45 bigbang: 46 # renovate: datasource=gitlab-releases depName=big-bang/bigbang versioning=semver registryUrl=https://repo1.dso.mil/ 47 version: 2.19.2 48 valuesFiles: 49 # Istio configs 50 - config/ingress.yaml 51 # Use Kyverno instead of Gatekeeper 52 - config/kyverno.yaml 53 # Use PLG instead of EFK 54 - config/loki.yaml 55 # Needed when running in k3s. Otherwise Neuvector fails to start with an error saying it can't detect its runtime 56 - config/neuvector.yaml 57 # Values are merged in order, so this would override the above and disable everything if uncommented 58 # - config/disable-all.yaml 59 - name: gitea-virtual-service 60 description: > 61 Expose the internal Jackal Gitea server through the Big Bang Istio deployment via a virtual service. 62 (only applies if you are using the Jackal-provided Gitea deployment - not an externally configured git host) 63 manifests: 64 - name: gitea 65 namespace: jackal 66 files: 67 - virtualservices/gitea.yaml