Skip to content

Latest commit

 

History

History
52 lines (42 loc) · 2.03 KB

File metadata and controls

52 lines (42 loc) · 2.03 KB

Kustomize ArgoCD manifests

GitHub action used kustomize applications manifests

Inputs

  • app-name: 'The app name'
  • app-registry: 'The Docker image registry name'
  • github-actor: 'The github commit actor ID'
  • github-deploy-ssh-key: 'The github deploy SSH key to clone K8S manifests'
  • github-token: 'The github token to create PR'
  • k8s-manifest-repo-name: 'The name of K8S manifests repository'
  • k8s-manifest-repo-ssh: 'The SSH of K8S manifests repository'

OBS.: All inputs are required

Outputs

There are no outputs for this action

Example usage

      - name: Kustomize step
        uses: ferr3ira-gabriel/github-actions-kustomize-argocd-manifests@master
        with:
          app-name: '<The app name>'
          app-registry: '<The Docker image registry name>'
          github-actor: '<The github commit actor ID>'
          github-deploy-ssh-key: '<The github deploy SSH key to clone K8S manifests>'
          github-token: '${{ secrets.GITHUB_TOKEN }}'
          k8s-manifest-repo-name: '<The name of K8S manifests repository>'
          k8s-manifest-repo-ssh: '<The SSH of K8S manifests repository>'

How to send updates?

If you wants to update or make changes in module code you should use the develop branch of this repository, you can test your module changes passing the @develop in module calling. Ex.:

      # Example using this actions
      - name: Kustomize step
        uses: ferr3ira-gabriel/github-actions-kustomize-argocd-manifests@develop
        with:
          app-name: '<The app name>'
          app-registry: '<The Docker image registry name>'
          github-actor: '<The github commit actor ID>'
          github-deploy-ssh-key: '<The github deploy SSH key to clone K8S manifests>'
          github-token: '${{ secrets.GITHUB_TOKEN }}'
          k8s-manifest-repo-name: '<The name of K8S manifests repository>'
          k8s-manifest-repo-ssh: '<The SSH of K8S manifests repository>'

After execute all tests you can open a pull request to the master branch.