Skip to content

Commit

Permalink
copy crd to helm charts
Browse files Browse the repository at this point in the history
Signed-off-by: odubajDT <[email protected]>
  • Loading branch information
odubajDT committed Aug 27, 2024
1 parent 3f8026e commit d45b0a6
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/docs/reference/api-reference/metrics/v1/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ _Appears in:_
| `type` _string_ | Type represents the provider type. This can be one of cortex, datadog, dql, dynatrace, prometheus or thanos. || x | Optional: {} <br />Pattern: `cortex|datadog|dql|dynatrace|prometheus|thanos` <br /> |
| `targetServer` _string_ | TargetServer defines URL (including port and protocol) at which the metrics provider is reachable. || x | |
| `secretKeyRef` _[SecretKeySelector](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#secretkeyselector-v1-core)_ | SecretKeyRef defines an optional secret for access credentials to the metrics provider. ||| Optional: {} <br /> |
| `insecureSkipTlsVerify` _boolean_ | InsecureSkipTlsVerify skips verification of the tls certificate |false|| |
| `insecureSkipTlsVerify` _boolean_ | InsecureSkipTlsVerify skips verification of the tls certificate when fetching metrics |false|| |


#### ObjectReference
Expand Down
2 changes: 1 addition & 1 deletion metrics-operator/api/v1/keptnmetricsprovider_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ type KeptnMetricsProviderSpec struct {
// SecretKeyRef defines an optional secret for access credentials to the metrics provider.
// +optional
SecretKeyRef corev1.SecretKeySelector `json:"secretKeyRef,omitempty"`
// InsecureSkipTlsVerify skips verification of the tls certificate
// InsecureSkipTlsVerify skips verification of the tls certificate when fetching metrics
// +kubebuilder:default:=false
// +optional
InsecureSkipTlsVerify bool `json:"insecureSkipTlsVerify,omitempty"`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ spec:
spec:
description: KeptnMetricsProviderSpec defines the desired state of KeptnMetricsProvider
properties:
insecureSkipTlsVerify:
default: false
description: InsecureSkipTlsVerify skips verification of the tls certificate
type: boolean
secretKeyRef:
description: SecretKeyRef defines an optional secret for access credentials
to the metrics provider.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ spec:
insecureSkipTlsVerify:
default: false
description: InsecureSkipTlsVerify skips verification of the tls certificate
when fetching metrics
type: boolean
secretKeyRef:
description: SecretKeyRef defines an optional secret for access credentials
Expand Down

0 comments on commit d45b0a6

Please sign in to comment.