@@ -24,7 +24,7 @@ func main() {
2424 log .Fatal ("Service account not given" )
2525 }
2626 os .Setenv ("REGISTRY_STORAGE_GCS_KEYFILE" , "/var/run/secrets/deis/registry/creds/key.json" )
27- if bucket , err := ioutil .ReadFile ("/var/run/secrets/deis/registry/creds/bucket" ); err != nil {
27+ if bucket , err := ioutil .ReadFile ("/var/run/secrets/deis/registry/creds/registry- bucket" ); err != nil {
2828 log .Fatal (err )
2929 } else {
3030 os .Setenv ("REGISTRY_STORAGE_GCS_BUCKET" , string (bucket ))
@@ -49,7 +49,7 @@ func main() {
4949 os .Setenv ("REGISTRY_STORAGE_S3_REGION" , string (region ))
5050 }
5151
52- if bucket , err := ioutil .ReadFile ("/var/run/secrets/deis/registry/creds/bucket" ); err != nil {
52+ if bucket , err := ioutil .ReadFile ("/var/run/secrets/deis/registry/creds/registry- bucket" ); err != nil {
5353 log .Fatal (err )
5454 } else {
5555 os .Setenv ("REGISTRY_STORAGE_S3_BUCKET" , string (bucket ))
@@ -68,7 +68,7 @@ func main() {
6868 os .Setenv ("REGISTRY_STORAGE_AZURE_ACCOUNTKEY" , string (accountkey ))
6969 }
7070
71- if container , err := ioutil .ReadFile ("/var/run/secrets/deis/registry/creds/container" ); err != nil {
71+ if container , err := ioutil .ReadFile ("/var/run/secrets/deis/registry/creds/registry- container" ); err != nil {
7272 log .Fatal (err )
7373 } else {
7474 os .Setenv ("REGISTRY_STORAGE_AZURE_CONTAINER" , string (container ))
@@ -82,13 +82,13 @@ func main() {
8282 os .Setenv ("REGISTRY_STORAGE_S3_BACKEND" , "minio" )
8383 os .Setenv ("REGISTRY_STORAGE_S3_REGIONENDPOINT" , fmt .Sprintf ("http://%s:%s" , mHost , mPort ))
8484
85- if accesskey , err := ioutil .ReadFile ("/var/run/secrets/deis/registry/creds/access-key-id " ); err != nil {
85+ if accesskey , err := ioutil .ReadFile ("/var/run/secrets/deis/registry/creds/accesskey " ); err != nil {
8686 log .Fatal (err )
8787 } else {
8888 os .Setenv ("REGISTRY_STORAGE_S3_ACCESSKEY" , string (accesskey ))
8989 }
9090
91- if secretkey , err := ioutil .ReadFile ("/var/run/secrets/deis/registry/creds/access-secret-key " ); err != nil {
91+ if secretkey , err := ioutil .ReadFile ("/var/run/secrets/deis/registry/creds/secretkey " ); err != nil {
9292 log .Fatal (err )
9393 } else {
9494 os .Setenv ("REGISTRY_STORAGE_S3_SECRETKEY" , string (secretkey ))
0 commit comments