Unverified Commit 72724648 authored by Gee's avatar Gee Committed by GitHub

chore : Add missing (pod)Annotations and namespace (#489)

* chore : add podAnnotation under neo4j.backup

* chore : add namespace to neo4j-pvc

* chore : add annotation to restore-neo4j-pod

* chore : add dummy key/value to annotation

* style : remove trailling whitespaces
parent 78cc4489
......@@ -3,6 +3,7 @@ apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: neo4j-pvc
namespace: {{ .Release.Namespace }}
labels:
app: {{ template "amundsen.fullname" . }}
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
......
......@@ -319,6 +319,7 @@ neo4j:
## neo4j.backup.schedule -- The schedule to run backups on. Defaults to hourly.
##
schedule: "0 * * * *"
podAnnotations: {}
##
## neo4j.nodeSelector -- neo4j specific nodeSelector.
......
......@@ -2,7 +2,9 @@
kind: Pod
metadata:
name: restore-neo4j-from-latest
spec:
annotations:
fill_in_here_with_correct_key: fill_in_here_with_correct_value
spec:
containers:
- name: restore-neo4j-from-latest
image: neo4j:3.3.0
......@@ -23,9 +25,9 @@
value: s3://dev/null
volumeMounts:
- name: data
mountPath: /data
mountPath: /data
restartPolicy: OnFailure
volumes:
- name: data
persistentVolumeClaim:
claimName: neo4j-pvc
\ No newline at end of file
claimName: neo4j-pvc
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment