Skip to content

Commit

Permalink
Update aerospike-backup-service helm (#20)
Browse files Browse the repository at this point in the history
* Bump version to 1.0.0
* Add support for crud config operations
  • Loading branch information
davi17g authored Jun 23, 2024
1 parent a399cb0 commit e150806
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 25 deletions.
2 changes: 1 addition & 1 deletion aerospike-backup-service/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ version: 0.1.0
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "0.3.0"
appVersion: "1.0.0"
2 changes: 1 addition & 1 deletion aerospike-backup-service/examples/values/minio-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ backupServiceConfig:
storage:
minioStorage:
# Use 1 for S3 or compatible and 0 for local storage.
type: 1
type: "aws-s3"
# as-backup-bucket is expected to exist in MinIO.
path: s3://as-backup-bucket/minioStorage
s3-region: eu-central-1
Expand Down
2 changes: 1 addition & 1 deletion aerospike-backup-service/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@ Create the name of the service account to use
{{- else }}
{{- $.Values.args | toYaml }}
{{- end -}}
{{- end -}}
{{- end -}}
25 changes: 15 additions & 10 deletions aerospike-backup-service/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,22 @@ spec:
serviceAccountName: {{ include "aerospike-backup-service.serviceAccountName" . }}
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
{{ if .Values.initContainers }}
initContainers:
- name: config-injector
image: busybox
command:
- /bin/sh
- -c
- |
echo -e {{ .Values.backupServiceConfig | toYaml | quote }} > /etc/aerospike-backup-service/aerospike-backup-service.yml
volumeMounts:
- name: aerospike-backup-service-config
mountPath: /etc/aerospike-backup-service
{{ if .Values.initContainers }}
{{- toYaml .Values.initContainers | nindent 8 }}
{{- end }}
containers:
- name: {{ .Chart.Name }}
args: {{include "args.list" . | nindent 12 }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
Expand All @@ -55,10 +64,8 @@ spec:
resources:
{{- toYaml .Values.resources | nindent 12 }}
volumeMounts:
- name: aerospike-backup-service-configmap
mountPath: /etc/aerospike-backup-service/aerospike-backup-service.yml
subPath: aerospike-backup-service.yml
readOnly: true
- name: aerospike-backup-service-config
mountPath: /etc/aerospike-backup-service
{{- if .Values.extraVolumeMounts }}
{{- range .Values.extraVolumeMounts }}
- name: {{ .name }}
Expand All @@ -75,10 +82,8 @@ spec:
{{- end }}
{{- end }}
volumes:
- name: aerospike-backup-service-configmap
configMap:
name: {{ include "aerospike-backup-service.fullname" . }}-cm
optional: false
- name: aerospike-backup-service-config
emptyDir: {}
{{- with .Values.volumes }}
{{- toYaml . | nindent 8 }}
{{- end }}
Expand Down
2 changes: 1 addition & 1 deletion aerospike-backup-service/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ image:
repository: aerospike.jfrog.io/ecosystem-container-prod-local/aerospike-backup-service
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
tag: "0.3.0"
tag: "1.0.0"

imagePullSecrets: []
nameOverride: ""
Expand Down
Binary file modified docs/aerospike-backup-service-0.1.0.tgz
Binary file not shown.
22 changes: 11 additions & 11 deletions docs/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ apiVersion: v1
entries:
aerospike-backup-service:
- apiVersion: v2
appVersion: 0.3.0
created: "2024-06-11T21:17:14.228688+03:00"
appVersion: 1.0.0
created: "2024-06-23T17:20:43.751198+03:00"
description: A Helm chart for Kubernetes
digest: b0764cd3dcc3596e8777eff9a147e9cd705fa49b14222c1e85c9a605a355471f
digest: b571e304bace0b5b88db894d73aff99a5aff3a8b530fed17ef92538f7d25c82e
name: aerospike-backup-service
type: application
urls:
Expand All @@ -14,7 +14,7 @@ entries:
aerospike-graph:
- apiVersion: v2
appVersion: 2.0.0
created: "2024-06-11T21:17:14.229691+03:00"
created: "2024-06-23T17:20:43.752305+03:00"
description: Aerospike Graph Service
digest: 00e954c2ec6fe44c90cda43476070280e9c5d8bd0a4f875984928dfb2c3cbe05
keywords:
Expand All @@ -29,7 +29,7 @@ entries:
aerospike-jms-inbound:
- apiVersion: v2
appVersion: 3.0.0
created: "2024-06-11T21:17:14.231092+03:00"
created: "2024-06-23T17:20:43.753697+03:00"
description: A Helm chart for Aerospike Connect for JMS - Inbound
digest: f664bee76244a49c19dabea859581e1d668e46f6aa2e0973c3e5ee6d8f689ba3
icon: https://avatars0.githubusercontent.com/u/2214313?s=200&v=4
Expand All @@ -49,7 +49,7 @@ entries:
aerospike-jms-outbound:
- apiVersion: v2
appVersion: 4.1.1
created: "2024-06-11T21:17:14.232539+03:00"
created: "2024-06-23T17:20:43.754996+03:00"
description: A Helm chart for Aerospike Connect for JMS - Outbound
digest: d3f9f3cdd9bc57eaa945336f5c1c28c164b1c8a2c41f97eda9806276077c0a2c
icon: https://avatars0.githubusercontent.com/u/2214313?s=200&v=4
Expand All @@ -69,7 +69,7 @@ entries:
aerospike-kafka-outbound:
- apiVersion: v2
appVersion: 5.1.2
created: "2024-06-11T21:17:14.234963+03:00"
created: "2024-06-23T17:20:43.757479+03:00"
description: A Helm chart for Aerospike Connect for Kafka - Outbound
digest: c4b04092fe2c0857d26957c6b95b317c46063add104777b481cb9291c20b85ae
icon: https://avatars0.githubusercontent.com/u/2214313?s=200&v=4
Expand All @@ -88,7 +88,7 @@ entries:
version: 1.0.1
- apiVersion: v2
appVersion: 5.0.0
created: "2024-06-11T21:17:14.233923+03:00"
created: "2024-06-23T17:20:43.756353+03:00"
description: A Helm chart for Aerospike Connect for Kafka - Outbound
digest: 46b6cff86371f5cf40c64a93eacd5eea402f9c572d4144ad50f174129479de77
icon: https://avatars0.githubusercontent.com/u/2214313?s=200&v=4
Expand All @@ -108,7 +108,7 @@ entries:
aerospike-pulsar-outbound:
- apiVersion: v2
appVersion: 3.2.1
created: "2024-06-11T21:17:14.236109+03:00"
created: "2024-06-23T17:20:43.759138+03:00"
description: A Helm chart for Aerospike Connect for Pulsar - Outbound
digest: 8fdf247a0abb72026178a316419c83e1929043bf913b962a984d42f7b8cfdb6b
icon: https://avatars0.githubusercontent.com/u/2214313?s=200&v=4
Expand All @@ -128,7 +128,7 @@ entries:
aerospike-vector-search:
- apiVersion: v2
appVersion: 0.4.0
created: "2024-06-11T21:17:14.237855+03:00"
created: "2024-06-23T17:20:43.760929+03:00"
description: A Helm chart for Aerospike Vector Search
digest: f66c0163471586d199efa4c88ce73a45978d17071ba8e59ba6ff8fabeebf4876
icon: https://avatars0.githubusercontent.com/u/2214313?s=200&v=4
Expand All @@ -143,4 +143,4 @@ entries:
urls:
- https://aerospike.github.io/helm-charts/aerospike-vector-search-0.1.0.tgz
version: 0.1.0
generated: "2024-06-11T21:17:14.225911+03:00"
generated: "2024-06-23T17:20:43.749795+03:00"

0 comments on commit e150806

Please sign in to comment.