Skip to content

Commit 43d0825

Browse files
committed
chore(registry): rename DRYCC_REGISTRY_SERVICE to DRYCC_REGISTRY_PROXY
1 parent 9c9bf66 commit 43d0825

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

charts/controller/templates/controller-deployment.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ spec:
5656
- name: REGISTRATION_MODE
5757
value: {{ .Values.registration_mode }}
5858
# NOTE(bacongobbler): use drycc/registry_proxy to work around Docker --insecure-registry requirements
59-
- name: "DRYCC_REGISTRY_SERVICE_HOST"
59+
- name: "DRYCC_REGISTRY_PROXY_HOST"
6060
value: "127.0.0.1"
6161
# Environmental variable value for $INGRESS_CLASS
6262
- name: "DRYCC_INGRESS_CLASS"
@@ -65,14 +65,14 @@ spec:
6565
value: "{{ .Values.platform_domain }}"
6666
- name: "K8S_API_VERIFY_TLS"
6767
value: "{{ .Values.k8s_api_verify_tls }}"
68-
- name: "DRYCC_REGISTRY_SERVICE_PORT"
68+
- name: "DRYCC_REGISTRY_PROXY_PORT"
6969
value: "{{ .Values.global.registry_service_port }}"
7070
- name: "APP_STORAGE"
7171
value: "{{ .Values.global.storage}}"
7272
- name: "DRYCC_REGISTRY_LOCATION"
7373
value: "{{ .Values.global.registry_location }}"
7474
- name: "DRYCC_REGISTRY_SECRET_PREFIX"
75-
value: "{{ .Values.global.secret_prefix }}"
75+
value: "{{ .Values.global.registry_secret_prefix }}"
7676
- name: "IMAGE_PULL_POLICY"
7777
value: "{{ .Values.app_pull_policy }}"
7878
- name: "TZ"

charts/controller/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ global:
5353
# The host port to which registry proxy binds to
5454
registry_service_port: 5555
5555
# Prefix for the imagepull secret created when using private registry
56-
secret_prefix: "private-registry"
56+
registry_secret_prefix: "private-registry"
5757
# Role-Based Access Control for Kubernetes >= 1.5
5858
use_rbac: false
5959
# Please check `kubernetes.io/ingress.class`

rootfs/api/settings/production.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,8 +337,8 @@
337337
KUBERNETES_NAMESPACE_DEFAULT_QUOTA_SPEC = os.environ.get('KUBERNETES_NAMESPACE_DEFAULT_QUOTA_SPEC', '') # noqa
338338

339339
# registry settings
340-
REGISTRY_HOST = os.environ.get('DRYCC_REGISTRY_SERVICE_HOST', '127.0.0.1')
341-
REGISTRY_PORT = os.environ.get('DRYCC_REGISTRY_SERVICE_PORT', 5000)
340+
REGISTRY_HOST = os.environ.get('DRYCC_REGISTRY_PROXY_HOST', '127.0.0.1')
341+
REGISTRY_PORT = os.environ.get('DRYCC_REGISTRY_PROXY_PORT', 5000)
342342
REGISTRY_URL = '{}:{}'.format(REGISTRY_HOST, REGISTRY_PORT)
343343
REGISTRY_LOCATION = os.environ.get('DRYCC_REGISTRY_LOCATION', 'on-cluster')
344344
REGISTRY_SECRET_PREFIX = os.environ.get('DRYCC_REGISTRY_SECRET_PREFIX', 'private-registry')

0 commit comments

Comments
 (0)