Skip to content

Commit

Permalink
Updated apiVersions to fully qualified 4.x compatible for SecurityCon…
Browse files Browse the repository at this point in the history
…textConstraints (#353)

* Updated apiVersions to fully qualified 4.x compatible for SecurityContextConstraints

* Updated statefulsets to use apps/v1
  • Loading branch information
garethahealy authored May 29, 2020
1 parent 80af968 commit 0e51f2c
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions gitlab-ce/.openshift/templates/gitlab-ssl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ metadata:
labels:
createdBy: gitlab-ce-template
objects:
- kind: SecurityContextConstraints
apiVersion: security.openshift.io/v1
- apiVersion: security.openshift.io/v1
kind: SecurityContextConstraints
allowHostDirVolumePlugin: false
allowHostIPC: false
allowHostNetwork: false
Expand Down
4 changes: 2 additions & 2 deletions gogs/.openshift/templates/gogs-persistent-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ metadata:
tags: instant-app,gogs,go,golang
name: gogs
objects:
- kind: SecurityContextConstraints
apiVersion: v1
- apiVersion: security.openshift.io/v1
kind: SecurityContextConstraints
allowHostDirVolumePlugin: false
allowHostIPC: false
allowHostNetwork: false
Expand Down
4 changes: 2 additions & 2 deletions mongodb/.openshift/templates/configsvr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ objects:
selector:
name: "${APP_NAME}configsvr"

- kind: StatefulSet
apiVersion: apps/v1beta1
- apiVersion: apps/v1
kind: StatefulSet
metadata:
name: "${APP_NAME}configsvr"
labels:
Expand Down
4 changes: 2 additions & 2 deletions mongodb/.openshift/templates/replset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ objects:
selector:
name: "${APP_NAME}replset${REPLSET_SEED}"

- kind: StatefulSet
apiVersion: apps/v1beta1
- apiVersion: apps/v1
kind: StatefulSet
metadata:
app: "${APP_NAME}"
name: "${APP_NAME}replset${REPLSET_SEED}"
Expand Down
2 changes: 1 addition & 1 deletion rabbitmq/.openshift/templates/deployments/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ objects:
application: "${APPLICATION_NAME}"
sessionAffinity: None
type: ClusterIP
- apiVersion: apps/v1beta1
- apiVersion: apps/v1
kind: StatefulSet
metadata:
labels:
Expand Down

0 comments on commit 0e51f2c

Please sign in to comment.