Skip to content

Commit

Permalink
removing pre-hook
Browse files Browse the repository at this point in the history
  • Loading branch information
mittal-ishaan committed Oct 29, 2024
1 parent d5e7154 commit e684ad7
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@ apiVersion: security.openshift.io/v1
kind: SecurityContextConstraints
metadata:
name: {{ template "cost-analyzer.networkCostsName" . }}
# Add a pre-install hook to the Security Context Constraints (SCC) to ensure it is created before the network-costs DaemonSet.
# This is crucial because the DaemonSet relies on the SCC for proper security configurations.
# By using a pre-install hook, we guarantee that the SCC is in place before the DaemonSet is deployed, preventing potential installation failures.
# https://helm.sh/docs/topics/charts_hooks/#the-available-hooks
annotations:
helm.sh/hook: pre-install
priority: 10
allowPrivilegedContainer: true
allowHostDirVolumePlugin: true
Expand Down

0 comments on commit e684ad7

Please sign in to comment.