4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
8 http://www.apache.org/licenses/LICENSE-2.0
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
21 namespace: kube-system
31 priorityClassName: "system-cluster-critical"
32 dnsPolicy: ClusterFirst
36 - key: "node-maintenancemode"
41 runAsUser: {{ caas.uid.dockerreg }}
43 - name: registry-update
44 image: {{ container_image_names | select('search', '/registry:') | list | last }}
46 - name: INTERFACE_NAME
47 value: "{{ caas.internal_flannel_interface }}"
49 value: "{{ caas.update_registry_port }}"
50 - name: REGISTRY_CONFIG
51 value: /etc/docker-registry/docker-registry-update-config.yml
57 mountPath: /etc/localtime
60 mountPath: /etc/docker-registry/
63 mountPath: {{ caas.registry_directory }}
65 mountPath: /etc/ssl/certs/
73 path: /etc/docker-update-registry/
76 path: {{ caas.registry_directory }}