You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The newly added initContainer kubescape-plugin does not specify an imagePullPolicy, which may lead to inconsistent image versions being used. Consider adding imagePullPolicy: Always to the container spec.
The headlamp-plugins volume is configured as an emptyDir, making plugin data ephemeral. If you need to persist plugins across pod restarts, consider using a PersistentVolumeClaim.
The clusterName is set to "${cluster_name}", which may not be rendered by Helm or Kustomize without proper templating. Ensure a mechanism is in place to inject the actual cluster name value.
Why: The CPU resource units 0.4m and 0.1m are invalid because fractional millicores are not supported; changing them to 400m and 100m ensures the values parse correctly and reflect the intended capacity.
Medium
Security
Pin plugin image tag
Avoid using the latest tag for mutable images; pin to a fixed version or digest to ensure reproducible and secure deployments.
Why: Using the latest tag leads to non-reproducible and potentially insecure deployments; pinning to a specific version or digest ensures consistency and traceability.
Currently paused, because it consumes a lot of resources.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Type
Enhancement
Description
Add Kubescape Helm repository resource.
Introduce Kubescape operator HelmRelease config.
Integrate Kubescape base in cluster overlay.
Update Headlamp plugin initContainer deployment.
Changes walkthrough 📝
helmrepo-kubescape.yaml
Add Kubescape HelmRepository resourceflux/sources/helmrepo-kubescape.yaml
helmrelease.yaml
Introduce Kubescape operator HelmReleasesecurity/base/kubescape/helmrelease.yaml
kustomization.yaml
Add Kubescape base kustomizationsecurity/base/kubescape/kustomization.yaml
kustomization.yaml
Include Kubescape in cluster overlaysecurity/mycluster-0/kustomization.yaml
helmrelease.yaml
Update Headlamp with Kubescape plugintooling/base/headlamp/helmrelease.yaml