update influx secret name in config
@@ -227,7 +227,7 @@ spec:
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
- name: influxdb
+ name: influx-secret1
namespace: test-pods
spec:
refreshInterval: 1h
@@ -235,25 +235,11 @@ spec:
kind: ClusterSecretStore
name: perf-tests
target:
- name: influx_token
+ name: influx-secret
data:
- - secretKey: influx_token_file
+ - secretKey: token
remoteRef:
- key: influxdb_token
----
-apiVersion: external-secrets.io/v1beta1
-kind: ExternalSecret
-metadata:
- name: influxdb
- namespace: test-pods
-spec:
- refreshInterval: 1h
- secretStoreRef:
- kind: ClusterSecretStore
- name: perf-tests
- target:
- name: influx_url
- data:
- - secretKey: influx_url_file
+ key: token
+ - secretKey: url
remoteRef:
- key: influxdb_url
+ key: url
