<commit_before>[![CircleCI](https://circleci.com/gh/giantswarm/azure-operator.svg?style=svg)](https://circleci.com/gh/giantswarm/azure-operator) [![Docker Repository on Quay](https://quay.io/repository/giantswarm/azure-operator/status "Docker Repository on Quay")](https://quay.io/repository/giantswarm/azure-operator)

# azure-operator

The azure-operator manages Kubernetes clusters running in Giantnetes on Azure.

The azure-operator is still under development. See our [aws-operator](https://github.com/giantswarm/aws-operator)
for launching Giantnetes clusters on AWS.

## 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

See [this guide][examples-local].

[examples-local]: https://github.com/giantswarm/azure-operator/blob/master/examples/local

## Contact

- Mailing list: [giantswarm](https://groups.google.com/forum/!forum/giantswarm)<commit_msg>readme: add role info (#66)<commit_after>[![CircleCI](https://circleci.com/gh/giantswarm/azure-operator.svg?style=svg)](https://circleci.com/gh/giantswarm/azure-operator) [![Docker Repository on Quay](https://quay.io/repository/giantswarm/azure-operator/status "Docker Repository on Quay")](https://quay.io/repository/giantswarm/azure-operator)

# azure-operator

The azure-operator manages Kubernetes clusters running in Giantnetes on Azure.

The azure-operator is still under development. See our [aws-operator](https://github.com/giantswarm/aws-operator)
for launching Giantnetes clusters on AWS.

## 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 (replace SUBSCRIPTION_ID):

```bash
az role definition create --role-definition '{"Name":"azure-operator","Description":"Role for github.com/giantswarm/azure-operator","Actions":["*"],"NotActions":["Microsoft.Authorization/elevateAccess/Action"],"AssignableScopes":["/subscriptions/${SUBSCRIPTION_ID}"]}'
```

If you have a service proivder you want to reuse add the azure-operator role
(replace CLIENT_ID):

```bash
az role assignment create --assignee ${CLIENT_ID} --role azure-operator
```

Otherwise create a service provider with the azure-operator role (replace
SUBSCRIPTION_ID):

```bash
az ad sp create-for-rbac -n azure-operator-sp --role="azure-operator" --scopes="/subscriptions/${SUBSCRIPTION_ID}"
```

Follow [this guide][examples-local].

[examples-local]: https://github.com/giantswarm/azure-operator/blob/master/examples/local

## Contact

- Mailing list: [giantswarm](https://groups.google.com/forum/!forum/giantswarm)
{'fraction_non_alphanumeric': 0.1437062937062937, 'fraction_numerical': 0.0006993006993006993, 'mean_word_length': 5.577011494252874, 'pattern_counts': {'":': 5, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 16, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3882412', 'n_tokens_mistral': 939, 'n_tokens_neox': 867, 'n_words': 197}