Skip to content

Commit 39c989c

Browse files
committed
add branch to disable install CRDs
Signed-off-by: Dávid Szakállas <[email protected]>
1 parent 0de0397 commit 39c989c

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

charts/policy-controller/templates/crds/clusterimagepolicy.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14+
{{- if .Values.installCRDs }}
1415
apiVersion: apiextensions.k8s.io/v1
1516
kind: CustomResourceDefinition
1617
metadata:
@@ -702,3 +703,4 @@ spec:
702703
description: ObservedGeneration is the 'Generation' of the Service that was last processed by the controller.
703704
type: integer
704705
format: int64
706+
{{- end }}

charts/policy-controller/templates/crds/trustroots.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14+
{{- if .Values.installCRDs }}
1415
apiVersion: apiextensions.k8s.io/v1
1516
kind: CustomResourceDefinition
1617
metadata:
@@ -180,3 +181,4 @@ spec:
180181
description: ObservedGeneration is the 'Generation' of the Service that was last processed by the controller.
181182
type: integer
182183
format: int64
184+
{{- end }}

0 commit comments

Comments
 (0)