don't expose redis port

This commit is contained in:
Ryan Petrello 2020-04-17 15:34:11 -04:00
parent 24a50ea076
commit 7bfc99a615
No known key found for this signature in database
GPG Key ID: F2AA5F2122351777

View File

@ -264,10 +264,6 @@ spec:
image: {{ kubernetes_redis_image }}:{{ kubernetes_redis_image_tag }}
imagePullPolicy: Always
args: ["redis-server", "{{ kubernetes_redis_config_mount_path }}"]
ports:
- name: redis
protocol: TCP
containerPort: 6379
volumeMounts:
- name: {{ kubernetes_deployment_name }}-redis-config
mountPath: "{{ kubernetes_redis_config_mount_path }}"