Skip to content

Commit

Permalink
(feat) Added replica support for Azure and GCP Redis Instance (kyma-p…
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin-kho authored Nov 5, 2024
1 parent 7e4f225 commit 0c3f89d
Show file tree
Hide file tree
Showing 12 changed files with 57 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ data:
- name: spec.redisVersion
source: redisVersion
widget: Labels
- name: spec.replicasPerPrimary
source: replicasPerPrimary
widget: Labels
- name: spec.sku
widget: Panel
Expand Down Expand Up @@ -91,6 +94,11 @@ data:
name: spec.redisVersion
required: false
disableOnEdit: true
- path: spec.replicasPerPrimary
name: spec.replicasPerPrimary
required: false
disableOnEdit: true
widget: Number
- path: spec.redisConfiguration
name: spec.redisConfiguration
Expand Down Expand Up @@ -162,6 +170,7 @@ data:
spec.enableNonSslPort: Enable Non SSL Port
spec.shardCount: Shard Count
spec.redisVersion: Redis Version
spec.replicasPerPrimary: Replicas Per Primary
spec.sku: SKU
spec.sku.capacity: Capacity
spec.redisConfiguration: Redis Configuration
Expand All @@ -181,7 +190,7 @@ data:
kind: ConfigMap
metadata:
annotations:
cloud-resources.kyma-project.io/version: v0.0.5
cloud-resources.kyma-project.io/version: v0.0.6
labels:
busola.io/extension: resource
busola.io/extension-version: "0.5"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ data:
- name: spec.redisVersion
source: redisVersion
widget: Labels
- name: spec.replicaCount
source: replicaCount
widget: Labels
- name: spec.tier
source: tier
widget: Labels
Expand Down Expand Up @@ -81,6 +84,10 @@ data:
name: spec.redisVersion
required: true
disableOnEdit: true
- path: spec.replicaCount
name: spec.replicaCount
required: false
disableOnEdit: true
- path: spec.redisConfigs
name: spec.redisConfigs
required: false
Expand Down Expand Up @@ -191,10 +198,11 @@ data:
spec.maintenancePolicy.dayOfWeek.startTime.hours: Hours
spec.maintenancePolicy.dayOfWeek.startTime.minutes: Minutes
spec.redisConfigs: Redis Configuration
spec.replicaCount: Replica Count
kind: ConfigMap
metadata:
annotations:
cloud-resources.kyma-project.io/version: v0.0.5
cloud-resources.kyma-project.io/version: v0.0.6
labels:
busola.io/extension: resource
busola.io/extension-version: "0.5"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ data:
- name: spec.redisVersion
source: redisVersion
widget: Labels
- name: spec.replicasPerPrimary
source: replicasPerPrimary
widget: Labels
- name: spec.sku
widget: Panel
Expand Down Expand Up @@ -91,6 +94,11 @@ data:
name: spec.redisVersion
required: false
disableOnEdit: true
- path: spec.replicasPerPrimary
name: spec.replicasPerPrimary
required: false
disableOnEdit: true
widget: Number
- path: spec.redisConfiguration
name: spec.redisConfiguration
Expand Down Expand Up @@ -162,6 +170,7 @@ data:
spec.enableNonSslPort: Enable Non SSL Port
spec.shardCount: Shard Count
spec.redisVersion: Redis Version
spec.replicasPerPrimary: Replicas Per Primary
spec.sku: SKU
spec.sku.capacity: Capacity
spec.redisConfiguration: Redis Configuration
Expand All @@ -181,7 +190,7 @@ data:
kind: ConfigMap
metadata:
annotations:
cloud-resources.kyma-project.io/version: v0.0.5
cloud-resources.kyma-project.io/version: v0.0.6
labels:
busola.io/extension: resource
busola.io/extension-version: "0.5"
Expand Down
3 changes: 3 additions & 0 deletions config/ui-extensions/azureredisinstances/details
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ body:
- name: spec.redisVersion
source: redisVersion
widget: Labels
- name: spec.replicasPerPrimary
source: replicasPerPrimary
widget: Labels

- name: spec.sku
widget: Panel
Expand Down
5 changes: 5 additions & 0 deletions config/ui-extensions/azureredisinstances/form
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
name: spec.redisVersion
required: false
disableOnEdit: true
- path: spec.replicasPerPrimary
name: spec.replicasPerPrimary
required: false
disableOnEdit: true
widget: Number

- path: spec.redisConfiguration
name: spec.redisConfiguration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ configMapGenerator:
busola.io/extension: resource
busola.io/extension-version: "0.5"
annotations:
cloud-resources.kyma-project.io/version: "v0.0.5"
cloud-resources.kyma-project.io/version: "v0.0.6"
namespace: kyma-system
1 change: 1 addition & 0 deletions config/ui-extensions/azureredisinstances/translations
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ en:
spec.enableNonSslPort: Enable Non SSL Port
spec.shardCount: Shard Count
spec.redisVersion: Redis Version
spec.replicasPerPrimary: Replicas Per Primary
spec.sku: SKU
spec.sku.capacity: Capacity
spec.redisConfiguration: Redis Configuration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ data:
- name: spec.redisVersion
source: redisVersion
widget: Labels
- name: spec.replicaCount
source: replicaCount
widget: Labels
- name: spec.tier
source: tier
widget: Labels
Expand Down Expand Up @@ -81,6 +84,10 @@ data:
name: spec.redisVersion
required: true
disableOnEdit: true
- path: spec.replicaCount
name: spec.replicaCount
required: false
disableOnEdit: true
- path: spec.redisConfigs
name: spec.redisConfigs
required: false
Expand Down Expand Up @@ -191,10 +198,11 @@ data:
spec.maintenancePolicy.dayOfWeek.startTime.hours: Hours
spec.maintenancePolicy.dayOfWeek.startTime.minutes: Minutes
spec.redisConfigs: Redis Configuration
spec.replicaCount: Replica Count
kind: ConfigMap
metadata:
annotations:
cloud-resources.kyma-project.io/version: v0.0.5
cloud-resources.kyma-project.io/version: v0.0.6
labels:
busola.io/extension: resource
busola.io/extension-version: "0.5"
Expand Down
3 changes: 3 additions & 0 deletions config/ui-extensions/gcpredisinstances/details
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ body:
- name: spec.redisVersion
source: redisVersion
widget: Labels
- name: spec.replicaCount
source: replicaCount
widget: Labels
- name: spec.tier
source: tier
widget: Labels
Expand Down
4 changes: 4 additions & 0 deletions config/ui-extensions/gcpredisinstances/form
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
name: spec.redisVersion
required: true
disableOnEdit: true
- path: spec.replicaCount
name: spec.replicaCount
required: false
disableOnEdit: true
- path: spec.redisConfigs
name: spec.redisConfigs
required: false
Expand Down
2 changes: 1 addition & 1 deletion config/ui-extensions/gcpredisinstances/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ configMapGenerator:
busola.io/extension: resource
busola.io/extension-version: "0.5"
annotations:
cloud-resources.kyma-project.io/version: "v0.0.5"
cloud-resources.kyma-project.io/version: "v0.0.6"
namespace: kyma-system
1 change: 1 addition & 0 deletions config/ui-extensions/gcpredisinstances/translations
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ en:
spec.maintenancePolicy.dayOfWeek.startTime.hours: Hours
spec.maintenancePolicy.dayOfWeek.startTime.minutes: Minutes
spec.redisConfigs: Redis Configuration
spec.replicaCount: Replica Count

0 comments on commit 0c3f89d

Please sign in to comment.