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

fix: some little issues #13

Merged
merged 4 commits into from
Dec 9, 2024
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
8 changes: 4 additions & 4 deletions .github/workflows/chart-lint-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: ct-linting-and-testing
on:
pull_request:
paths:
- ../../chart/**
- "!helm/README.md"
- "!helm/README.md.gotmpl"
- chart/**
- "!chart/pulumi-esc-csi-provider/README.md"
- "!chart/pulumi-esc-csi-provider/README.md.gotmpl"

permissions: read-all

Expand Down Expand Up @@ -33,7 +33,7 @@ jobs:
scan-type: 'config'
hide-progress: false
format: 'sarif'
scan-ref: 'helm'
scan-ref: 'chart/pulumi-esc-csi-provider'
output: 'trivy-results.sarif'
limit-severities-for-sarif: true
exit-code: '0'
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
**/dist
.idea
pulumi-esc-csi-provider
./pulumi-esc-csi-provider
Empty file.
13 changes: 13 additions & 0 deletions chart/pulumi-esc-csi-provider/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: v2
name: pulumi-esc-csi-provider
description: A Helm chart for the Pulumi ESC CSI provider

type: application

version: 0.1.0
appVersion: "0.1.0"

maintainers:
- name: dirien
email: [email protected]
url: https://pulumi.com
Empty file.
Empty file.
Empty file.
Empty file.
57 changes: 57 additions & 0 deletions chart/pulumi-esc-csi-provider/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: pulumi-esc-csi-provider
namespace: kube-system
image:
repository: ghcr.io/dirien/secrets-store-csi-driver-provider-pulumi-esc
tag: latest
pullPolicy: Always

args:
- "-endpoint=/provider/pulumi.sock"

# Resource limits and requests
resources:
requests:
cpu: 50m # Minimum CPU needed
memory: 100Mi # Minimum memory needed
limits:
cpu: 50m # Maximum CPU allowed
memory: 100Mi # Maximum memory allowed

# Volume configuration for provider socket
providerVolume:
mountPath: /provider
hostPath: /etc/kubernetes/secrets-store-csi-providers

# Health check for container liveness
livenessProbe:
httpGet:
path: /healthz
port: 8080
scheme: HTTP
failureThreshold: 2
initialDelaySeconds: 5
periodSeconds: 5
successThreshold: 1
timeoutSeconds: 3

# Health check for container readiness
readinessProbe:
httpGet:
path: /readyz
port: 8080
scheme: HTTP
failureThreshold: 2
initialDelaySeconds: 5
periodSeconds: 5
successThreshold: 1
timeoutSeconds: 3

nodeSelector: {}
labels: {}
podLabels: {}
tolerations: []

serviceAccount:
create: true
name: pulumi-esc-csi-provider
annotations: {}
Loading