diff --git a/prod-upgrade/mysql/mysql.yaml b/prod-upgrade/mysql/mysql.yaml index 8926294..465a9e0 100644 --- a/prod-upgrade/mysql/mysql.yaml +++ b/prod-upgrade/mysql/mysql.yaml @@ -2,7 +2,6 @@ apiVersion: v1 kind: ReplicationController metadata: name: mysql - namespace: dev labels: name: mysql spec: @@ -20,7 +19,7 @@ spec: ports: - containerPort: 3306 volumeMounts: - - name: mysql-data-dev + - name: mysql-data-prod mountPath: /var/lib/mysql env: - name: MYSQL_ROOT_PASSWORD @@ -32,15 +31,14 @@ spec: - name: MYSQL_PASSWORD value: "Devops@2099" volumes: - - name: mysql-data-dev + - name: mysql-data-prod hostPath: - path: /data/dev/mysql + path: /data/prod/mysql --- apiVersion: v1 kind: Service metadata: name: mysql - namespace: dev labels: name: mysql spec: