Skip to content

Commit

Permalink
update pull secrets for all yamls
Browse files Browse the repository at this point in the history
  • Loading branch information
jeff-mccoy committed Dec 2, 2021
1 parent 46bb4df commit ac3ca07
Show file tree
Hide file tree
Showing 14 changed files with 33 additions and 163 deletions.
2 changes: 2 additions & 0 deletions assets/charts/gitea-values.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
persistence:
storageClass: local-path
imagePullSecrets:
- "zarf-registry"
gitea:
admin:
username: "zarf-git-user"
Expand Down
11 changes: 9 additions & 2 deletions assets/charts/pgl-values.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,21 @@
loki:
image:
pullSecrets:
- "zarf-registry"
grafana:
enabled: true
adminUser: "zarf-admin"
adminPassword: "###ZARF_SECRET###"
image:
pullSecrets:
- "zarf-registry"
grafana.ini:
server:
root_url: "%(protocol)s://%(domain)s/monitor"
serve_from_sub_path: true
promtail:
imagePullSecrets:
- "zarf-registry"
extraScrapeConfigs:
- job_name: journal
journal:
Expand All @@ -29,5 +38,3 @@ promtail:
- name: journal
mountPath: /var/log/journal
readOnly: true
image:
pullPolicy: Never
2 changes: 1 addition & 1 deletion assets/charts/registry-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ persistence:
storageClass: local-path
image:
repository: "registry1.dso.mil/ironbank/opensource/docker/registry-v2"
imagePullSecrets: private-registry
imagePullSecrets: zarf-registry
secrets:
htpasswd: "###ZARF_HTPASSWD###"
resources:
Expand Down
26 changes: 15 additions & 11 deletions cli/zarf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,18 @@ metadata:
components:
- name: baseline
required: true
charts:
- name: docker-registry
url: https://helm.twun.io
version: 1.10.1
- name: gatekeeper
url: https://repo1.dso.mil/platform-one/big-bang/apps/core/policy.git
version: 3.5.1-bb.10
images:
- registry1.dso.mil/ironbank/kiwigrid/k8s-sidecar:1.3.0
repos:
- https://repo1.dso.mil/platform-one/big-bang/apps/core/[email protected]
appliance:
charts:
- name: docker-registry
url: https://helm.twun.io
version: 1.10.1
namespace: registry
- name: gatekeeper
url: https://repo1.dso.mil/platform-one/big-bang/apps/core/policy.git
version: 3.5.1-bb.10
namespace: gatekeeper
images:
- registry1.dso.mil/ironbank/kiwigrid/k8s-sidecar:1.3.0
gitops:
repos:
- https://repo1.dso.mil/platform-one/big-bang/apps/core/[email protected]
28 changes: 0 additions & 28 deletions examples/big-bang/manifests/other_manifests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,31 +7,3 @@ metadata:
stringData:
username: "zarf-git-user"
password: "###ZARF_SECRET###"
---
apiVersion: v1
kind: Secret
type: kubernetes.io/dockerconfigjson
metadata:
name: private-registry
namespace: flux-system
stringData:
.dockerconfigjson: |
{
"auths": {
"registry.dso.mil": {
"auth":"###ZARF_DOCKERAUTH###"
},
"registry1.dso.mil": {
"auth":"###ZARF_DOCKERAUTH###"
},
"docker.io": {
"auth":"###ZARF_DOCKERAUTH###"
},
"registry-1.docker.io": {
"auth":"###ZARF_DOCKERAUTH###"
},
"ghcr.io": {
"auth":"###ZARF_DOCKERAUTH###"
}
}
}
2 changes: 1 addition & 1 deletion examples/data-injection/manifests/data-injection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ spec:
image: registry1.dso.mil/ironbank/redhat/ubi/ubi8:8.4
command: ["/bin/sh", "-ec", "mkdir -p /test && while :; do ls -lah /test; sleep 5 ; done"]
imagePullSecrets:
- name: private-registry
- name: zarf-registry
27 changes: 0 additions & 27 deletions examples/data-injection/manifests/image-pull-secret.yaml

This file was deleted.

61 changes: 0 additions & 61 deletions examples/postgres-operator/manifests/image-pull-secret.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion examples/postgres-operator/values/minio-operator.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
imagePullSecrets:
- name: private-registry
- name: zarf-registry
operator:
image:
repository: registry1.dso.mil/ironbank/opensource/minio/operator
Expand Down
2 changes: 1 addition & 1 deletion examples/postgres-operator/values/pgadmin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# repository: ??
# tag: ??
imagePullSecrets:
- name: private-registry
- name: zarf-registry
serviceAccount:
create: true
persistentVolume:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# repository: ??
# tag: ??
imagePullSecrets:
- name: private-registry
- name: zarf-registry
resources:
requests:
cpu: "100m"
Expand Down
2 changes: 1 addition & 1 deletion examples/postgres-operator/values/postgres-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# configGeneral:
# docker_image: registry1.dso.mil/.../spilo-13:2.1-p1
imagePullSecrets:
- name: private-registry
- name: zarf-registry
configPostgresPodResources:
default_cpu_request: "100m"
default_memory_request: "100Mi"
Expand Down
27 changes: 0 additions & 27 deletions examples/single-big-bang-package/manifests/image-pull-secret.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion examples/single-big-bang-package/twistlock-values.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
imagePullSecrets:
- name: private-registry
- name: zarf-registry

0 comments on commit ac3ca07

Please sign in to comment.