diff --git a/apis/v1alpha1/ack-generate-metadata.yaml b/apis/v1alpha1/ack-generate-metadata.yaml index 840f09d..4fce5c6 100755 --- a/apis/v1alpha1/ack-generate-metadata.yaml +++ b/apis/v1alpha1/ack-generate-metadata.yaml @@ -1,9 +1,9 @@ ack_generate_info: - build_date: "2025-05-13T18:54:04Z" - build_hash: 55bf57b2806c33a7fcd074be403f26ce3f8e58db + build_date: "2025-05-24T00:39:04Z" + build_hash: 66a58d259146834e61b211a9a01609beaa58ef77 go_version: go1.24.2 - version: v0.46.2 -api_directory_checksum: 4095ac70f994fe7a801e82ebc085fb88e449ef7f + version: v0.47.1 +api_directory_checksum: fdaeeb99359feab7411a0ea7a1546597978675dd api_version: v1alpha1 aws_sdk_go_version: 1.32.6 generator_config_info: diff --git a/apis/v1alpha1/metric_alarm.go b/apis/v1alpha1/metric_alarm.go index b947b13..3bc9a4e 100644 --- a/apis/v1alpha1/metric_alarm.go +++ b/apis/v1alpha1/metric_alarm.go @@ -213,6 +213,8 @@ type MetricAlarmSpec struct { // +kubebuilder:validation:Required Name *string `json:"name"` // The namespace for the metric associated specified in MetricName. + // + // Regex Pattern: `^[^:]` Namespace *string `json:"namespace,omitempty"` // The actions to execute when this alarm transitions to an OK state from any // other state. Each action is specified as an Amazon Resource Name (ARN). Valid diff --git a/config/controller/kustomization.yaml b/config/controller/kustomization.yaml index 5d1c617..e463bff 100644 --- a/config/controller/kustomization.yaml +++ b/config/controller/kustomization.yaml @@ -6,4 +6,4 @@ kind: Kustomization images: - name: controller newName: public.ecr.aws/aws-controllers-k8s/cloudwatch-controller - newTag: 1.0.8 + newTag: 1.0.9 diff --git a/config/crd/bases/cloudwatch.services.k8s.aws_metricalarms.yaml b/config/crd/bases/cloudwatch.services.k8s.aws_metricalarms.yaml index 3a4b5dd..58f433e 100644 --- a/config/crd/bases/cloudwatch.services.k8s.aws_metricalarms.yaml +++ b/config/crd/bases/cloudwatch.services.k8s.aws_metricalarms.yaml @@ -354,8 +354,10 @@ spec: characters type: string namespace: - description: The namespace for the metric associated specified in - MetricName. + description: |- + The namespace for the metric associated specified in MetricName. + + Regex Pattern: `^[^:]` type: string oKActions: description: |- diff --git a/go.mod b/go.mod index ab4af09..47e3a2e 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.24.0 toolchain go1.24.1 require ( - github.com/aws-controllers-k8s/runtime v0.46.1 + github.com/aws-controllers-k8s/runtime v0.47.0 github.com/aws/aws-sdk-go v1.49.0 github.com/aws/aws-sdk-go-v2 v1.36.0 github.com/aws/aws-sdk-go-v2/service/cloudwatch v1.43.12 diff --git a/go.sum b/go.sum index 1c1cbdd..20845e1 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,5 @@ -github.com/aws-controllers-k8s/runtime v0.46.1 h1:61RU6uYiFSp0cDhv52vAmaPzrebzoudtsp1fGkk6iLk= -github.com/aws-controllers-k8s/runtime v0.46.1/go.mod h1:G2UMBKA7qgXG4JV16NTIUp715uqvUEvWaa7TG1I527U= +github.com/aws-controllers-k8s/runtime v0.47.0 h1:pWzMLrwAFrAmMuSukYDLrQp5Yw594w1ke6XWGmI3uyo= +github.com/aws-controllers-k8s/runtime v0.47.0/go.mod h1:G2UMBKA7qgXG4JV16NTIUp715uqvUEvWaa7TG1I527U= github.com/aws/aws-sdk-go v1.49.0 h1:g9BkW1fo9GqKfwg2+zCD+TW/D36Ux+vtfJ8guF4AYmY= github.com/aws/aws-sdk-go v1.49.0/go.mod h1:LF8svs817+Nz+DmiMQKTO3ubZ/6IaTpq3TjupRn3Eqk= github.com/aws/aws-sdk-go-v2 v1.36.0 h1:b1wM5CcE65Ujwn565qcwgtOTT1aT4ADOHHgglKjG7fk= diff --git a/helm/Chart.yaml b/helm/Chart.yaml index 8c578df..d63a5a5 100644 --- a/helm/Chart.yaml +++ b/helm/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v1 name: cloudwatch-chart description: A Helm chart for the ACK service controller for Amazon CloudWatch (CloudWatch) -version: 1.0.8 -appVersion: 1.0.8 +version: 1.0.9 +appVersion: 1.0.9 home: https://github.com/aws-controllers-k8s/cloudwatch-controller icon: https://raw.githubusercontent.com/aws/eks-charts/master/docs/logo/aws.png sources: diff --git a/helm/crds/cloudwatch.services.k8s.aws_metricalarms.yaml b/helm/crds/cloudwatch.services.k8s.aws_metricalarms.yaml index 3d2c202..2646092 100644 --- a/helm/crds/cloudwatch.services.k8s.aws_metricalarms.yaml +++ b/helm/crds/cloudwatch.services.k8s.aws_metricalarms.yaml @@ -354,8 +354,10 @@ spec: characters type: string namespace: - description: The namespace for the metric associated specified in - MetricName. + description: |- + The namespace for the metric associated specified in MetricName. + + Regex Pattern: `^[^:]` type: string oKActions: description: |- diff --git a/helm/templates/NOTES.txt b/helm/templates/NOTES.txt index 4340d79..5a77332 100644 --- a/helm/templates/NOTES.txt +++ b/helm/templates/NOTES.txt @@ -1,5 +1,5 @@ {{ .Chart.Name }} has been installed. -This chart deploys "public.ecr.aws/aws-controllers-k8s/cloudwatch-controller:1.0.8". +This chart deploys "public.ecr.aws/aws-controllers-k8s/cloudwatch-controller:1.0.9". Check its status by running: kubectl --namespace {{ .Release.Namespace }} get pods -l "app.kubernetes.io/instance={{ .Release.Name }}" diff --git a/helm/values.yaml b/helm/values.yaml index e21a075..b04d2d1 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -4,7 +4,7 @@ image: repository: public.ecr.aws/aws-controllers-k8s/cloudwatch-controller - tag: 1.0.8 + tag: 1.0.9 pullPolicy: IfNotPresent pullSecrets: []