try secret to pull docker image

This commit is contained in:
soukainna 2024-03-27 11:57:40 +01:00
parent 68dfc1c647
commit e9b48969e3
3 changed files with 25 additions and 1 deletions

View File

@ -52,7 +52,7 @@ spec:
mountPath: /config.yaml
subPath: config.yaml
imagePullSecrets:
- name: regcred
- name: sealed-secret-name
volumes:
- name: mobility-accounts-config-volume
configMap:

View File

@ -0,0 +1,8 @@
apiVersion: v1
data:
.dockerconfigjson: eyJhdXRocyI6eyJnaXQuY29vcGdvLmlvIjp7InVzZXJuYW1lIjoic2xhZmRpbGkiLCJwYXNzd29yZCI6ImRjZmNjMmIwNmM1Zjg2MjRiMTMyYzQxNTc5NDE1MDM5NzBmYjliNSIsImF1dGgiOiJjMnhoWm1ScGJHazZaR05tWTJNeVlqQTJZelZtT0RZeU5HSXhNekpqTkRFMU56azBNVFV3TXprM01HWmlPV0kxIn19fQ==
kind: Secret
metadata:
creationTimestamp: null
name: secret_mobility_accounts
type: kubernetes.io/dockerconfigjson

View File

@ -0,0 +1,16 @@
apiVersion: bitnami.com/v1alpha1
kind: SealedSecret
metadata:
creationTimestamp: null
name: secret_mobility_accounts
namespace: default
spec:
encryptedData:
.dockerconfigjson: AgAxlJa0nAGi0McZ/PnPRbuBkrjuhmYBstllOCWBcXYqxgAuwvEdIK0qj34V+tQGPFi04zCBeGM/nqY3y608ZOm1WsbHXlv7lFrpB+7ife7344qjdiyDqkW7N2tleJgU6kBEatJYKH1n6AmxOTDBbpCozYI9R5imD0/HNWdii1VgVhwOGlLMHnxElG+y0yMvEAOxG1CVnH2+VceRUoRNDrDXAu48L5paAPorQGxfO0A4pFtrnzexC2WxInKp0LdXseYJcbYned1RiLs2AYER+7JI6Ouu5F8vtBwYgP7/FbA4chbSow6fHaYLHo64azO7wAL7FDtxY1GLI7GCJfT7tCM8lkScUKTH+G1xmGarMBGEH67tOQzn9uDwpDt07MgJcpcn06VCT71q96V0mrDJwq44kMi04e7ADgvgMnWDrbEG5GxL7af9mAPQ+sNAMy+iS0RtH7bA1YyKwG+Vnzikn61LQpNgEWwqUFaOWcNNKpJflDrgYAv5ubEad7uxFN3GeYQOppQJOi20vzMI+Oy8Vh/D/xCPtAA/Q53lzHQXmeWXcQa1Tv1giiRuzqQ+uyy+KT3oTh5FNFyl9xLR7udfdkVmoBOqoALj3EXi4GGbRX2Dn4V2i0qb8Foed6gLd5BMRbcKzOh7LTMQFY9N80+k70djVFNbHDpK4CbsUOeAoor8UIVI+xXSbym14IBiAjiubAO8HG10I2fVGleZM0yOGeGLVIKqC+fgrV12Wx+fw1WY7O+ncSuMXth3gJSOKqIJsak6iziXcpK/of9Fa1wj/s5Qa5PGzxssj+6NXE1ajb0mCNimjduanyUlkvacAZceUw13mzRam+EVCWBC/kDoMhU0rxZbN7zRsJ26ngxnq1jCD3RPFiin4CIEAHQVieYD65iyUk8pjRlgDFoI1o9Yh81HTj0h1+7JEPh1wlBNMLQWWzIU
template:
metadata:
creationTimestamp: null
name: secret_mobility_accounts
namespace: default
type: kubernetes.io/dockerconfigjson