Skip to content

Edit ingress rules to build feature environments automatically on Github Actions.

License

Notifications You must be signed in to change notification settings

c-bata/github-actions-ingress-rules-editor

 
 

Repository files navigation

github-actions-ingress-rules-editor

Edit kubernetes ingress rules and apply it. This action is useful to build feature environments automatically on Github Actions.

Scenario

architecture

This tool to help editing ingress rules in following architecture. You need to create Deployments and Services on your Kubernetes cluster. If you are using GKE, check https://github.com/c-bata/gcloud/tree/master/kubectl to apply.

Command line tool

$ ./ingress_rules_editor --help
Usage:
  ./ingress_rules_editor -ingress=<INGRESS_NAME> -host=<INGRESS_HOST> -service=<SERVICE_NAME> -port=<SERVICE_PORT> add
  ./ingress_rules_editor -ingress=<INGRESS_NAME> -host=<INGRESS_HOST> remove

Options:
  -host string
        ingress host (required).
  -ingress string
        name of kubernetes ingress (required).
  -namespace string
        kubernetes namespace (optional).
  -path string
        matching path rules of an incoming request (optional). (default "/*")
  -port int
        port number (required when running 'add'). (default -1)
  -service string
        name of kubernetes service (required when running 'add').
  -y    say yes in all confirmations

LICENSE

This software is licensed under the MIT license, see LICENSE for more information.

About

Edit ingress rules to build feature environments automatically on Github Actions.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Go 68.3%
  • Makefile 20.0%
  • Dockerfile 11.0%
  • Shell 0.7%