If you want to work on it, please fork.
emacs /helm/openstack-cinder-csi/values.yaml
export KUBECONFIG=./<cluster>.kubeconfig
helm install cloud-provider -n kube-system ./helm/cloud-provider-openstack-app/
https://github.com/kubernetes/cloud-provider-openstack/blob/master/docs/metrics.md
These charts are located under helm/cloud-provider-openstack-app/charts/ and use git subtrees to track the changes.
- Please Note* git subtree uses git commit comments to track changes so a PR commit squash will break the below.
Navigate to https://github.com/giantswarm/cloud-provider-openstack/ and update the Giantswarm fork by clicking the fetch upstream button.
You also need to sync the tags on the fork.
git clone [email protected]:giantswarm/cloud-provider-openstack.git /tmp/cloud-provider-openstack
cd /tmp/cloud-provider-openstack
git remote add upstream [email protected]:kubernetes/cloud-provider-openstack.git
git fetch upstream
git push origin --tags
rm -rf /tmp/cloud-provider-openstack
<<<<<<< HEAD
export CLOUD_PROVIDER_VERSION=release-1.23
export CHART_FOLDER=helm/cloud-provider-openstack-app/
=======
export CLOUD_PROVIDER_VERSION=v1.23.1
export CHART_FOLDER=helm/cloud-provider-openstack-app/charts/
./update_charts.sh --merge
## Step 2B ( if step 2 above failed )
You will need to reset the subtree because the commit message subtree is looking for is not present or overrriten in a squash.
>>>>>>> master
./update-charts.sh
<<<<<<< HEAD
You will need to reset the subtree because the commit message subtree is looking for is not present or overrriten in a squash.
export CLOUD_PROVIDER_VERSION=release-1.23
export CHART_FOLDER=helm/cloud-provider-openstack-app/
#Cleanup
git branch -D temp-split-branch
git remote remove upstream-copy
git rm -rf ${CHART_FOLDER}charts/openstack-cinder-csi
git rm -rf ${CHART_FOLDER}charts/openstack-cloud-controller-manager
git add ${CHART_FOLDER}charts/
git commit -m "Cleanup upstream chart folder"
./update-charts.sh --add
=======
export CLOUD_PROVIDER_VERSION=v1.23.1
export CHART_FOLDER=helm/cloud-provider-openstack-app/charts/
git rm ${CHART_FOLDER}charts/openstack-cinder-csi
git rm ${CHART_FOLDER}charts/openstack-cloud-controller-manager
./update_charts.sh --add
>>>>>>> master
Push code to git repo
Merge PR without squash