Skip to content

Commit

Permalink
deployment: Set permissions of pki secret volume
Browse files Browse the repository at this point in the history
The PKI folder should only be readable by root. Set the permissions to
0400.

This removes the following warnings from the logs:
  WARNING: file '/etc/openvpn/pki/private.key' is group or others accessible
  WARNING: file '/etc/openvpn/pki/ta.key' is group or others accessible
  • Loading branch information
bekriebel committed Dec 28, 2017
1 parent af2fa87 commit 550af42
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kube/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ spec:
- name: openvpn-pki
secret:
secretName: openvpn-pki
defaultMode: 0400
- name: openvpn-ccd
configMap:
name: openvpn-ccd
Expand Down

0 comments on commit 550af42

Please sign in to comment.