diff --git a/tutordiscovery/__about__.py b/tutordiscovery/__about__.py index 1b1318c..c1d7120 100644 --- a/tutordiscovery/__about__.py +++ b/tutordiscovery/__about__.py @@ -1,4 +1,4 @@ -__version__ = "16.0.0" +__version__ = "16.0.1" # Handle version suffix for nightly, just like tutor core. __version_suffix__ = "" diff --git a/tutordiscovery/patches/k8s-deployments b/tutordiscovery/patches/k8s-deployments index 20044a6..444cb18 100644 --- a/tutordiscovery/patches/k8s-deployments +++ b/tutordiscovery/patches/k8s-deployments @@ -20,6 +20,7 @@ spec: containers: - name: discovery image: {{ DISCOVERY_DOCKER_IMAGE }} + imagePullPolicy: IfNotPresent ports: - containerPort: 8000 volumeMounts: @@ -32,6 +33,8 @@ spec: - name: settings configMap: name: discovery-settings + imagePullSecrets: + - name: {{ IMAGE_PULL_SECRET }} @@ -57,6 +60,7 @@ spec: containers: - name: discovery-worker image: {{ DISCOVERY_DOCKER_IMAGE }} + imagePullPolicy: IfNotPresent args: ["celery", "--app=course_discovery.celery", "worker", "--loglevel=info", "--max-tasks-per-child=100"] env: - name: SERVICE_VARIANT @@ -73,3 +77,5 @@ spec: - name: settings configMap: name: discovery-settings + imagePullSecrets: + - name: {{ IMAGE_PULL_SECRET }}