Skip to content

Commit

Permalink
Prepare Release v1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Nico Schieder committed Mar 2, 2018
1 parent f55cb12 commit d8018c3
Show file tree
Hide file tree
Showing 3 changed files with 91 additions and 2 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Changelog
=========

v1.2.0
------

* update hcloud-go to v1.4.0
* update kubernetes dependencies to v1.9.3

v1.1.0
------

* update kubernetes dependencies to v1.9.2

v1.0.0
------

* initial release
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Kubernetes Cloud Controller Manager for Hetzner Cloud

[![Build Status](https://travis-ci.org/hetznercloud/hcloud-cloud-controller-manager.svg?branch=master)](https://travis-ci.org/hetznercloud/hcloud-cloud-controller-manager)

The Hetzner Cloud cloud controller mangager integrates your Kubernets cluster with the Hetzner Cloud API.
Expand Down Expand Up @@ -103,7 +102,7 @@ kubectl -n kube-system create secret generic hcloud --from-literal=token=<hcloud
7. Deploy the `hcloud-cloud-controller-manager`:

```
kubectl apply -f https://raw.githubusercontent.com/hetznercloud/hcloud-cloud-controller-manager/master/deploy/v1.1.0.yaml
kubectl apply -f https://raw.githubusercontent.com/hetznercloud/hcloud-cloud-controller-manager/master/deploy/v1.2.0.yaml
```

Expand Down
72 changes: 72 additions & 0 deletions deploy/v1.2.0.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
# NOTE: this release was tested against kubernetes v1.9.x

---
apiVersion: v1
kind: ServiceAccount
metadata:
name: cloud-controller-manager
namespace: kube-system
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
name: system:cloud-controller-manager
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cluster-admin
subjects:
- kind: ServiceAccount
name: cloud-controller-manager
namespace: kube-system
---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: hcloud-cloud-controller-manager
namespace: kube-system
spec:
replicas: 1
revisionHistoryLimit: 2
template:
metadata:
labels:
app: hcloud-cloud-controller-manager
annotations:
scheduler.alpha.kubernetes.io/critical-pod: ''
spec:
serviceAccount: cloud-controller-manager
dnsPolicy: Default
tolerations:
# this taint is set by all kubelets running `--cloud-provider=external`
# so we should tolerate it to schedule the cloud controller manager
- key: "node.cloudprovider.kubernetes.io/uninitialized"
value: "true"
effect: "NoSchedule"
- key: "CriticalAddonsOnly"
operator: "Exists"
# cloud controller manages should be able to run on masters
- key: "node-role.kubernetes.io/master"
effect: NoSchedule
containers:
- image: hetznercloud/hcloud-cloud-controller-manager:v1.2.0
name: hcloud-cloud-controller-manager
command:
- "/bin/hcloud-cloud-controller-manager"
- "--cloud-provider=hcloud"
- "--leader-elect=false"
- "--allow-untagged-cloud"
resources:
requests:
cpu: 100m
memory: 50Mi
env:
- name: NODE_NAME
valueFrom:
fieldRef:
fieldPath: spec.nodeName
- name: HCLOUD_TOKEN
valueFrom:
secretKeyRef:
name: hcloud
key: token

0 comments on commit d8018c3

Please sign in to comment.