Skip to content

Commit

Permalink
Regenerate all bundle and manifests
Browse files Browse the repository at this point in the history
  • Loading branch information
masterzen committed Feb 21, 2025
1 parent 13e7438 commit 497b0e1
Show file tree
Hide file tree
Showing 7 changed files with 44 additions and 36 deletions.
6 changes: 4 additions & 2 deletions apis/datadoghq/v1alpha1/watermarkpodautoscaler_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,12 +153,14 @@ type TLSConfig struct {
// InsecureSkipVerify when true disable verifying server certificate
InsecureSkipVerify bool `json:"insecureSkipVerify,omitempty"`

// MinVersion, minimum TLS version, defaults to Go default which is TLS1.2
// MinVersion, mininum TLS version to accept for the connection. If not set will default to Go default (TLS1.2)
// +optional
// +kubebuilder:validation:Pattern:=`^TLS1[0-3]$`
MinVersion string `json:"minVersion,omitempty"`

// MinVersion, maximum TLS version, defaults to Go default which is TLS1.3
// MaxVersion, maximum TLS version to accept for the connection. If not set will default to Go default (TLS1.2)
// +optional
// +kubebuilder:validation:Pattern:=`^TLS1[0-3]$`
MaxVersion string `json:"maxVersion,omitempty"`
}

Expand Down
4 changes: 2 additions & 2 deletions apis/datadoghq/v1alpha1/zz_generated.openapi.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

46 changes: 24 additions & 22 deletions bundle/manifests/datadoghq.com_watermarkpodautoscalers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ spec:
- jsonPath: .status.currentMetrics[*].external.currentValue..
name: value
type: string
- jsonPath: .spec.metrics[*].external.highWatermark..
- jsonPath: .spec..highWatermark
name: high watermark
type: string
- jsonPath: .spec.metrics[*].external.lowWatermark..
- jsonPath: .spec..lowWatermark
name: low watermark
type: string
- jsonPath: .metadata.creationTimestamp
Expand Down Expand Up @@ -313,39 +313,41 @@ spec:
description: TargetType is the type of target the recommender
service should use.
type: string
url:
description: URL of the recommender service to use
type: string
tlsConfig:
description: TLS settings to use when connecting to the recommender service
description: TLS Configuration for the http client allowing to
set up a client certificate or server CA certificate
properties:
caFile:
description: CAFile is a path to a CA certificate
type: string
description: Path to the CA certificate file to validate the server certificate
certFile:
description: CertFile is a path to a client Cert
type: string
description: Path to the client certificate to use for client cert authentication to the server
insecureSkipVerify:
description: InsecureSkipVerify when true disable verifying
server certificate
type: boolean
keyFile:
description: Keyfile is a path to the client certificate key
(mandatory if CertFile is set)
type: string
description: Path to the client private key to use for client cert authentication to the server
serverName:
type: string
description: ServerName extension to indicate the name of the server
insecureSkipVerify:
maxVersion:
description: MaxVersion, maximum TLS version to accept for
the connection. If not set will default to Go default (TLS1.2)
pattern: ^TLS1[0-3]$
type: string
description: Disable validation of the server certificate
minVersion:
type: string
description: MinVesion, mininum TLS version to accept for
the connection. If not set will default to Go default (TLS1.2)
pattern: ^TLS1[0-3]$
description: Minimum TLS version to use for the connection. If not set will default to TLS12.
maxVersion:
type: string
pattern: ^TLS1[0-3]$
description: Maximum TLS version to use for the connection. If not set will default to TLS12.
serverName:
description: ServerName is a settings to activate TLS SNI
type: string
type: object
anyOf:
- required: [caFile,certFile,keyFile]
- required: [caFile]
url:
description: URL of the recommender service to use
type: string
required:
- url
type: object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ metadata:
capabilities: Basic Install
operators.operatorframework.io/builder: operator-sdk-v1.23.0
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
name: watermarkpodautoscaler.v0.9.0-rc.1
name: watermarkpodautoscaler.v0.9.0-rc.6-13e7438
namespace: placeholder
spec:
apiservicedefinitions: {}
Expand Down Expand Up @@ -175,7 +175,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.name
image: gcr.io/datadoghq/watermarkpodautoscaler:v0.9.0-rc.1
image: gcr.io/datadoghq/watermarkpodautoscaler:v0.9.0-rc.6-13e7438
imagePullPolicy: IfNotPresent
livenessProbe:
httpGet:
Expand Down Expand Up @@ -249,4 +249,4 @@ spec:
maturity: alpha
provider:
name: Datadog
version: 0.9.0-rc.1
version: 0.9.0-rc.6-13e7438
10 changes: 6 additions & 4 deletions config/crd/bases/v1/datadoghq.com_watermarkpodautoscalers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -332,12 +332,14 @@ spec:
(mandatory if CertFile is set)
type: string
maxVersion:
description: MinVersion, maximum TLS version, defaults to
Go default which is TLS1.3
description: MaxVersion, maximum TLS version to accept for
the connection. If not set will default to Go default (TLS1.2)
pattern: ^TLS1[0-3]$
type: string
minVersion:
description: MinVersion, minimum TLS version, defaults to
Go default which is TLS1.2
description: MinVesion, mininum TLS version to accept for
the connection. If not set will default to Go default (TLS1.2)
pattern: ^TLS1[0-3]$
type: string
serverName:
description: ServerName is a settings to activate TLS SNI
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -319,10 +319,12 @@ spec:
description: Keyfile is a path to the client certificate key (mandatory if CertFile is set)
type: string
maxVersion:
description: MinVersion, maximum TLS version, defaults to Go default which is TLS1.3
description: MaxVersion, maximum TLS version to accept for the connection. If not set will default to Go default (TLS1.2)
pattern: ^TLS1[0-3]$
type: string
minVersion:
description: MinVersion, minimum TLS version, defaults to Go default which is TLS1.2
description: MinVesion, mininum TLS version to accept for the connection. If not set will default to Go default (TLS1.2)
pattern: ^TLS1[0-3]$
type: string
serverName:
description: ServerName is a settings to activate TLS SNI
Expand Down
2 changes: 1 addition & 1 deletion config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ resources:
images:
- name: gcr.io/datadoghq/watermarkpodautoscaler
newName: gcr.io/datadoghq/watermarkpodautoscaler
newTag: v0.9.0-rc.1
newTag: v0.9.0-rc.6-13e7438
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

0 comments on commit 497b0e1

Please sign in to comment.