Commit 53f68e0b authored by ondrej-iv's avatar ondrej-iv Committed by David McKay

[influxdb2] add r flag to jobs_setup_admin tpl, add rp to values

version change
parent deb3127a
...@@ -45,6 +45,7 @@ spec: ...@@ -45,6 +45,7 @@ spec:
-o {{ .Values.adminUser.organization }} \ -o {{ .Values.adminUser.organization }} \
-b {{ .Values.adminUser.bucket }} \ -b {{ .Values.adminUser.bucket }} \
-u {{ .Values.adminUser.user }} \ -u {{ .Values.adminUser.user }} \
-r {{ .Values.adminUser.retention_policy }} \
-p ${INFLUXDB_PASSWORD} \ -p ${INFLUXDB_PASSWORD} \
-t ${INFLUXDB_TOKEN} -t ${INFLUXDB_TOKEN}
restartPolicy: OnFailure restartPolicy: OnFailure
......
...@@ -35,6 +35,7 @@ adminUser: ...@@ -35,6 +35,7 @@ adminUser:
organization: "influxdata" organization: "influxdata"
bucket: "default" bucket: "default"
user: "admin" user: "admin"
retention_policy: "0s"
## Leave empty to generate a random password and token. ## Leave empty to generate a random password and token.
## Or fill any of these values to use fixed values. ## Or fill any of these values to use fixed values.
password: "" password: ""
......
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