Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: allenporter/flux-local
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 4.0.0
Choose a base ref
...
head repository: allenporter/flux-local
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 4.1.0
Choose a head ref
  • 7 commits
  • 24 files changed
  • 1 contributor

Commits on Dec 20, 2023

  1. Configuration menu
    Copy the full SHA
    748d7ac View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    47c5bc2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8ffce8b View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2023

  1. Fix formatting by running black on code (#444)

    Fix formatting on code, where presubmits were not run.
    
    Pulled out from #443 into
    a separate PR.
    allenporter authored Dec 21, 2023
    Configuration menu
    Copy the full SHA
    9fd95a7 View commit details
    Browse the repository at this point in the history
  2. Add container images from Kustomziations to the cluster manifest (#443)

    ```
    # flux-local get cluster --path tests/testdata/cluster8/ -o yaml --enable-images  --all-namespaces
    ---
    clusters:
    - path: tests/testdata/cluster8
      kustomizations:
      - name: apps
        namespace: flux-system
        path: tests/testdata/cluster8/apps
        helm_repos: []
        helm_releases: []
        cluster_policies: []
        images:
        - alpine
      - name: flux-system
        namespace: flux-system
        path: tests/testdata/cluster8/cluster
        helm_repos: []
        helm_releases: []
        cluster_policies: []
        images: []
    ```
    Issue #434
    allenporter authored Dec 21, 2023
    Configuration menu
    Copy the full SHA
    b77ba60 View commit details
    Browse the repository at this point in the history
  3. Add HelmRelease images to cluster manifest (#445)

    Follow on from #443 by also adding HelmRelease images to the manifest.
    This also contains cleanup of other unused code from the initial PR
    adding container images.
    
    Issue #434
    
    Example usage
    ```
    $ flux-local get cluster --path tests/testdata/cluster/ -o yaml --enable-images
    ---
    clusters:
    - path: tests/testdata/cluster
      kustomizations:
      - name: apps
        namespace: flux-system
        path: tests/testdata/cluster/apps/prod
        helm_repos: []
        helm_releases:
        - name: podinfo
          namespace: podinfo
          chart:
            name: podinfo
            repo_name: podinfo
            repo_namespace: flux-system
          images:
          - public.ecr.aws/docker/library/redis:7.0.6
          - ghcr.io/stefanprodan/podinfo:6.3.2
        cluster_policies: []
      - name: flux-system
        namespace: flux-system
        path: tests/testdata/cluster/clusters/prod
        helm_repos: []
        helm_releases: []
        cluster_policies: []
      - name: infra-configs
        namespace: flux-system
        path: tests/testdata/cluster/infrastructure/configs
        helm_repos:
        - name: bitnami
          namespace: flux-system
          url: https://charts.bitnami.com/bitnami
          repo_type: default
        - name: podinfo
          namespace: flux-system
          url: oci://ghcr.io/stefanprodan/charts
          repo_type: oci
        - name: weave-charts
          namespace: flux-system
          url: oci://ghcr.io/weaveworks/charts
          repo_type: oci
        helm_releases: []
        cluster_policies:
        - name: test-allow-policy
      - name: infra-controllers
        namespace: flux-system
        path: tests/testdata/cluster/infrastructure/controllers
        helm_repos: []
        helm_releases:
        - name: metallb
          namespace: metallb
          chart:
            name: metallb
            repo_name: bitnami
            repo_namespace: flux-system
          images:
          - docker.io/bitnami/metallb-controller:0.13.7-debian-11-r29
          - docker.io/bitnami/metallb-speaker:0.13.7-debian-11-r28
        - name: weave-gitops
          namespace: flux-system
          chart:
            name: weave-gitops
            repo_name: weave-charts
            repo_namespace: flux-system
          images:
          - ghcr.io/weaveworks/wego-app:v0.24.0
        cluster_policies: []
    ```
    allenporter authored Dec 21, 2023
    Configuration menu
    Copy the full SHA
    09bcca9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f5efe17 View commit details
    Browse the repository at this point in the history
Loading