Skip to content
This repository has been archived by the owner on Feb 14, 2023. It is now read-only.

Latest commit

 

History

History
36 lines (27 loc) · 2.03 KB

CONTRIBUTING.md

File metadata and controls

36 lines (27 loc) · 2.03 KB

Prerequisites

  1. Clone the cf-for-k8s repository: https://github.com/cloudfoundry/cf-for-k8s/
  2. Install any prerequisites of cf-for-k8s: https://github.com/cloudfoundry/cf-for-k8s/blob/master/docs/deploy.md#prerequisites
  3. Get kbld

Deploying Local Changes

Deploying New cloud_controller_ng and capi-k8s-release Changes

If you want to deploy changes of the cloud_controller_ng source along with changes of capi-k8s-release templates to your cf-for-k8s deployment, follow these steps:

  1. Ensure you have a Docker registry (e.g. Docker Hub, GCR) that you can push to and you are logged into it via docker login
  2. Run the following:
    IMAGE_DESTINATION=<docker_registry_url>/<desired_repo_name> ./scripts/build-and-rollout.sh <path_to_cf_install_values_file>
    

Deploying Only New capi-k8s-release Changes

If you want to deploy changes of just the capi-k8s-release templates to your cf-for-k8s deployment, follow these steps:

  1. Ensure you have a Docker registry (e.g. Docker Hub, GCR) that you can push to and you are logged into it via docker login
  2. Run the following:
    ./scripts/rollout.sh <path_to_cf_install_values_file>
    

Testing Changes

Contributing Changes

Ensure you have tested your changes and submit a PR to this repository against the master branch.

Feel free to comment on the PR itself or reach out to us on #capi in Cloud Foundry slack and ping @interrupt for assistance