* Add support for SPIRE deployment on OpenShift 4.13 Signed-off-by: Mariusz Sabath <[email protected]> Co-authored-by: Trilok Geer <[email protected]> Co-authored-by: Andrew Block <[email protected]> * Render README Signed-off-by: Mariusz Sabath <[email protected]> * Fix tornjak HTTP/HTTPS port values Signed-off-by: Mariusz Sabath <[email protected]> * Update Frontend README Signed-off-by: Mariusz Sabath <[email protected]> * Add env. variable to Agent to inject node name Signed-off-by: Mariusz Sabath <[email protected]> * Implement Marco's suggestion on CSI CSS version Signed-off-by: Mariusz Sabath <[email protected]> * Add MY_NODE_NAME env. variable to agent for openshift example Signed-off-by: Mariusz Sabath <[email protected]> * Move Openshift examples to dedicated directory Signed-off-by: Mariusz Sabath <[email protected]> * Simplified the install instructions Signed-off-by: Mariusz Sabath <[email protected]> * Suggested changes Signed-off-by: Kevin Fox <[email protected]> * Apply suggestions from code review Co-authored-by: Andrew Block <[email protected]> Signed-off-by: kfox1111 <[email protected]> * Update docs, fix default for backwards compat Signed-off-by: Kevin Fox <[email protected]> * Don't recommend experimental features by default, dont debug helm install by default and explain how to add additional features Signed-off-by: Kevin Fox <[email protected]> * Add notes about openshift to the project for other reviewers. Signed-off-by: Kevin Fox <[email protected]> * Fix incorrectly reverted change Signed-off-by: Kevin Fox <[email protected]> * Correct notes Signed-off-by: Kevin Fox <[email protected]> * Update default Signed-off-by: Kevin Fox <[email protected]> * Fix issue created from bad merge conflict resolution Signed-off-by: kfox1111 <[email protected]> * Update examples/openshift/openshift-values.yaml Co-authored-by: kfox1111 <[email protected]> Signed-off-by: Mariusz Sabath <[email protected]> * Update examples/openshift/openshift-values.yaml Co-authored-by: kfox1111 <[email protected]> Signed-off-by: Mariusz Sabath <[email protected]> * Update examples/openshift/openshift-values.yaml Co-authored-by: kfox1111 <[email protected]> Signed-off-by: Mariusz Sabath <[email protected]> * Update examples/openshift/openshift-values.yaml Co-authored-by: kfox1111 <[email protected]> Signed-off-by: Mariusz Sabath <[email protected]> --------- Signed-off-by: Mariusz Sabath <[email protected]> Signed-off-by: Kevin Fox <[email protected]> Signed-off-by: kfox1111 <[email protected]> Co-authored-by: Trilok Geer <[email protected]> Co-authored-by: Andrew Block <[email protected]> Co-authored-by: Kevin Fox <[email protected]>
spire-agent
A Helm chart to install the SPIRE agent.
Homepage: https://github.com/spiffe/helm-charts/tree/main/charts/spire
Note
: Minimum Spire version is
1.5.3. The recommended version is1.6.0to support arm64 nodes. If running with any prior version to1.6.0you have to use anodeSelectorto limit tokubernetes.io/arch: amd64.
Maintainers
| Name | Url | |
|---|---|---|
| marcofranssen | [email protected] | https://marcofranssen.nl |
| kfox1111 | [email protected] | |
| faisal-memon | [email protected] | |
| edwbuck | [email protected] |
Source Code
Parameters
Chart parameters
| Name | Description | Value |
|---|---|---|
image.registry |
The OCI registry to pull the image from | ghcr.io |
image.repository |
The repository within the registry | spiffe/spire-agent |
image.pullPolicy |
The image pull policy | IfNotPresent |
image.version |
This value is deprecated in favor of tag. (Will be removed in a future release) | "" |
image.tag |
Overrides the image tag whose default is the chart appVersion | "" |
imagePullSecrets |
Pull secrets for images | [] |
nameOverride |
Name override | "" |
namespaceOverride |
Namespace override | "" |
fullnameOverride |
Fullname override | "" |
serviceAccount.create |
Specifies whether a service account should be created | true |
serviceAccount.annotations |
Annotations to add to the service account | {} |
serviceAccount.name |
The name of the service account to use. | "" |
configMap.annotations |
Annotations to add to the SPIRE Agent ConfigMap | {} |
podAnnotations |
Annotations to add to pods | {} |
podSecurityContext |
Pod security context | {} |
securityContext |
Security context | {} |
resources |
Resource requests and limits | {} |
nodeSelector |
Node selector | {} |
tolerations |
List of tolerations | [] |
logLevel |
The log level, valid values are "debug", "info", "warn", and "error" | info |
clusterName |
The name of the Kubernetes cluster (kubeadm init --service-dns-domain) |
example-cluster |
trustDomain |
The trust domain to be used for the SPIFFE identifiers | example.org |
trustBundleURL |
If set, obtain trust bundle from url instead of Kubernetes ConfigMap | "" |
trustBundleFormat |
If using trustBundleURL, what format is the url. Choices are "pem" and "spiffe" | pem |
bundleConfigMap |
Configmap name for Spire bundle | spire-bundle |
server.address |
Address for Spire server | "" |
server.port |
Port number for Spire server | 8081 |
server.namespaceOverride |
Override the namespace for Spire server | "" |
healthChecks.port |
override the host port used for health checking | 9982 |
livenessProbe.initialDelaySeconds |
Initial delay seconds for probe | 15 |
livenessProbe.periodSeconds |
Period seconds for probe | 60 |
readinessProbe.initialDelaySeconds |
Initial delay seconds for probe | 15 |
readinessProbe.periodSeconds |
Period seconds for probe | 60 |
waitForIt.image.registry |
The OCI registry to pull the image from | cgr.dev |
waitForIt.image.repository |
The repository within the registry | chainguard/wait-for-it |
waitForIt.image.pullPolicy |
The image pull policy | IfNotPresent |
waitForIt.image.version |
This value is deprecated in favor of tag. (Will be removed in a future release) | "" |
waitForIt.image.tag |
Overrides the image tag whose default is the chart appVersion | latest@sha256:b76360b5316b33f89c3edc15967cfedf323c21766a8ce29750bff2b38178455f |
waitForIt.resources |
Resource requests and limits | {} |
fsGroupFix.image.registry |
The OCI registry to pull the image from | cgr.dev |
fsGroupFix.image.repository |
The repository within the registry | chainguard/bash |
fsGroupFix.image.pullPolicy |
The image pull policy | Always |
fsGroupFix.image.version |
This value is deprecated in favor of tag. (Will be removed in a future release) | "" |
fsGroupFix.image.tag |
Overrides the image tag whose default is the chart appVersion | latest@sha256:28d175c9578c85d09fc9242f211324e9c3cc4d073db5bff349e986df76ab0d4c |
fsGroupFix.resources |
Specify resource needs as per https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ | {} |
workloadAttestors.unix.enabled |
Enables the Unix workload attestor | false |
workloadAttestors.k8s.enabled |
Enables the Kubernetes workload attestor | true |
workloadAttestors.k8s.skipKubeletVerification |
If true, kubelet certificate verification is skipped | true |
workloadAttestors.k8s.disableContainerSelectors |
Set to true if using holdApplicationUntilProxyStarts in Istio | false |
sds.enabled |
Enables Envoy SDS configuration | false |
sds.defaultSvidName |
The TLS Certificate resource name to use for the default X509-SVID with Envoy SDS | default |
sds.defaultBundleName |
The Validation Context resource name to use for the default X.509 bundle with Envoy SDS | ROOTCA |
sds.defaultAllBundlesName |
The Validation Context resource name to use for all bundles (including federated) with Envoy SDS | ALL |
sds.disableSpiffeCertValidation |
Disable Envoy SDS custom validation | false |
telemetry.prometheus.enabled |
Flag to enable prometheus monitoring | false |
telemetry.prometheus.port |
Port for prometheus metrics | 9988 |
telemetry.prometheus.podMonitor.enabled |
Enable podMonitor for prometheus | false |
telemetry.prometheus.podMonitor.namespace |
Override where to install the podMonitor, if not set will use the same namespace as the spire-agent | "" |
telemetry.prometheus.podMonitor.labels |
Pod labels to filter for prometheus monitoring | {} |
socketPath |
The unix socket path to the spire-agent | /run/spire/agent-sockets/spire-agent.sock |
priorityClassName |
Priority class assigned to daemonset pods | "" |
extraEnvVars |
Extra environment variables to be added to the Spire Agent container | [] |
extraVolumes |
Extra volumes to be mounted on Spire Agent pods | [] |
extraVolumeMounts |
Extra volume mounts for Spire Agent pods | [] |
extraContainers |
Additional containers to create with Spire Agent pods | [] |
initContainers |
Additional init containers to create with Spire Agent pods | [] |
hostAliases |
Customize /etc/hosts file as described here https://kubernetes.io/docs/tasks/network/customize-hosts-file-for-pods/ | [] |
customPlugins.keyManager |
Custom plugins of type KeyManager are configured here | {} |
customPlugins.nodeAttestor |
Custom plugins of type NodeAttestor are configured here | {} |
customPlugins.svidStore |
Custom plugins of type SVIDStore are configured here | {} |
customPlugins.workloadAttestor |
Custom plugins of type WorkloadAttestor are configured here | {} |
experimental.enabled |
Allow configuration of experimental features | false |
experimental.syncInterval |
Sync interval with SPIRE server with exponential backoff | 5s |
experimental.featureFlags |
List of developer feature flags | [] |