From 8c77c230e0566d848a361bc3f3c37c5d7141914e Mon Sep 17 00:00:00 2001 From: stakater-user Date: Tue, 15 Jan 2019 07:06:57 +0000 Subject: [PATCH] Bump Version to 0.0.19 --- .version | 2 +- .../kubernetes/chart/reloader/Chart.yaml | 4 +- .../kubernetes/chart/reloader/values.yaml | 4 +- .../kubernetes/manifests/clusterrole.yaml | 36 +++++++ .../manifests/clusterrolebinding.yaml | 23 ++++ .../kubernetes/manifests/deployment.yaml | 21 ++-- deployments/kubernetes/manifests/role.yaml | 4 + .../kubernetes/manifests/rolebinding.yaml | 4 + .../kubernetes/manifests/serviceaccount.yaml | 13 +++ deployments/kubernetes/reloader.yaml | 101 ++++++++++++++++-- 10 files changed, 191 insertions(+), 21 deletions(-) create mode 100644 deployments/kubernetes/manifests/clusterrole.yaml create mode 100644 deployments/kubernetes/manifests/clusterrolebinding.yaml create mode 100644 deployments/kubernetes/manifests/role.yaml create mode 100644 deployments/kubernetes/manifests/rolebinding.yaml create mode 100644 deployments/kubernetes/manifests/serviceaccount.yaml diff --git a/.version b/.version index 32786aa43..44517d518 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.0.18 +0.0.19 diff --git a/deployments/kubernetes/chart/reloader/Chart.yaml b/deployments/kubernetes/chart/reloader/Chart.yaml index 5ba50fe48..c452eee8e 100644 --- a/deployments/kubernetes/chart/reloader/Chart.yaml +++ b/deployments/kubernetes/chart/reloader/Chart.yaml @@ -3,8 +3,8 @@ apiVersion: v1 name: reloader description: Reloader chart that runs on kubernetes -version: 0.0.18 -appVersion: 0.0.18 +version: 0.0.19 +appVersion: 0.0.19 keywords: - Reloader - kubernetes diff --git a/deployments/kubernetes/chart/reloader/values.yaml b/deployments/kubernetes/chart/reloader/values.yaml index 0f5dbd7c1..97eb6b57c 100644 --- a/deployments/kubernetes/chart/reloader/values.yaml +++ b/deployments/kubernetes/chart/reloader/values.yaml @@ -11,9 +11,10 @@ reloader: labels: provider: stakater group: com.stakater.platform + version: 0.0.19 image: name: stakater/reloader - tag: "0.0.18" + tag: "0.0.19" pullPolicy: IfNotPresent # Support for extra environment variables. env: @@ -23,7 +24,6 @@ reloader: secret: # field supports Key value pair as environment variables. It gets the values from other fields of pod. field: - rbac: enabled: true labels: {} diff --git a/deployments/kubernetes/manifests/clusterrole.yaml b/deployments/kubernetes/manifests/clusterrole.yaml new file mode 100644 index 000000000..74027e432 --- /dev/null +++ b/deployments/kubernetes/manifests/clusterrole.yaml @@ -0,0 +1,36 @@ +--- +# Source: reloader/templates/clusterrole.yaml +--- +apiVersion: rbac.authorization.k8s.io/v1beta1 +kind: ClusterRole +metadata: + labels: + app: reloader + chart: "reloader-0.0.19" + release: "RELEASE-NAME" + heritage: "Tiller" + name: reloader-role + namespace: default +rules: + - apiGroups: + - "" + resources: + - secrets + - configmaps + verbs: + - list + - get + - watch + - apiGroups: + - "extensions" + - "apps" + resources: + - deployments + - daemonsets + - statefulsets + verbs: + - list + - get + - update + - patch + diff --git a/deployments/kubernetes/manifests/clusterrolebinding.yaml b/deployments/kubernetes/manifests/clusterrolebinding.yaml new file mode 100644 index 000000000..fc2fe2f0d --- /dev/null +++ b/deployments/kubernetes/manifests/clusterrolebinding.yaml @@ -0,0 +1,23 @@ +--- +# Source: reloader/templates/clusterrolebinding.yaml + +--- +apiVersion: rbac.authorization.k8s.io/v1beta1 +kind: ClusterRoleBinding +metadata: + labels: + app: reloader + chart: "reloader-0.0.19" + release: "RELEASE-NAME" + heritage: "Tiller" + name: reloader-role-binding + namespace: default +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: reloader-role +subjects: + - kind: ServiceAccount + name: reloader + namespace: default + diff --git a/deployments/kubernetes/manifests/deployment.yaml b/deployments/kubernetes/manifests/deployment.yaml index 4a44a770f..75794914c 100644 --- a/deployments/kubernetes/manifests/deployment.yaml +++ b/deployments/kubernetes/manifests/deployment.yaml @@ -5,12 +5,13 @@ kind: Deployment metadata: labels: app: reloader - group: com.stakater.platform - provider: stakater - version: 0.0.18 - chart: "reloader-0.0.18" + chart: "reloader-0.0.19" release: "RELEASE-NAME" heritage: "Tiller" + group: com.stakater.platform + provider: stakater + version: 0.0.19 + name: reloader spec: replicas: 1 @@ -18,19 +19,23 @@ spec: selector: matchLabels: app: reloader - group: com.stakater.platform - provider: stakater + release: "RELEASE-NAME" template: metadata: labels: app: reloader + chart: "reloader-0.0.19" + release: "RELEASE-NAME" + heritage: "Tiller" group: com.stakater.platform provider: stakater + version: 0.0.19 + spec: containers: - env: - image: "stakater/reloader:0.0.18" + image: "stakater/reloader:0.0.19" imagePullPolicy: IfNotPresent name: reloader serviceAccountName: reloader - + diff --git a/deployments/kubernetes/manifests/role.yaml b/deployments/kubernetes/manifests/role.yaml new file mode 100644 index 000000000..844b9fc85 --- /dev/null +++ b/deployments/kubernetes/manifests/role.yaml @@ -0,0 +1,4 @@ +--- +# Source: reloader/templates/role.yaml + + diff --git a/deployments/kubernetes/manifests/rolebinding.yaml b/deployments/kubernetes/manifests/rolebinding.yaml new file mode 100644 index 000000000..5b69a8097 --- /dev/null +++ b/deployments/kubernetes/manifests/rolebinding.yaml @@ -0,0 +1,4 @@ +--- +# Source: reloader/templates/rolebinding.yaml + + diff --git a/deployments/kubernetes/manifests/serviceaccount.yaml b/deployments/kubernetes/manifests/serviceaccount.yaml new file mode 100644 index 000000000..9afbe689b --- /dev/null +++ b/deployments/kubernetes/manifests/serviceaccount.yaml @@ -0,0 +1,13 @@ +--- +# Source: reloader/templates/serviceaccount.yaml + +apiVersion: v1 +kind: ServiceAccount +metadata: + labels: + app: reloader + chart: "reloader-0.0.19" + release: "RELEASE-NAME" + heritage: "Tiller" + name: reloader + diff --git a/deployments/kubernetes/reloader.yaml b/deployments/kubernetes/reloader.yaml index c3b74fbe1..7e19bbf6e 100644 --- a/deployments/kubernetes/reloader.yaml +++ b/deployments/kubernetes/reloader.yaml @@ -1,3 +1,7 @@ +--- +# Source: reloader/templates/role.yaml + + --- # Source: reloader/templates/deployment.yaml apiVersion: extensions/v1beta1 @@ -5,12 +9,13 @@ kind: Deployment metadata: labels: app: reloader - group: com.stakater.platform - provider: stakater - version: 0.0.18 - chart: "reloader-0.0.18" + chart: "reloader-0.0.19" release: "RELEASE-NAME" heritage: "Tiller" + group: com.stakater.platform + provider: stakater + version: 0.0.19 + name: reloader spec: replicas: 1 @@ -18,22 +23,66 @@ spec: selector: matchLabels: app: reloader - group: com.stakater.platform - provider: stakater + release: "RELEASE-NAME" template: metadata: labels: app: reloader + chart: "reloader-0.0.19" + release: "RELEASE-NAME" + heritage: "Tiller" group: com.stakater.platform provider: stakater + version: 0.0.19 + spec: containers: - env: - image: "stakater/reloader:0.0.18" + image: "stakater/reloader:0.0.19" imagePullPolicy: IfNotPresent name: reloader serviceAccountName: reloader - + +--- +# Source: reloader/templates/clusterrole.yaml +--- +apiVersion: rbac.authorization.k8s.io/v1beta1 +kind: ClusterRole +metadata: + labels: + app: reloader + chart: "reloader-0.0.19" + release: "RELEASE-NAME" + heritage: "Tiller" + name: reloader-role + namespace: default +rules: + - apiGroups: + - "" + resources: + - secrets + - configmaps + verbs: + - list + - get + - watch + - apiGroups: + - "extensions" + - "apps" + resources: + - deployments + - daemonsets + - statefulsets + verbs: + - list + - get + - update + - patch + +--- +# Source: reloader/templates/rolebinding.yaml + + --- # Source: reloader/templates/rbac.yaml apiVersion: v1 @@ -107,3 +156,39 @@ subjects: - kind: ServiceAccount name: reloader namespace: default +--- +# Source: reloader/templates/clusterrolebinding.yaml + +--- +apiVersion: rbac.authorization.k8s.io/v1beta1 +kind: ClusterRoleBinding +metadata: + labels: + app: reloader + chart: "reloader-0.0.19" + release: "RELEASE-NAME" + heritage: "Tiller" + name: reloader-role-binding + namespace: default +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: reloader-role +subjects: + - kind: ServiceAccount + name: reloader + namespace: default + +--- +# Source: reloader/templates/serviceaccount.yaml + +apiVersion: v1 +kind: ServiceAccount +metadata: + labels: + app: reloader + chart: "reloader-0.0.19" + release: "RELEASE-NAME" + heritage: "Tiller" + name: reloader +