Switch htpasswd to use a secret
This commit is contained in:
parent
3277386ae1
commit
5c647a5c41
@ -5,8 +5,6 @@ metadata:
|
|||||||
name: atst-nginx
|
name: atst-nginx
|
||||||
namespace: atat
|
namespace: atat
|
||||||
data:
|
data:
|
||||||
htpasswd: |
|
|
||||||
atat:$apr1$D9ZQ6.AS$BwgIHxTMbRQsv4LbbAGAT/
|
|
||||||
nginx-config: |-
|
nginx-config: |-
|
||||||
server {
|
server {
|
||||||
server_name www.atat.codes atat.codes;
|
server_name www.atat.codes atat.codes;
|
||||||
|
@ -92,8 +92,8 @@ spec:
|
|||||||
path: dhparam.pem
|
path: dhparam.pem
|
||||||
mode: 0640
|
mode: 0640
|
||||||
- name: nginx-htpasswd
|
- name: nginx-htpasswd
|
||||||
configMap:
|
secret:
|
||||||
name: atst-nginx
|
secretName: atst-nginx-htpasswd
|
||||||
items:
|
items:
|
||||||
- key: htpasswd
|
- key: htpasswd
|
||||||
path: .htpasswd
|
path: .htpasswd
|
||||||
|
Loading…
x
Reference in New Issue
Block a user