Clean up old references to encryptionKey
This commit is contained in:
parent
b59a7f2185
commit
e133baaba1
5 changed files with 0 additions and 57 deletions
|
@ -92,31 +92,6 @@ spec:
|
||||||
valueFrom:
|
valueFrom:
|
||||||
fieldRef:
|
fieldRef:
|
||||||
fieldPath: spec.nodeName
|
fieldPath: spec.nodeName
|
||||||
- name: ACCESS_KEY_ID
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: csi-s3-secret
|
|
||||||
key: accessKeyID
|
|
||||||
- name: SECRET_ACCESS_KEY
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: csi-s3-secret
|
|
||||||
key: secretAccessKey
|
|
||||||
- name: S3_ENDPOINT
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: csi-s3-secret
|
|
||||||
key: endpoint
|
|
||||||
- name: REGION
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: csi-s3-secret
|
|
||||||
key: region
|
|
||||||
- name: ENCRYPTION_KEY
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: csi-s3-secret
|
|
||||||
key: encryptionKey
|
|
||||||
imagePullPolicy: "Always"
|
imagePullPolicy: "Always"
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: plugin-dir
|
- name: plugin-dir
|
||||||
|
|
|
@ -91,31 +91,6 @@ spec:
|
||||||
valueFrom:
|
valueFrom:
|
||||||
fieldRef:
|
fieldRef:
|
||||||
fieldPath: spec.nodeName
|
fieldPath: spec.nodeName
|
||||||
- name: ACCESS_KEY_ID
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: csi-s3-secret
|
|
||||||
key: accessKeyID
|
|
||||||
- name: SECRET_ACCESS_KEY
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: csi-s3-secret
|
|
||||||
key: secretAccessKey
|
|
||||||
- name: S3_ENDPOINT
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: csi-s3-secret
|
|
||||||
key: endpoint
|
|
||||||
- name: REGION
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: csi-s3-secret
|
|
||||||
key: region
|
|
||||||
- name: ENCRYPTION_KEY
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: csi-s3-secret
|
|
||||||
key: encryptionKey
|
|
||||||
imagePullPolicy: "Always"
|
imagePullPolicy: "Always"
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: socket-dir
|
- name: socket-dir
|
||||||
|
|
|
@ -7,5 +7,4 @@ type Config struct {
|
||||||
Region string
|
Region string
|
||||||
Endpoint string
|
Endpoint string
|
||||||
Mounter string
|
Mounter string
|
||||||
EncryptionKey string
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -55,7 +55,6 @@ func newS3ClientFromSecrets(secrets map[string]string) (*s3Client, error) {
|
||||||
SecretAccessKey: secrets["secretAccessKey"],
|
SecretAccessKey: secrets["secretAccessKey"],
|
||||||
Region: secrets["region"],
|
Region: secrets["region"],
|
||||||
Endpoint: secrets["endpoint"],
|
Endpoint: secrets["endpoint"],
|
||||||
EncryptionKey: secrets["encryptionKey"],
|
|
||||||
// Mounter is set in the volume preferences, not secrets
|
// Mounter is set in the volume preferences, not secrets
|
||||||
Mounter: "",
|
Mounter: "",
|
||||||
})
|
})
|
||||||
|
|
|
@ -3,28 +3,23 @@ CreateVolumeSecret:
|
||||||
secretAccessKey: DSG643HGDS
|
secretAccessKey: DSG643HGDS
|
||||||
endpoint: http://127.0.0.1:9000
|
endpoint: http://127.0.0.1:9000
|
||||||
region: ""
|
region: ""
|
||||||
encryptionKey: ""
|
|
||||||
DeleteVolumeSecret:
|
DeleteVolumeSecret:
|
||||||
accessKeyID: FJDSJ
|
accessKeyID: FJDSJ
|
||||||
secretAccessKey: DSG643HGDS
|
secretAccessKey: DSG643HGDS
|
||||||
endpoint: http://127.0.0.1:9000
|
endpoint: http://127.0.0.1:9000
|
||||||
region: ""
|
region: ""
|
||||||
encryptionKey: ""
|
|
||||||
NodeStageVolumeSecret:
|
NodeStageVolumeSecret:
|
||||||
accessKeyID: FJDSJ
|
accessKeyID: FJDSJ
|
||||||
secretAccessKey: DSG643HGDS
|
secretAccessKey: DSG643HGDS
|
||||||
endpoint: http://127.0.0.1:9000
|
endpoint: http://127.0.0.1:9000
|
||||||
region: ""
|
region: ""
|
||||||
encryptionKey: ""
|
|
||||||
NodePublishVolumeSecret:
|
NodePublishVolumeSecret:
|
||||||
accessKeyID: FJDSJ
|
accessKeyID: FJDSJ
|
||||||
secretAccessKey: DSG643HGDS
|
secretAccessKey: DSG643HGDS
|
||||||
endpoint: http://127.0.0.1:9000
|
endpoint: http://127.0.0.1:9000
|
||||||
region: ""
|
region: ""
|
||||||
encryptionKey: ""
|
|
||||||
ControllerValidateVolumeCapabilitiesSecret:
|
ControllerValidateVolumeCapabilitiesSecret:
|
||||||
accessKeyID: FJDSJ
|
accessKeyID: FJDSJ
|
||||||
secretAccessKey: DSG643HGDS
|
secretAccessKey: DSG643HGDS
|
||||||
endpoint: http://127.0.0.1:9000
|
endpoint: http://127.0.0.1:9000
|
||||||
region: ""
|
region: ""
|
||||||
encryptionKey: ""
|
|
Loading…
Reference in a new issue