Browse Source

Merge pull request #190 from multi-arch/samples-3.2

[3.2.x] Update templates to 3.9, use groupified apiVersion
pull/194/head
Petr Hracek 3 years ago
committed by GitHub
parent
commit
644f775552
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 23 additions and 23 deletions
  1. +8
    -8
      openshift/templates/django-postgresql-persistent.json
  2. +8
    -8
      openshift/templates/django-postgresql.json
  3. +7
    -7
      openshift/templates/django.json

+ 8
- 8
openshift/templates/django-postgresql-persistent.json View File

@ -1,6 +1,6 @@
{
"kind": "Template",
"apiVersion": "v1",
"apiVersion": "template.openshift.io/v1",
"metadata": {
"name": "django-psql-persistent",
"annotations": {
@ -58,7 +58,7 @@
},
{
"kind": "Route",
"apiVersion": "v1",
"apiVersion": "route.openshift.io/v1",
"metadata": {
"name": "${NAME}"
},
@ -72,7 +72,7 @@
},
{
"kind": "ImageStream",
"apiVersion": "v1",
"apiVersion": "image.openshift.io/v1",
"metadata": {
"name": "${NAME}",
"annotations": {
@ -82,7 +82,7 @@
},
{
"kind": "BuildConfig",
"apiVersion": "v1",
"apiVersion": "build.openshift.io/v1",
"metadata": {
"name": "${NAME}",
"annotations": {
@ -142,7 +142,7 @@
},
{
"kind": "DeploymentConfig",
"apiVersion": "v1",
"apiVersion": "apps.openshift.io/v1",
"metadata": {
"name": "${NAME}",
"annotations": {
@ -306,7 +306,7 @@
},
{
"kind": "DeploymentConfig",
"apiVersion": "v1",
"apiVersion": "apps.openshift.io/v1",
"metadata": {
"name": "${DATABASE_SERVICE_NAME}",
"annotations": {
@ -440,8 +440,8 @@
{
"name": "PYTHON_VERSION",
"displayName": "Version of Python Image",
"description": "Version of Python image to be used (3.6-ubi8, 3.8-ubi8, or latest).",
"value": "3.8-ubi8",
"description": "Version of Python image to be used (3.6-ubi8, 3.8-ubi8, 3.9-ubi8, or latest).",
"value": "3.9-ubi8",
"required": true
},
{


+ 8
- 8
openshift/templates/django-postgresql.json View File

@ -1,6 +1,6 @@
{
"kind": "Template",
"apiVersion": "v1",
"apiVersion": "template.openshift.io/v1",
"metadata": {
"name": "django-psql-example",
"annotations": {
@ -58,7 +58,7 @@
},
{
"kind": "Route",
"apiVersion": "v1",
"apiVersion": "route.openshift.io/v1",
"metadata": {
"name": "${NAME}"
},
@ -72,7 +72,7 @@
},
{
"kind": "ImageStream",
"apiVersion": "v1",
"apiVersion": "image.openshift.io/v1",
"metadata": {
"name": "${NAME}",
"annotations": {
@ -82,7 +82,7 @@
},
{
"kind": "BuildConfig",
"apiVersion": "v1",
"apiVersion": "build.openshift.io/v1",
"metadata": {
"name": "${NAME}",
"annotations": {
@ -142,7 +142,7 @@
},
{
"kind": "DeploymentConfig",
"apiVersion": "v1",
"apiVersion": "apps.openshift.io/v1",
"metadata": {
"name": "${NAME}",
"annotations": {
@ -289,7 +289,7 @@
},
{
"kind": "DeploymentConfig",
"apiVersion": "v1",
"apiVersion": "apps.openshift.io/v1",
"metadata": {
"name": "${DATABASE_SERVICE_NAME}",
"annotations": {
@ -421,8 +421,8 @@
{
"name": "PYTHON_VERSION",
"displayName": "Version of Python Image",
"description": "Version of Python image to be used (3.6-ubi8, 3.8-ubi8, or latest).",
"value": "3.8-ubi8",
"description": "Version of Python image to be used (3.6-ubi8, 3.8-ubi8, 3.9-ubi8, or latest).",
"value": "3.9-ubi8",
"required": true
},
{


+ 7
- 7
openshift/templates/django.json View File

@ -1,6 +1,6 @@
{
"kind": "Template",
"apiVersion": "v1",
"apiVersion": "template.openshift.io/v1",
"metadata": {
"name": "django-example",
"annotations": {
@ -55,7 +55,7 @@
},
{
"kind": "Route",
"apiVersion": "v1",
"apiVersion": "route.openshift.io/v1",
"metadata": {
"name": "${NAME}"
},
@ -69,7 +69,7 @@
},
{
"kind": "ImageStream",
"apiVersion": "v1",
"apiVersion": "image.openshift.io/v1",
"metadata": {
"name": "${NAME}",
"annotations": {
@ -79,7 +79,7 @@
},
{
"kind": "BuildConfig",
"apiVersion": "v1",
"apiVersion": "build.openshift.io/v1",
"metadata": {
"name": "${NAME}",
"annotations": {
@ -139,7 +139,7 @@
},
{
"kind": "DeploymentConfig",
"apiVersion": "v1",
"apiVersion": "apps.openshift.io/v1",
"metadata": {
"name": "${NAME}",
"annotations": {
@ -251,8 +251,8 @@
{
"name": "PYTHON_VERSION",
"displayName": "Version of Python Image",
"description": "Version of Python image to be used (3.6-ubi8, 3.8-ubi8, or latest).",
"value": "3.8-ubi8",
"description": "Version of Python image to be used (3.6-ubi8, 3.8-ubi8, 3.9-ubi8, or latest).",
"value": "3.9-ubi8",
"required": true
},
{


Loading…
Cancel
Save