@@ -130,12 +130,19 @@ kubectl patch serviceaccount operator --namespace default \
130130kubectl patch serviceaccount fluentd --namespace default \
131131 -p "{\" imagePullSecrets\" : [{\" name\" : \" registry-credentials\" }]}"
132132
133+ kubectl patch serviceaccount default --namespace kube-system \
134+ -p "{\" imagePullSecrets\" : [{\" name\" : \" registry-credentials\" }]}"
135+
133136kubectl patch serviceaccount cluster-autoscaler --namespace kube-system \
134137 -p "{\" imagePullSecrets\" : [{\" name\" : \" registry-credentials\" }]}"
135138
136139kubectl patch serviceaccount metrics-server --namespace kube-system \
137140 -p "{\" imagePullSecrets\" : [{\" name\" : \" registry-credentials\" }]}"
138141
142+ # Only if you are using cortex version <= 0.20.0:
143+ kubectl patch serviceaccount istio-cni --namespace kube-system \
144+ -p "{\" imagePullSecrets\" : [{\" name\" : \" registry-credentials\" }]}"
145+
139146# Only if you are using Inferentia:
140147kubectl patch serviceaccount neuron-device-plugin --namespace kube-system \
141148 -p "{\" imagePullSecrets\" : [{\" name\" : \" registry-credentials\" }]}"
@@ -163,8 +170,11 @@ kubectl delete secret --namespace kube-system registry-credentials
163170kubectl patch serviceaccount default --namespace default -p "{\" imagePullSecrets\" : []}"
164171kubectl patch serviceaccount operator --namespace default -p "{\" imagePullSecrets\" : []}"
165172kubectl patch serviceaccount fluentd --namespace default -p "{\" imagePullSecrets\" : []}"
173+ kubectl patch serviceaccount default --namespace kube-system -p "{\" imagePullSecrets\" : []}"
166174kubectl patch serviceaccount cluster-autoscaler --namespace kube-system -p "{\" imagePullSecrets\" : []}"
167175kubectl patch serviceaccount metrics-server --namespace kube-system -p "{\" imagePullSecrets\" : []}"
176+ # Only if you are using cortex version <= 0.20.0:
177+ kubectl patch serviceaccount istio-cni --namespace kube-system -p "{\" imagePullSecrets\" : []}"
168178# Only if you are using Inferentia:
169179kubectl patch serviceaccount neuron-device-plugin --namespace kube-system -p "{\" imagePullSecrets\" : []}"
170180` ` `
0 commit comments