Skip to content

Commit

Permalink
feat: add registry mirroring mode into the advanced settings of a clu…
Browse files Browse the repository at this point in the history
…ster (#468)
  • Loading branch information
pggb25 authored Oct 11, 2023
1 parent 82864f0 commit 914ccae
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/schemas/ClusterAdvancedSettings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,5 @@ properties:
type: integer
default: -1
deprecated: true
registry.mirroring_mode:
$ref: './enums/RegistryMirroringMode.yaml'
3 changes: 3 additions & 0 deletions src/schemas/_index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -694,4 +694,7 @@ ServiceStepMetricNameEnum:
$ref: ./enums/ServiceStepMetricName.yaml
OrganizationJobAutoDeployRequest:
$ref: ./OrganizationJobAutoDeployRequest.yaml
RegistryMirroringModeEnum:
$ref: ./enums/RegistryMirroringMode.yaml


9 changes: 9 additions & 0 deletions src/schemas/enums/RegistryMirroringMode.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
type: string
default: SERVICE
enum:
- CLUSTER
- SERVICE
description: |
Mirroring mode when deploying a service from a container registry
- CLUSTER: This is not available on Scaleway. Images within the mirroring registry are organized by "Qovery cluster", meaning that the application deployed on the same cluster are all mirrored on the same repository.
- SERVICE: Images within the mirroring registry are organized by "Qovery service", each service has its own repository

0 comments on commit 914ccae

Please sign in to comment.