Skip to content

Commit

Permalink
Merge pull request #140 from projectsyn/fix/local-compile
Browse files Browse the repository at this point in the history
Delete broken SCC manifest generated by Helm chart as postprocessing filter
  • Loading branch information
simu authored Nov 17, 2023
2 parents 3c4540b + c411d1e commit 78c21d9
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
7 changes: 3 additions & 4 deletions class/rook-ceph.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@ parameters:
output_path: ${_base_directory}/manifests/${rook_ceph:images:rook:tag}/toolbox.yaml

compile:
- input_type: remove
input_paths:
- rook-ceph/helmcharts/rook-ceph/${rook_ceph:charts:rook-ceph}/templates/securityContextConstraints.yaml
output_path: .
- input_paths:
- rook-ceph/component/app.jsonnet
input_type: jsonnet
Expand All @@ -59,6 +55,9 @@ parameters:
commodore:
postprocess:
filters:
- type: jsonnet
path: rook-ceph/01_rook_ceph_helmchart/rook-ceph/templates/
filter: postprocess/delete_helm_scc.jsonnet
- type: jsonnet
path: rook-ceph/01_rook_ceph_helmchart/rook-ceph/templates/
filter: postprocess/patch_operator_deployment.jsonnet
3 changes: 3 additions & 0 deletions postprocess/delete_helm_scc.jsonnet
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
securityContextConstraints: [],
}

0 comments on commit 78c21d9

Please sign in to comment.