Skip to content

Commit

Permalink
feat: initial WIP version
Browse files Browse the repository at this point in the history
  • Loading branch information
dirien committed Nov 8, 2024
1 parent 59deaba commit 2296e48
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 12 deletions.
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Pulumi ESC Secret Store CSI Driver

## Getting Started

### Deploy Dcrets Store CSI Driver using Helm

Secrets Store CSI Driver allows users to customize their installation via Helm.

```bash
helm repo add secrets-store-csi-driver https://kubernetes-sigs.github.io/secrets-store-csi-driver/charts
helm install csi-secrets-store secrets-store-csi-driver/secrets-store-csi-driver --namespace kube-system
```

Running the above helm install command will install the Secrets Store CSI Driver on Linux nodes in the `kube-system`
namespace.

### Deploy Pulumi ESC Secret Store CSI Driver - local development

```bash
tilt up
```
12 changes: 6 additions & 6 deletions examples/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ spec:
- name: client
image: busybox:latest
command: ["sh", "-c"]
env:
- name: SECRET_FROM_K8S_SECRET
valueFrom:
secretKeyRef:
name: example-provider-secret
key: password
#env:
#- name: SECRET_FROM_K8S_SECRET
# valueFrom:
# secretKeyRef:
# name: example-provider-secret
# key: password
args:
- |
set -eux
Expand Down
12 changes: 6 additions & 6 deletions examples/secretproviderclass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ spec:
authSecretNamespace: default
objects: |
- objectName: postgres
secretObjects:
- secretName: example-provider-secret
type: Opaque
data:
- objectName: postgres
key: password
#secretObjects:
#- secretName: example-provider-secret
# type: Opaque
# data:
# - objectName: postgres
# key: password

0 comments on commit 2296e48

Please sign in to comment.