File tree Expand file tree Collapse file tree 4 files changed +0
-45
lines changed Expand file tree Collapse file tree 4 files changed +0
-45
lines changed Original file line number Diff line number Diff line change 16
16
prometheus.io/path : " /metrics"
17
17
prometheus.io/port : " 7300"
18
18
spec :
19
- # Temporary: Allow to pull private Docker images
20
- imagePullSecrets :
21
- - name : docker-registry
22
19
containers :
23
20
- name : indexer-agent
24
21
image : indexer-agent-image
Original file line number Diff line number Diff line change 16
16
prometheus.io/path : " /metrics"
17
17
prometheus.io/port : " 7300"
18
18
spec :
19
- # Temporary: Allow to pull private Docker images
20
- imagePullSecrets :
21
- - name : docker-registry
22
19
containers :
23
20
- name : indexer-service
24
21
image : indexer-service-image
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -262,35 +262,6 @@ resource "kubernetes_secret" "free-query-auth-token" {
262
262
}
263
263
}
264
264
265
- #
266
- # Temporary: Secret for pulling private Docker Hub images
267
- #
268
-
269
- resource "kubernetes_secret" "docker-registry" {
270
- metadata {
271
- name = " docker-registry"
272
- }
273
- data = {
274
- " .dockerconfigjson" = " ${ data . template_file . docker_config_script . rendered } "
275
- }
276
-
277
- type = " kubernetes.io/dockerconfigjson"
278
- }
279
-
280
- #
281
- # Temporary: Docker config for pulling private Docker Hub images
282
- #
283
- data "template_file" "docker_config_script" {
284
- template = " ${ file (" ${ path . module } /docker-config.json" )} "
285
- vars = {
286
- docker-server = " registry.hub.docker.com"
287
- docker-username = var.dockerhub_username
288
- docker-password = var.dockerhub_password
289
- docker-email = var.dockerhub_email
290
- auth = base64encode (" ${ var . dockerhub_username } :${ var . dockerhub_password } " )
291
- }
292
- }
293
-
294
265
#
295
266
# Persistent disks
296
267
#
You can’t perform that action at this time.
0 commit comments