azure-operator
The azure-operator manages Kubernetes clusters running in Giantnetes on Azure.
Branches
thiccc
- Up to and including version v2.9.0.
- Contains all versions of legacy controllers (reconciling AzureConfig CRs) up
to and including v2.9.0.
master
- From version v3.0.0.
- Contains only the latest version of controllers.
Getting Project
Clone the git repository: https://github.com/giantswarm/azure-operator.git
How to build
Build it using the standard go build
command.
go build github.com/giantswarm/azure-operator
Running azure-operator
Create an azure-operator role using tenant.tmpl.json role definition (replace SUBSCRIPTION_ID):
az role definition create --role-definition @tenant.tmpl.json
If you have a service proivder you want to reuse add the azure-operator role
(replace CLIENT_ID):
az role assignment create --assignee ${CLIENT_ID} --role azure-operator
Otherwise create a service provider with the azure-operator role (replace
SUBSCRIPTION_ID):
export CODENAME=cluster1
az ad sp create-for-rbac -n $CODENAME-azure-operator-sp --role="azure-operator" --scopes="/subscriptions/${SUBSCRIPTION_ID}" --years 10
Follow this guide.
Contributing & Reporting Bugs
See CONTRIBUTING for details on submitting patches, the
contribution workflow as well as reporting bugs.
License
azure-operator is under the Apache 2.0 license. See the LICENSE file for
details.