diff --git a/kustomize/skyline/base/configmap-bin.yaml b/kustomize/skyline/base/configmap-bin.yaml index a9c0e5ff..d91cb861 100644 --- a/kustomize/skyline/base/configmap-bin.yaml +++ b/kustomize/skyline/base/configmap-bin.yaml @@ -9,7 +9,7 @@ data: #!/bin/bash set -exo pipefail cat /etc/skyline/skyline.yaml - alembic -c /skyline-apiserver/skyline_apiserver/db/alembic/alembic.ini upgrade head + alembic -c /opt/skyline-apiserver/skyline_apiserver/db/alembic/alembic.ini upgrade head data-skyline-run.sh: | set -exo pipefail echo "/usr/local/bin/gunicorn -c /etc/skyline/gunicorn.py skyline_apiserver.main:app" >/run_command diff --git a/kustomize/skyline/base/deployment-apiserver.yaml b/kustomize/skyline/base/deployment-apiserver.yaml index 9b167fff..42a8b158 100644 --- a/kustomize/skyline/base/deployment-apiserver.yaml +++ b/kustomize/skyline/base/deployment-apiserver.yaml @@ -317,7 +317,7 @@ spec: key: prometheus_endpoint optional: true - name: skyline-apiserver-db-migrate - image: "docker.io/99cloud/skyline:2023.1" + image: "ghcr.io/rackerlabs/skyline-rxt:master-ubuntu_jammy-1717079928" imagePullPolicy: IfNotPresent resources: requests: @@ -340,7 +340,7 @@ spec: readOnly: true containers: - name: skyline-apiserver - image: "docker.io/99cloud/skyline:2023.1" + image: "ghcr.io/rackerlabs/skyline-rxt:master-ubuntu_jammy-1717079928" imagePullPolicy: IfNotPresent resources: limits: @@ -353,7 +353,7 @@ spec: command: - bash - -c - - /usr/bin/pip install SQLAlchemy\<=1.4.41 && /tmp/run.sh + - /tmp/run.sh volumeMounts: - name: pod-tmp mountPath: /tmp