|
33 | 33 | help_text: You may either use an in-cluster container registry or configure your own external container registry for better performance. This container registry must be accessible from your Kubernetes cluster.
|
34 | 34 | recommended: false
|
35 | 35 |
|
| 36 | + - name: reg_incluster_storage |
| 37 | + title: In-cluster Storage provider |
| 38 | + type: select_one |
| 39 | + when: '{{repl (ConfigOptionEquals "reg_incluster" "1") }}' |
| 40 | + default: none |
| 41 | + help_text: You may configure your Docker registry to use an external storage backend. This setting is recommended for AWS users instead of using Elastic Container Registry. |
| 42 | + items: |
| 43 | + - name: none |
| 44 | + title: None |
| 45 | + - name: s3 |
| 46 | + title: S3 |
| 47 | + |
| 48 | + - name: reg_incluster_storage_s3_bucketname |
| 49 | + title: S3 bucket name |
| 50 | + type: text |
| 51 | + required: true |
| 52 | + when: '{{repl (ConfigOptionEquals "reg_incluster_storage" "s3") }}' |
| 53 | + help_text: The name of the bucket to act as your S3 storage backend. |
| 54 | + |
| 55 | + - name: reg_incluster_storage_s3_accesskey |
| 56 | + title: S3 access key |
| 57 | + type: text |
| 58 | + required: true |
| 59 | + when: '{{repl (ConfigOptionEquals "reg_incluster_storage" "s3") }}' |
| 60 | + help_text: The access key to use for authentication of your S3 storage backend. |
| 61 | + |
| 62 | + - name: reg_incluster_storage_s3_secretkey |
| 63 | + title: S3 secret key |
| 64 | + type: password |
| 65 | + when: '{{repl (ConfigOptionEquals "reg_incluster_storage" "s3") }}' |
| 66 | + required: true |
| 67 | + help_text: The secret key to use for authentication of your S3 storage backend. |
| 68 | + |
36 | 69 | - name: reg_url
|
37 | 70 | title: Container registry URL
|
38 | 71 | type: text
|
|
60 | 93 | required: true
|
61 | 94 | help_text: The password for your container registry.
|
62 | 95 |
|
63 |
| - - name: reg_s3storage |
64 |
| - title: Use S3 storage for your container registry |
65 |
| - type: bool |
66 |
| - default: "0" |
67 |
| - when: '{{repl and (eq HasLocalRegistry false) (ConfigOptionEquals "reg_incluster" "0") }}' |
68 |
| - help_text: If using AWS as your container registry, you must configure an S3 storage backend. |
69 |
| - |
70 |
| - - name: reg_bucketname |
71 |
| - title: S3 bucket name |
72 |
| - type: text |
73 |
| - when: '{{repl and (eq HasLocalRegistry false) (ConfigOptionEquals "reg_incluster" "0") (ConfigOptionEquals "reg_s3storage" "1") }}' |
74 |
| - required: true |
75 |
| - help_text: The name of the bucket to act as your S3 storage backend. |
76 |
| - |
77 |
| - - name: reg_accesskey |
78 |
| - title: S3 access key |
79 |
| - type: text |
80 |
| - when: '{{repl and (eq HasLocalRegistry false) (ConfigOptionEquals "reg_incluster" "0") (ConfigOptionEquals "reg_s3storage" "1") }}' |
81 |
| - required: true |
82 |
| - help_text: The access key to use for authentication of your S3 storage backend. |
83 |
| - |
84 |
| - - name: reg_secretkey |
85 |
| - title: S3 secret key |
86 |
| - type: password |
87 |
| - when: '{{repl and (eq HasLocalRegistry false) (ConfigOptionEquals "reg_incluster" "0") (ConfigOptionEquals "reg_s3storage" "1") }}' |
88 |
| - required: true |
89 |
| - help_text: The secret key to use for authentication of your S3 storage backend. |
90 |
| - |
91 | 96 | - name: database
|
92 | 97 | title: Database
|
93 | 98 | description: Gitpod requires an instance of MySQL 5.7 for data storage. This can either be an in-cluster or external database.
|
|
0 commit comments