Skip to content

Commit

Permalink
feat(metrics-operator): use v1 API in operator logic (#3269)
Browse files Browse the repository at this point in the history
Signed-off-by: odubajDT <[email protected]>
Signed-off-by: odubajDT <[email protected]>
  • Loading branch information
odubajDT authored Mar 21, 2024
1 parent d034a4f commit e9a584b
Show file tree
Hide file tree
Showing 137 changed files with 273 additions and 273 deletions.
32 changes: 16 additions & 16 deletions .github/scripts/.helm-tests/default/result.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8244,7 +8244,7 @@ spec:
type: object
type: object
served: true
storage: false
storage: true
subresources:
status: {}
- additionalPrinterColumns:
Expand Down Expand Up @@ -8572,7 +8572,7 @@ spec:
type: object
type: object
served: true
storage: true
storage: false
subresources:
status: {}
---
Expand Down Expand Up @@ -8933,7 +8933,7 @@ spec:
type: string
type: object
served: true
storage: false
storage: true
subresources:
status: {}
- name: v1alpha3
Expand Down Expand Up @@ -9603,7 +9603,7 @@ spec:
type: string
type: object
served: true
storage: true
storage: false
subresources:
status: {}
---
Expand Down Expand Up @@ -9690,7 +9690,7 @@ spec:
type: string
type: object
served: true
storage: false
storage: true
subresources:
status: {}
- additionalPrinterColumns:
Expand Down Expand Up @@ -9812,7 +9812,7 @@ spec:
type: string
type: object
served: true
storage: true
storage: false
subresources:
status: {}
---
Expand Down Expand Up @@ -10015,7 +10015,7 @@ spec:
type: object
type: object
served: true
storage: false
storage: true
subresources:
status: {}
- additionalPrinterColumns:
Expand Down Expand Up @@ -10525,7 +10525,7 @@ spec:
type: object
type: object
served: true
storage: true
storage: false
subresources:
status: {}
---
Expand Down Expand Up @@ -10620,7 +10620,7 @@ spec:
type: string
type: object
served: true
storage: false
storage: true
subresources:
status: {}
- name: v1alpha2
Expand Down Expand Up @@ -10813,7 +10813,7 @@ spec:
type: string
type: object
served: true
storage: true
storage: false
subresources:
status: {}
---
Expand Down Expand Up @@ -12706,14 +12706,14 @@ webhooks:
service:
name: 'metrics-webhook-service'
namespace: 'helmtests'
path: /validate-metrics-keptn-sh-v1beta1-keptnmetric
path: /validate-metrics-keptn-sh-v1-keptnmetric
failurePolicy: Fail
name: vkeptnmetric.kb.io
rules:
- apiGroups:
- metrics.keptn.sh
apiVersions:
- v1beta1
- v1
operations:
- CREATE
- UPDATE
Expand All @@ -12726,14 +12726,14 @@ webhooks:
service:
name: 'metrics-webhook-service'
namespace: 'helmtests'
path: /validate-metrics-keptn-sh-v1beta1-analysis
path: /validate-metrics-keptn-sh-v1-analysis
failurePolicy: Fail
name: vanalysis.kb.io
rules:
- apiGroups:
- metrics.keptn.sh
apiVersions:
- v1beta1
- v1
operations:
- CREATE
- UPDATE
Expand All @@ -12746,14 +12746,14 @@ webhooks:
service:
name: 'metrics-webhook-service'
namespace: 'helmtests'
path: /validate-metrics-keptn-sh-v1beta1-analysisdefinition
path: /validate-metrics-keptn-sh-v1-analysisdefinition
failurePolicy: Fail
name: vanalysisdefinition.kb.io
rules:
- apiGroups:
- metrics.keptn.sh
apiVersions:
- v1beta1
- v1
operations:
- CREATE
- UPDATE
Expand Down
32 changes: 16 additions & 16 deletions .github/scripts/.helm-tests/local-global-precedence/result.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8356,7 +8356,7 @@ spec:
type: object
type: object
served: true
storage: false
storage: true
subresources:
status: {}
- additionalPrinterColumns:
Expand Down Expand Up @@ -8684,7 +8684,7 @@ spec:
type: object
type: object
served: true
storage: true
storage: false
subresources:
status: {}
---
Expand Down Expand Up @@ -9051,7 +9051,7 @@ spec:
type: string
type: object
served: true
storage: false
storage: true
subresources:
status: {}
- name: v1alpha3
Expand Down Expand Up @@ -9721,7 +9721,7 @@ spec:
type: string
type: object
served: true
storage: true
storage: false
subresources:
status: {}
---
Expand Down Expand Up @@ -9814,7 +9814,7 @@ spec:
type: string
type: object
served: true
storage: false
storage: true
subresources:
status: {}
- additionalPrinterColumns:
Expand Down Expand Up @@ -9936,7 +9936,7 @@ spec:
type: string
type: object
served: true
storage: true
storage: false
subresources:
status: {}
---
Expand Down Expand Up @@ -10145,7 +10145,7 @@ spec:
type: object
type: object
served: true
storage: false
storage: true
subresources:
status: {}
- additionalPrinterColumns:
Expand Down Expand Up @@ -10655,7 +10655,7 @@ spec:
type: object
type: object
served: true
storage: true
storage: false
subresources:
status: {}
---
Expand Down Expand Up @@ -10756,7 +10756,7 @@ spec:
type: string
type: object
served: true
storage: false
storage: true
subresources:
status: {}
- name: v1alpha2
Expand Down Expand Up @@ -10949,7 +10949,7 @@ spec:
type: string
type: object
served: true
storage: true
storage: false
subresources:
status: {}
---
Expand Down Expand Up @@ -13070,14 +13070,14 @@ webhooks:
service:
name: 'metrics-webhook-service'
namespace: 'helmtests'
path: /validate-metrics-keptn-sh-v1beta1-keptnmetric
path: /validate-metrics-keptn-sh-v1-keptnmetric
failurePolicy: Fail
name: vkeptnmetric.kb.io
rules:
- apiGroups:
- metrics.keptn.sh
apiVersions:
- v1beta1
- v1
operations:
- CREATE
- UPDATE
Expand All @@ -13090,14 +13090,14 @@ webhooks:
service:
name: 'metrics-webhook-service'
namespace: 'helmtests'
path: /validate-metrics-keptn-sh-v1beta1-analysis
path: /validate-metrics-keptn-sh-v1-analysis
failurePolicy: Fail
name: vanalysis.kb.io
rules:
- apiGroups:
- metrics.keptn.sh
apiVersions:
- v1beta1
- v1
operations:
- CREATE
- UPDATE
Expand All @@ -13110,14 +13110,14 @@ webhooks:
service:
name: 'metrics-webhook-service'
namespace: 'helmtests'
path: /validate-metrics-keptn-sh-v1beta1-analysisdefinition
path: /validate-metrics-keptn-sh-v1-analysisdefinition
failurePolicy: Fail
name: vanalysisdefinition.kb.io
rules:
- apiGroups:
- metrics.keptn.sh
apiVersions:
- v1beta1
- v1
operations:
- CREATE
- UPDATE
Expand Down
Loading

0 comments on commit e9a584b

Please sign in to comment.