Skip to content

Commit

Permalink
fix: some little issues (#13)
Browse files Browse the repository at this point in the history
* fix: some little issues

* fix: some little issues

* fix: some little issues

* fix: some little issues
  • Loading branch information
dirien authored Dec 9, 2024
1 parent 1043b3d commit 9ed4f8a
Show file tree
Hide file tree
Showing 9 changed files with 75 additions and 5 deletions.
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: {}

0 comments on commit 9ed4f8a

Please sign in to comment.