azure-operator

command module
v5.0.0-beta5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

README

CircleCI Docker Repository on Quay

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.

Contact

Contributing & Reporting Bugs

See CONTRIBUTING for details on submitting patches, the contribution workflow as well as reporting bugs.

Pre-commit hook

Now you can run the pre-commit against all files in the repository. Or just try to make a commit and the pre-commit will be executed automatically.

License

azure-operator is under the Apache 2.0 license. See the LICENSE file for details.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
e2e
env
key
integration
pkg
httputil
Package httputil provides useful HTTP utilities such as header parsers etc.
Package httputil provides useful HTTP utilities such as header parsers etc.
mock/mock_tenantcluster
Package mock_tenantcluster is a generated GoMock package.
Package mock_tenantcluster is a generated GoMock package.
Package server provides a server implementation to connect network transport protocols and service business logic by defining server endpoints.
Package server provides a server implementation to connect network transport protocols and service business logic by defining server endpoints.
controller/resource/workermigration/internal/mock_azure
Package mock_azure is a generated GoMock package.
Package mock_azure is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL