Upgrading kubernetes API
Change-Id: I279db986e2dab1ebcb5b48b4195363af395c8de3
diff --git a/xos-db/templates/db-deployment.yaml b/xos-db/templates/db-deployment.yaml
index 4f0bee6..8fa7056 100644
--- a/xos-db/templates/db-deployment.yaml
+++ b/xos-db/templates/db-deployment.yaml
@@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-apiVersion: extensions/v1beta1
+apiVersion: apps/v1
kind: Deployment
metadata:
name: xos-db
@@ -21,6 +21,10 @@
app: xos-db
spec:
replicas: 1
+ selector:
+ matchLabels:
+ name: xos-db
+ release: {{ .Release.Name }}
template:
metadata:
labels: