github.com/Racer159/jackal@v0.32.7-0.20240401174413-0bd2339e4f2e/examples/podinfo-flux/jackal.yaml (about)

     1  kind: JackalPackageConfig
     2  metadata:
     3    name: podinfo-flux
     4    description: Deploy flux and then podinfo via flux
     5  
     6  components:
     7    - name: flux
     8      description: Installs the flux CRDs / controllers to use flux-based deployments in the cluster
     9      required: true
    10      manifests:
    11        - name: flux-crds
    12          namespace: flux
    13          files:
    14            - flux-install.yaml
    15      images:
    16        - ghcr.io/fluxcd/kustomize-controller:v0.27.1
    17        - ghcr.io/fluxcd/source-controller:v0.28.0
    18  
    19    - name: podinfo-via-flux
    20      description: Example deployment via flux using the famous podinfo example
    21      required: true
    22      manifests:
    23        - name: podinfo-via-flux
    24          namespace: podinfo
    25          files:
    26            - podinfo-source.yaml
    27            - podinfo-kustomization.yaml
    28      repos:
    29        - https://github.com/stefanprodan/podinfo.git
    30      images:
    31        - ghcr.io/stefanprodan/podinfo:6.3.3
    32      actions:
    33        onDeploy:
    34          after:
    35            # This will use a wait action to wait for the podinfo pod to be ready
    36            - description: Podinfo pods to be ready via wait action
    37              wait:
    38                cluster:
    39                  kind: pod
    40                  name: app=podinfo
    41                  namespace: podinfo
    42                  condition: ready