소스 검색

define variable!

Stavros kois 2 년 전
부모
커밋
afd2f489ff
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      test/wg-easy/1.0.0/templates/deployment.yaml

+ 1 - 0
test/wg-easy/1.0.0/templates/deployment.yaml

@@ -87,6 +87,7 @@ spec:
             initialDelaySeconds: 5
             failureThreshold: 40
             periodSeconds: 15
+          {{ $ip := .Values.wgeasy.client_address_range | replace "x" "0" }}
           lifecycle:
             preStop:
               exec: