Skip to content

Commit

Permalink
Add csi-s3 and have portainer use it
Browse files Browse the repository at this point in the history
  • Loading branch information
mrnicegyu11 committed Oct 24, 2024
1 parent 14c751d commit 293f63c
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -149,3 +149,6 @@ docker-compose.simcore.yml
repo.config
.temp
.temp/**

# By convention: `.secret` files are gitignored
**/*.secret
7 changes: 7 additions & 0 deletions charts/csi-s3/values.yaml.gotmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
secret:
accessKey: {{ requiredEnv "S3_ACCESS_KEY" }}
secretKey: {{ requiredEnv "S3_SECRET_KEY" }}
region: {{ requiredEnv "S3_REGION" }}
endpoint: {{ requiredEnv "S3_ENDPOINT" }}
storageClass:
singleBucket: {{ requiredEnv "S3_K8S_CSI_BUCKET_NAME" }}
6 changes: 6 additions & 0 deletions charts/portainer/values.yaml.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ serviceAccount:
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: portainer-sa-clusteradmin
persistence:
enabled: true
size: "10Gi"
annotations: {}
storageClass: "csi-s3"
existingClaim:

podAnnotations: {}
podLabels: {}
Expand Down

0 comments on commit 293f63c

Please sign in to comment.