From 5bd0a57417084e4d873fcfc01991d4e8dee19d65 Mon Sep 17 00:00:00 2001 From: rasmus Date: Sat, 19 Apr 2025 00:17:31 +0300 Subject: [PATCH] explicitly use docker library --- freescout/application.yml | 2 +- gitea/application.yaml | 2 +- mysql-clusters/dedicated.yaml | 2 +- mysql-clusters/shared.yaml | 2 +- postgres-clusters/dedicated.yaml | 2 +- postgres-clusters/shared.yaml | 2 +- shared/mariadb.yml | 2 +- shared/memcached.yml | 2 +- shared/mongo.yml | 2 +- shared/mongoexpress.yml | 2 +- wiki/application.yml | 4 ++-- 11 files changed, 12 insertions(+), 12 deletions(-) diff --git a/freescout/application.yml b/freescout/application.yml index bac7b66..3065c0a 100644 --- a/freescout/application.yml +++ b/freescout/application.yml @@ -80,7 +80,7 @@ spec: imagePullPolicy: IfNotPresent containers: - name: mysql - image: mysql + image: mirror.gcr.io/library/mysql:latest command: - /bin/bash - '-c' diff --git a/gitea/application.yaml b/gitea/application.yaml index 28df46f..18639bd 100644 --- a/gitea/application.yaml +++ b/gitea/application.yaml @@ -80,7 +80,7 @@ spec: - jq '{"strategyKey":"OpenID","config":{"Provider":"openidConnect","ClientID":$ENV.OIDC_CLIENT_ID,"ClientSecret":$ENV.OIDC_CLIENT_SECRET,"OpenIDConnectAutoDiscoveryURL":"https://auth.k-space.ee/.well-known/openid-configuration","CustomURLMapping":null,"IconURL":"","Scopes":null,"RequiredClaimName":"","RequiredClaimValue":"","GroupClaimName":"","AdminGroup":"","GroupTeamMap":"","GroupTeamMapRemoval":false,"RestrictedGroup":""}} | "UPDATE login_source SET cfg=\(.config|tostring|@sh) WHERE name=\(.strategyKey|tostring|@sh) LIMIT 1"' -n -r > /tmp/update.sql containers: - name: mysql - image: mysql + image: mirror.gcr.io/library/mysql:latest imagePullPolicy: IfNotPresent volumeMounts: - mountPath: /tmp diff --git a/mysql-clusters/dedicated.yaml b/mysql-clusters/dedicated.yaml index b5bbfda..fe0fbb4 100644 --- a/mysql-clusters/dedicated.yaml +++ b/mysql-clusters/dedicated.yaml @@ -13,7 +13,7 @@ spec: podSpec: containers: - name: mariadb - image: mariadb:10.9.7@sha256:198c7a5fea3d7285762042a628fe8f83f0a7ccef559605b4cc9502e65210880b + image: mirror.gcr.io/library/mariadb:10.9.7@sha256:198c7a5fea3d7285762042a628fe8f83f0a7ccef559605b4cc9502e65210880b imagePullPolicy: IfNotPresent nodeSelector: dedicated: storage diff --git a/mysql-clusters/shared.yaml b/mysql-clusters/shared.yaml index 2b010dd..c071865 100644 --- a/mysql-clusters/shared.yaml +++ b/mysql-clusters/shared.yaml @@ -14,7 +14,7 @@ spec: podSpec: containers: - name: mariadb - image: mariadb:10.9.7@sha256:198c7a5fea3d7285762042a628fe8f83f0a7ccef559605b4cc9502e65210880b + image: mirror.gcr.io/library/mariadb:10.9.7@sha256:198c7a5fea3d7285762042a628fe8f83f0a7ccef559605b4cc9502e65210880b imagePullPolicy: IfNotPresent nodeSelector: dedicated: storage diff --git a/postgres-clusters/dedicated.yaml b/postgres-clusters/dedicated.yaml index cc30eff..b85e91b 100644 --- a/postgres-clusters/dedicated.yaml +++ b/postgres-clusters/dedicated.yaml @@ -12,7 +12,7 @@ spec: podSpec: containers: - name: postgres - image: postgres:13.11@sha256:0f18de936266e03891e186db616e530e0e4365ef5fb300d4bb27318538b80604 + image: mirror.gcr.io/library/postgres:13.11@sha256:0f18de936266e03891e186db616e530e0e4365ef5fb300d4bb27318538b80604 imagePullPolicy: IfNotPresent nodeSelector: dedicated: storage diff --git a/postgres-clusters/shared.yaml b/postgres-clusters/shared.yaml index cde6330..b5787fd 100644 --- a/postgres-clusters/shared.yaml +++ b/postgres-clusters/shared.yaml @@ -13,7 +13,7 @@ spec: podSpec: containers: - name: postgres - image: postgres:13.11@sha256:0f18de936266e03891e186db616e530e0e4365ef5fb300d4bb27318538b80604 + image: mirror.gcr.io/library/postgres:13.11@sha256:0f18de936266e03891e186db616e530e0e4365ef5fb300d4bb27318538b80604 imagePullPolicy: IfNotPresent nodeSelector: dedicated: storage diff --git a/shared/mariadb.yml b/shared/mariadb.yml index 2bc2228..bd4bde7 100644 --- a/shared/mariadb.yml +++ b/shared/mariadb.yml @@ -32,7 +32,7 @@ spec: - name: DATA_SOURCE_NAME value: exporter@tcp(127.0.0.1)/ - name: mariadb - image: mariadb:10.5 + image: mirror.gcr.io/library/mariadb:10.5 imagePullPolicy: Always env: - name: MYSQL_ROOT_PASSWORD diff --git a/shared/memcached.yml b/shared/memcached.yml index af66568..2cb2b00 100644 --- a/shared/memcached.yml +++ b/shared/memcached.yml @@ -37,7 +37,7 @@ spec: serviceAccountName: memcached containers: - name: memcached - image: memcached:1-alpine + image: mirror.gcr.io/library/memcached:1-alpine securityContext: runAsUser: 1001 readOnlyRootFilesystem: true diff --git a/shared/mongo.yml b/shared/mongo.yml index d60263b..9238839 100644 --- a/shared/mongo.yml +++ b/shared/mongo.yml @@ -23,7 +23,7 @@ spec: fsGroup: 999 containers: - name: mongo - image: mongo:5 + image: mirror.gcr.io/library/mongo:5 command: - mongod - --quiet diff --git a/shared/mongoexpress.yml b/shared/mongoexpress.yml index 067da5f..1f3c969 100644 --- a/shared/mongoexpress.yml +++ b/shared/mongoexpress.yml @@ -15,7 +15,7 @@ spec: spec: containers: - name: mongoexpress - image: mongo-express + image: mirror.gcr.io/library/mongo-express ports: - name: mongoexpress containerPort: 8081 diff --git a/wiki/application.yml b/wiki/application.yml index 1719e7e..aff124e 100644 --- a/wiki/application.yml +++ b/wiki/application.yml @@ -45,7 +45,7 @@ spec: - jq '{"strategyKey":"oidc","config":{"clientId":$ENV.OIDC_CLIENT_ID,"clientSecret":$ENV.OIDC_CLIENT_SECRET,"authorizationURL":$ENV.OIDC_IDP_AUTH_URI,"tokenURL":$ENV.OIDC_IDP_TOKEN_URI,"userInfoURL":$ENV.OIDC_IDP_USERINFO_URI,"skipUserProfile":false,"issuer":$ENV.OIDC_IDP_URI,"emailClaim":"email","displayNameClaim":"name","mapGroups":false,"groupsClaim":"groups","logoutURL":$ENV.OIDC_IDP_URI,"acrValues":""}} | "UPDATE authentication SET config=\(.config|tostring|@sh) WHERE strategyKey=\(.strategyKey|tostring|@sh) LIMIT 1"' -n -r > /tmp/update.sql containers: - name: mysql - image: mysql + image: mirror.gcr.io/library/mysql imagePullPolicy: IfNotPresent volumeMounts: - mountPath: /tmp @@ -80,7 +80,7 @@ spec: spec: containers: - name: wikijs - image: requarks/wiki:2 + image: mirror.gcr.io/requarks/wiki:2 env: - name: DB_TYPE value: mysql