쿠버네티스 tls 시크릿 등록

이정석·2023년 8월 17일
0

쿠버네티스에 tls 시크릿으로 등록하기

kubectl create secret tls {시크릿이름} --key {key파일} --cert {cert파일} -n {namespace} --save-config

인증서가 만료될때가 되어, 인증서 교체하기..

kubectl create secret tls {시크릿이름} --key {key파일} --cert {cert파일} -n {namespace} --dry-run=client -o yaml | kubectl apply -f -
profile
개발을 좋아라 하는 개발자!

1개의 댓글

comment-user-thumbnail
2023년 8월 17일

개발자로서 성장하는 데 큰 도움이 된 글이었습니다. 감사합니다.

답글 달기