From 2806a7eda0d4ae7e9acebdce5ff334de46a82cca Mon Sep 17 00:00:00 2001 From: Jyri-Petteri Paloposki Date: Sun, 16 Jan 2022 18:55:40 +0200 Subject: [PATCH] Fix the definition files for new versions. Fixes #27. --- kubernetes/drupal.yaml | 6 +++++- kubernetes/postgres.yaml | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/kubernetes/drupal.yaml b/kubernetes/drupal.yaml index 7eda299..215bfeb 100644 --- a/kubernetes/drupal.yaml +++ b/kubernetes/drupal.yaml @@ -27,13 +27,17 @@ spec: requests: storage: 10Gi --- -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 kind: Deployment metadata: name: drupal labels: app: drupal spec: + selector: + matchLabels: + app: drupal + tier: frontend strategy: type: Recreate template: diff --git a/kubernetes/postgres.yaml b/kubernetes/postgres.yaml index 7b71387..afca343 100644 --- a/kubernetes/postgres.yaml +++ b/kubernetes/postgres.yaml @@ -25,13 +25,17 @@ spec: requests: storage: 10Gi --- -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 kind: Deployment metadata: name: postgresql labels: app: drupal spec: + selector: + matchLabels: + app: drupal + tier: postgreSQL strategy: type: Recreate template: