Contact our team to test out this Helm chart and related images for free. Please also indicate any other images you would like to evaluate.
Overview based on grafana-operator-iamguarded
Grafana Operator manages Grafana instances, dashboards and datasources through Kubernetes custom resources.
Chainguard Containers are regularly-updated, secure-by-default container images.
For those with access, this container image is available on cgr.dev:
Be sure to replace the ORGANIZATION placeholder with the name used for your organization's private repository within the Chainguard Registry.
grafana-operator-iamguarded is the IAMGuarded variant of the Grafana Operator, which manages Grafana instances, dashboards, and datasources through Kubernetes custom resources. It replaces the bitnami/grafana-operator image in the IAMGuarded grafana-operator Helm chart, Chainguard's fork of the Bitnami chart, and runs as the nonroot 1001 user with its files under /opt/iamguarded.
The image keeps the launch configuration the chart relies on. The entrypoint is grafana-operator, resolved from PATH, so the chart's command: [grafana-operator] works unchanged, and the operator runs on the chart's read-only root filesystem. The binary is also available at /opt/iamguarded/grafana-operator/bin/grafana-operator, and the working directory is /opt/iamguarded/grafana-operator.
Where Bitnami's image uses /opt/bitnami and BITNAMI_APP_NAME, this image uses /opt/iamguarded and IAMGUARDED_APP_NAME. Bitnami's image also ships the grafonnet library at /opt/jsonnet/grafonnet. This image does not, because the operator resolves import 'grafonnet/grafana.libsonnet' in jsonnet dashboards from the copy of grafonnet built into the binary, so jsonnet dashboards keep working unchanged. Like other Chainguard Containers, the image contains no shell or package manager.
You need a Kubernetes cluster, Helm, kubectl, and permission to install custom resource definitions and cluster RBAC. Configure the cluster to authenticate to Chainguard's registry so it can pull cgr.dev/ORGANIZATION/grafana-operator-iamguarded and cgr.dev/ORGANIZATION/grafana-iamguarded.
Point the chart's operator image at this image, and its Grafana image at grafana-iamguarded, which the chart uses for the Grafana instance it creates. Replace ORGANIZATION with your organization's registry repository name:
The chart pins both images by the digests it was tested with, so the values file only points the repositories at your organization. To follow the latest tag instead, set tag: latest and digest: "" on each image.
Install the chart from Chainguard's registry, where it is delivered with your images:
The chart grants the operator RBAC for every Grafana Operator resource, including GrafanaServiceAccount, GrafanaManifest, and GrafanaSilence.
The chart installs the operator's custom resource definitions, matching the operator release in this image, from its crds/ directory. Helm installs them on the first install and leaves them in place afterwards, so apply newer ones with kubectl apply --server-side when you upgrade the operator.
The chart creates a Grafana resource, which the operator turns into a running Grafana instance. Wait until the operator reports it as ready:
For instructions on configuring authentication and pull credentials for IAMGuarded images, refer to How to Use Chainguard Helm Charts.
The operator runs as the nonroot 1001 user with a read-only root filesystem and no shell. By default it watches Grafana resources in every namespace with cluster-wide RBAC. To keep it to the release namespace, set operator.namespaceScope: true in the values file, and the chart grants a namespaced Role instead.
values.yaml, for all chart optionsChainguard's free tier of Starter container images are built with Wolfi, our minimal Linux undistro.
All other Chainguard Containers are built with Chainguard OS, Chainguard's minimal Linux operating system designed to produce container images that meet the requirements of a more secure software supply chain.
The main features of Chainguard Containers include:
For cases where you need container images with shells and package managers to build or debug, most Chainguard Containers come paired with a development, or -dev, variant.
In all other cases, including Chainguard Containers tagged as :latest or with a specific version number, the container images include only an open-source application and its runtime dependencies. These minimal container images typically do not contain a shell or package manager.
Although the -dev container image variants have similar security features as their more minimal versions, they include additional software that is typically not necessary in production environments. We recommend using multi-stage builds to copy artifacts from the -dev variant into a more minimal production image.
To improve security, Chainguard Containers include only essential dependencies. Need more packages? Chainguard customers can use Custom Assembly to add packages, either through the Console, chainctl, or API.
To use Custom Assembly in the Chainguard Console: navigate to the image you'd like to customize in your Organization's list of images, and click on the Customize image button at the top of the page.
Refer to our Chainguard Containers documentation on Chainguard Academy. Chainguard also offers VMs and Libraries — contact us for access.
This software listing is packaged by Chainguard. The trademarks set forth in this offering are owned by their respective companies, and use of them does not imply any affiliation, sponsorship, or endorsement by such companies.
4.10.1
4.10
4
Helm charts contain references to Chainguard Container images. The following images are referenced in the chart: