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

[Feature] Multiple Overlays and Overlay Selection #16

Open
1 task
Tracked by #18
TanmoySG opened this issue Jul 23, 2022 · 0 comments
Open
1 task
Tracked by #18

[Feature] Multiple Overlays and Overlay Selection #16

TanmoySG opened this issue Jul 23, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@TanmoySG
Copy link
Owner

TanmoySG commented Jul 23, 2022

A project/deployment might have multiple overlays, eg - prod, non-prod, etc. Add way to define the overlay names and their paths centrally and in the Action with section, some parameter like overlay or selectedOverlay to pick the overlay by name.

[Checkpoints]

  • TBD

[Example]

- name: Kubernetes Deployment
  uses: TanmoySG/[email protected]
  with:
    kubeconfig: path/to/kubeconfig
    namespace: 'default'
    kustomize: true
    overlays:
      - prod : deploy/overlays/prod
      - non-prod : deploy/overlays/non-prod
    overlay: prod

Something like this, or

- name: Kubernetes Deployment
  uses: TanmoySG/[email protected]
  with:
    kubeconfig: path/to/kubeconfig
    namespace: 'default'
    kustomizations: 
      - prod : deploy/overlays/prod
      - non-prod : deploy/overlays/non-prod
    use: prod
@TanmoySG TanmoySG added the enhancement New feature or request label Jul 23, 2022
@TanmoySG TanmoySG self-assigned this Jul 23, 2022
@TanmoySG TanmoySG added this to the v1.0.0-beta milestone Jul 23, 2022
@TanmoySG TanmoySG pinned this issue Jul 23, 2022
@TanmoySG TanmoySG unpinned this issue Jul 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant