Switch htpasswd to use a secret

This commit is contained in:
Devon Mackay 2018-08-08 10:11:51 -04:00
parent 3277386ae1
commit 5c647a5c41
2 changed files with 2 additions and 4 deletions

View File

@ -5,8 +5,6 @@ metadata:
name: atst-nginx
namespace: atat
data:
htpasswd: |
atat:$apr1$D9ZQ6.AS$BwgIHxTMbRQsv4LbbAGAT/
nginx-config: |-
server {
server_name www.atat.codes atat.codes;

View File

@ -92,8 +92,8 @@ spec:
path: dhparam.pem
mode: 0640
- name: nginx-htpasswd
configMap:
name: atst-nginx
secret:
secretName: atst-nginx-htpasswd
items:
- key: htpasswd
path: .htpasswd