Skip to content

Commit

Permalink
fix ([issue 627](gluster#627)): adjusted deploy/kube-templates so the…
Browse files Browse the repository at this point in the history
…y work on k8s >= 1.16
  • Loading branch information
bertpersyn committed Dec 25, 2019
1 parent 7246eb4 commit 47b67f8
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 4 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

[![Build Status](https://travis-ci.org/gluster/gluster-kubernetes.svg?branch=master)](https://travis-ci.org/gluster/gluster-kubernetes)

## bert.persyn -> Changelog

* fix ([issue 627](https://github.com/gluster/gluster-kubernetes/issues/627)): adjusted deploy/kube-templates so they work on k8s >= 1.16

## GlusterFS Native Storage Service for Kubernetes

**gluster-kubernetes** is a project to provide Kubernetes administrators a
Expand Down
2 changes: 1 addition & 1 deletion deploy/kube-templates/deploy-heketi-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
targetPort: 8080
---
kind: Deployment
apiVersion: extensions/v1beta1
apiVersion: apps/v1
metadata:
name: deploy-heketi
labels:
Expand Down
2 changes: 1 addition & 1 deletion deploy/kube-templates/gluster-s3-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ items:
status:
loadBalancer: {}
- kind: Deployment
apiVersion: extensions/v1beta1
apiVersion: apps/v1
metadata:
name: gluster-s3-deployment
labels:
Expand Down
6 changes: 5 additions & 1 deletion deploy/kube-templates/glusterfs-daemonset.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
kind: DaemonSet
apiVersion: extensions/v1beta1
apiVersion: apps/v1
metadata:
name: glusterfs
labels:
Expand All @@ -9,6 +9,10 @@ metadata:
description: GlusterFS DaemonSet
tags: glusterfs
spec:
selector:
matchLabels:
glusterfs: pod
glusterfs-node: pod
template:
metadata:
name: glusterfs
Expand Down
2 changes: 1 addition & 1 deletion deploy/kube-templates/heketi-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
targetPort: 8080
---
kind: Deployment
apiVersion: extensions/v1beta1
apiVersion: apps/v1
metadata:
name: heketi
labels:
Expand Down

1 comment on commit 47b67f8

@sesopenko
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can confirm that these are the changes I had to make to get the included templates to work in kubernetes 1.17

Please sign in to comment.