Skip to content

Commit

Permalink
chore: updated reamde, bump chart version (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
mueckinger committed Jan 13, 2024
1 parent 0057607 commit 4e966db
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 11 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
charts/*.tgz
1 change: 1 addition & 0 deletions .helmignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@
.idea/
*.tmproj
.vscode/
charts/
2 changes: 1 addition & 1 deletion Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.0-alpha
version: 0.1.1-alpha

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ rustic:

s3:
repo:
provider: Scaleway
endpoint: s3.fr-par.scw.cloud
access_key_id: <myS3AccessKeyID>
secret_access_key: <mySecretS3AccessKey>
Expand Down Expand Up @@ -85,13 +86,15 @@ persistence:
# One of rustic's greatest features is that you can use it with cold or "glacier" storage. Therefore you need to define two buckets/repositories. The `repo_hot` only holds the backend's metadata like config, keys, snapshots, index and tree blobs, which are required for browsing and managing the repo. This part is quite small. The `repo` holds the full repository including data and metadata.
s3:
repo:
provider: Scaleway
endpoint: s3.fr-par.scw.cloud
access_key_id: <myS3AccessKeyID>
secret_access_key: <mySecretS3AccessKey>
region: fr-par
storage_class: GLACIER # Replace with your provider's cold and cheap storage class
bucket: <myColdBucket>
repo_hot:
provider: Scaleway
endpoint: s3.fr-par.scw.cloud
access_key_id: <myS3AccessKeyID>
secret_access_key: <mySecretS3AccessKey>
Expand All @@ -100,6 +103,13 @@ s3:
bucket: <myHotBucket>
```

## To Do

- [ ] Auto create persistentVolume for local cache
- [ ] Add forget/prune CronJobs
- [ ] Follow [helm charts best practises](https://helm.sh/docs/chart_best_practices/)


## Contributing

Found a bug?
Expand Down
12 changes: 11 additions & 1 deletion charts/index.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
apiVersion: v1
entries:
rustic:
- apiVersion: v2
appVersion: 0.6.1
created: "2024-01-12T18:11:53.714144944+01:00"
description: fast, encrypted and deduplicated backups
digest: 3c8a0219a14bf8cf25d3cea57bee4a326144f0e8138656a58b692fb7ece2e533
name: rustic
type: application
urls:
- https://github.com/rustic-rs/rustic-helm/releases/download/0.1.1-alpha/charts/rustic-0.1.1-alpha.tgz
version: 0.1.1-alpha
- apiVersion: v2
appVersion: 0.6.1
created: "2024-01-06T14:01:32.369624462+01:00"
Expand All @@ -11,4 +21,4 @@ entries:
urls:
- https://github.com/rustic-rs/rustic-helm/releases/download/0.1.0-alpha/rustic-0.1.0-alpha.tgz
version: 0.1.0-alpha
generated: "2024-01-06T14:01:32.368707107+01:00"
generated: "2024-01-12T18:11:53.712973339+01:00"
4 changes: 2 additions & 2 deletions templates/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ stringData:
rclone.conf: |
[repo]
type = s3
provider =
provider = {{ .Values.s3.repo.provider }}
env_auth = false
endpoint = {{ .Values.s3.repo.endpoint }}
access_key_id = {{ .Values.s3.repo.access_key_id }}
Expand All @@ -38,7 +38,7 @@ stringData:
rclone.conf: |
[repo-hot]
type = s3
provider =
provider = {{ .Values.s3.repo_hot.provider }}
env_auth = false
endpoint = {{ .Values.s3.repo_hot.endpoint }}
access_key_id = {{ .Values.s3.repo_hot.access_key_id }}
Expand Down
10 changes: 3 additions & 7 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,9 @@ rustic:
memory: 50Mi
cpu: 100m
limits:
memory: 192Mi
cpu: 200m
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
memory: 512Mi
cpu: 500m
securityContext: {}

nodeSelector: {}

Expand Down

0 comments on commit 4e966db

Please sign in to comment.