Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change default image pull policy to IfNotPresent #27

Merged
merged 1 commit into from
Sep 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/kubecollector/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: kubecollector
description: A Helm chart for Lightspin Kuberenetes CSPM
type: application
version: 0.1.14
version: 0.1.15
appVersion: "2.0.0"
home: https://lightspin.io/
maintainers:
Expand Down
7 changes: 4 additions & 3 deletions charts/kubecollector/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Lightspin KubeCollector

![Version: 0.1.14](https://img.shields.io/badge/Version-0.1.14-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.0.0](https://img.shields.io/badge/AppVersion-2.0.0-informational?style=flat-square)
![Version: 0.1.15](https://img.shields.io/badge/Version-0.1.15-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.0.0](https://img.shields.io/badge/AppVersion-2.0.0-informational?style=flat-square)

[Lightspin](https://www.lightspin.io/) is a graph-based technology immediately visualizes, prioritizes, and dynamically remediates critical cloud risks with no custom configuration needed. This repository contains the Helm chart for the Lightspin KubeCollector application to be deployed on customers Kubernetes clusters.

Expand Down Expand Up @@ -102,7 +102,7 @@ The following table lists the configurable parameters of the Lightspin KubeColle
| apiUrl | string | `"https://k8sapi.lightspin.cloud"` | Lightspin API URL (override for non US customers) |
| beat.affinity | object | `{}` | Allow the kubecollector beat Deployment to schedule using affinity rules |
| beat.fullnameOverride | string | `"light-kubecollector-beat"` | fully qualified name of the beat service |
| beat.image.pullPolicy | string | `"Always"` | kubecollector beat docker image pullPolicy |
| beat.image.pullPolicy | string | `"IfNotPresent"` | kubecollector beat docker image pullPolicy |
| beat.image.repository | string | `"public.ecr.aws/k7e6s3l5/light-kubecollector"` | kubecollector image repository |
| beat.image.tag | string | `"latest"` | kubecollector beat image tag |
| beat.name | string | `"beat"` | name of the beat service |
Expand Down Expand Up @@ -135,6 +135,7 @@ The following table lists the configurable parameters of the Lightspin KubeColle
| runtime.events.affinity | object | `{}` | Allow the runtime events Deployment to schedule using affinity rules |
| runtime.events.config.log_level | string | `"INFO"` | logs severity level. |
| runtime.events.fullnameOverride | string | `"light-kuberuntime-events"` | fully qualified name of the runtime events service |
| runtime.events.image.pullPolicy | string | `"IfNotPresent"` | kuberuntime events docker image pullPolicy |
| runtime.events.image.repository | string | `"public.ecr.aws/k7e6s3l5/light-kuberuntime"` | kuberuntime events image repository |
| runtime.events.image.tag | string | `"latest"` | kuberuntime events image tag |
| runtime.events.name | string | `"events"` | name of the runtime events service |
Expand Down Expand Up @@ -165,7 +166,7 @@ The following table lists the configurable parameters of the Lightspin KubeColle
| worker.config.vuls_enabled | bool | `true` | enable vulnerability scanning. |
| worker.config.vuls_private_repo | bool | `true` | enable vulnerability scanning on private repository images (uses pull secret). |
| worker.fullnameOverride | string | `"light-kubecollector-worker"` | fully qualified name of the worker service |
| worker.image.pullPolicy | string | `"Always"` | kubecollector worker docker image pullPolicy |
| worker.image.pullPolicy | string | `"IfNotPresent"` | kubecollector worker docker image pullPolicy |
| worker.image.repository | string | `"public.ecr.aws/k7e6s3l5/light-kubecollector"` | kubecollector image repository |
| worker.image.tag | string | `"latest"` | kubecollector worker image tag |
| worker.name | string | `"worker"` | name of the worker service |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ spec:
spec:
containers:
- image: "{{ .Values.runtime.events.image.repository }}:{{ .Values.runtime.events.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: Always
imagePullPolicy: {{ .Values.runtime.events.image.pullPolicy }}
name: worker
command: ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8080"]
envFrom:
Expand Down
6 changes: 4 additions & 2 deletions charts/kubecollector/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ beat:
# beat.image.tag -- kubecollector beat image tag
tag: latest
# beat.image.pullPolicy -- kubecollector beat docker image pullPolicy
pullPolicy: Always
pullPolicy: IfNotPresent
# beat.replicaCount -- Specify the number of replicas for the beat service
replicaCount: 1
# beat.resources -- kubecollector beat resource requests and limits.
Expand Down Expand Up @@ -115,7 +115,7 @@ worker:
# worker.image.tag -- kubecollector worker image tag
tag: latest
# worker.image.pullPolicy -- kubecollector worker docker image pullPolicy
pullPolicy: Always
pullPolicy: IfNotPresent
# worker.replicaCount -- Specify the number of replicas for the worker service
replicaCount: 1
# worker.resources -- kubecollector worker resource requests and limits.
Expand Down Expand Up @@ -199,6 +199,8 @@ runtime:
repository: public.ecr.aws/k7e6s3l5/light-kuberuntime
# runtime.events.image.tag -- kuberuntime events image tag
tag: latest
# runtime.events.image.pullPolicy -- kuberuntime events docker image pullPolicy
pullPolicy: IfNotPresent
# runtime.events.podPriorityClassName -- Set pod priorityClassName
podPriorityClassName:
# runtime.events.nodeSelector -- Allow the runtime events Deployment to schedule on selected nodes
Expand Down
Loading