Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

rook: update rook to 1.4.6 #1117

Merged
merged 1 commit into from
Oct 30, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion assets/charts/components/rook/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ icon: https://rook.io/images/rook-logo.svg
name: rook-ceph
sources:
- https://github.com/rook/rook
version: v1.4.2
version: v1.4.6
12 changes: 12 additions & 0 deletions assets/charts/components/rook/templates/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,18 @@ rules:
- network-attachment-definitions
verbs:
- get
- apiGroups:
- monitoring.coreos.com
resources:
- servicemonitors
- prometheusrules
verbs:
- get
- list
- watch
- create
- update
- delete
---
kind: Role
apiVersion: rbac.authorization.k8s.io/v1beta1
Expand Down
4 changes: 2 additions & 2 deletions assets/charts/components/rook/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
image:
prefix: rook
repository: rook/ceph
tag: v1.4.2
tag: v1.4.6
pullPolicy: IfNotPresent

resources:
Expand Down Expand Up @@ -239,7 +239,7 @@ csi:
#rbdLivenessMetricsPort: 9080
#kubeletDirPath: /var/lib/kubelet
#cephcsi:
#image: quay.io/cephcsi/cephcsi:v3.1.0
#image: quay.io/cephcsi/cephcsi:v3.1.1
#registrar:
#image: quay.io/k8scsi/csi-node-driver-registrar:v1.2.0
#provisioner:
Expand Down
8 changes: 4 additions & 4 deletions pkg/assets/generated_assets.go

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions pkg/components/rook-ceph/manifests.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
package rookceph

// CephCluster resource definition was taken from:
// https://github.com/rook/rook/blob/v1.4.2/cluster/examples/kubernetes/ceph/cluster.yaml
// https://github.com/rook/rook/blob/v1.4.6/cluster/examples/kubernetes/ceph/cluster.yaml
var template = map[string]string{
"ceph-cluster.yaml": `
apiVersion: ceph.rook.io/v1
Expand All @@ -25,7 +25,7 @@ metadata:
namespace: {{ .Namespace }}
spec:
cephVersion:
image: ceph/ceph:v15.2.4-20200630
image: ceph/ceph:v15.2.5-20200916
allowUnsupported: false
dataDirHostPath: /var/lib/rook
skipUpgradeChecks: false
Expand All @@ -52,6 +52,7 @@ spec:
method: quick
dataSource: zero
iteration: 1
allowUninstallWithVolumes: false
placement:
all:
{{- if .NodeAffinity }}
Expand Down Expand Up @@ -186,7 +187,7 @@ spec:
dnsPolicy: ClusterFirstWithHostNet
containers:
- name: rook-ceph-tools
image: rook/ceph:v1.4.2
image: rook/ceph:v1.4.6
command: ["/tini"]
args: ["-g", "--", "/usr/local/bin/toolbox.sh"]
imagePullPolicy: IfNotPresent
Expand Down