diff --git a/charts/vela-core/templates/defwithtemplate/cpuhpa.yaml b/charts/vela-core/templates/defwithtemplate/cpuscaler.yaml similarity index 97% rename from charts/vela-core/templates/defwithtemplate/cpuhpa.yaml rename to charts/vela-core/templates/defwithtemplate/cpuscaler.yaml index 70867d7c1..9e43b0309 100644 --- a/charts/vela-core/templates/defwithtemplate/cpuhpa.yaml +++ b/charts/vela-core/templates/defwithtemplate/cpuscaler.yaml @@ -13,7 +13,7 @@ spec: schematic: cue: template: | - outputs: cpuhpa: { + outputs: cpuscaler: { apiVersion: "autoscaling/v2beta2" kind: "HorizontalPodAutoscaler" metadata: name: context.name diff --git a/charts/vela-core/templates/defwithtemplate/manualscale.yaml b/charts/vela-core/templates/defwithtemplate/scaler.yaml similarity index 100% rename from charts/vela-core/templates/defwithtemplate/manualscale.yaml rename to charts/vela-core/templates/defwithtemplate/scaler.yaml diff --git a/docs/en/end-user/traits/scale.md b/docs/en/end-user/traits/scaler.md similarity index 100% rename from docs/en/end-user/traits/scale.md rename to docs/en/end-user/traits/scaler.md diff --git a/docs/sidebars.js b/docs/sidebars.js index 0c4d050a0..4c5319175 100644 --- a/docs/sidebars.js +++ b/docs/sidebars.js @@ -36,7 +36,7 @@ module.exports = { { 'Traits': [ 'end-user/traits/ingress', - 'end-user/traits/scale', + 'end-user/traits/scaler', 'end-user/traits/labels', 'end-user/traits/sidecar', 'end-user/traits/volumes', diff --git a/hack/vela-templates/cue/cpuhpa.cue b/hack/vela-templates/cue/cpuscaler.cue similarity index 97% rename from hack/vela-templates/cue/cpuhpa.cue rename to hack/vela-templates/cue/cpuscaler.cue index a031a0453..462f7c435 100644 --- a/hack/vela-templates/cue/cpuhpa.cue +++ b/hack/vela-templates/cue/cpuscaler.cue @@ -1,4 +1,4 @@ -outputs: cpuhpa: { +outputs: cpuscaler: { apiVersion: "autoscaling/v2beta2" kind: "HorizontalPodAutoscaler" metadata: name: context.name diff --git a/hack/vela-templates/cue/manualscale.cue b/hack/vela-templates/cue/scaler.cue similarity index 100% rename from hack/vela-templates/cue/manualscale.cue rename to hack/vela-templates/cue/scaler.cue diff --git a/hack/vela-templates/definitions/cpuhpa.yaml b/hack/vela-templates/definitions/cpuscaler.yaml similarity index 100% rename from hack/vela-templates/definitions/cpuhpa.yaml rename to hack/vela-templates/definitions/cpuscaler.yaml diff --git a/hack/vela-templates/definitions/manualscale.yaml b/hack/vela-templates/definitions/scaler.yaml similarity index 100% rename from hack/vela-templates/definitions/manualscale.yaml rename to hack/vela-templates/definitions/scaler.yaml