Skip to content

Commit

Permalink
fix values reference
Browse files Browse the repository at this point in the history
Signed-off-by: anushkamittal2001 <[email protected]>
  • Loading branch information
anushkamittal2001 committed Feb 22, 2024
1 parent 563b18d commit 193881b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions charts/nirmata/charts/crds/templates/crds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1940,7 +1940,7 @@ kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.12.0
{{- with .Values.crds.annotations }}
{{- with .Values.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
labels:
Expand Down Expand Up @@ -2268,17 +2268,17 @@ spec:
storage: true
subresources: {}
---
{{- if and (eq .Values.reportsController.enabled true) (eq .Values.crds.clusterbackgroundscanreports false) }}
{{- if and (eq .Values.reportsController.enabled true) (eq .Values.clusterbackgroundscanreports false) }}
{{- fail "CRD backgroundscanreports disabled while reportsController enabled" }}
{{- end }}

{{- if .Values.crds.clusterbackgroundscanreports }}
{{- if .Values.clusterbackgroundscanreports }}
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.12.0
{{- with .Values.crds.annotations }}
{{- with .Values.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
labels:
Expand Down Expand Up @@ -3545,17 +3545,17 @@ spec:
subresources: {}
{{- end }}
---
{{- if and (eq .Values.cleanupController.enabled true) (eq .Values.crds.clustercleanuppolicies false) }}
{{- if and (eq .Values.cleanupController.enabled true) (eq .Values.clustercleanuppolicies false) }}
{{- fail "CRD clustercleanuppolicies disabled while cleanupController enabled" }}
{{- end }}

{{- if .Values.crds.clustercleanuppolicies }}
{{- if .Values.clustercleanuppolicies }}
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.12.0
{{- with .Values.crds.annotations }}
{{- with .Values.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
labels:
Expand Down

0 comments on commit 193881b

Please sign in to comment.