diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index f901898..b6825fd 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -5,8 +5,12 @@ run-name: ${{ gitea.actor }} is runs ci pipeline on: push: branches: [ "main" ] + paths: + - 'version' pull_request: branches: [ "main" ] + paths: + - 'version' # paths-ignore: # - LICENCE # - 'docs/**' diff --git a/ansible_prj/settings.py b/ansible_prj/settings.py index ebbf25d..a4e622c 100644 --- a/ansible_prj/settings.py +++ b/ansible_prj/settings.py @@ -184,10 +184,7 @@ WSGI_APPLICATION = 'ansible_prj.wsgi.application' ISTIO_JWT = os.environ.get("ISTIO_JWT", "0") == "1" if ISTIO_JWT: - # RS256 모드 - # 운영환경에서 key파일은 POD mount로 적용하는게 안전 - with open(BASE_DIR / "keys/private.pem", "r") as f: - PRIVATE_KEY = f.read() + # RS256 모드 - verifier 역할이므로 public key만 로드 with open(BASE_DIR / "keys/public.pem", "r") as f: PUBLIC_KEY = f.read() diff --git a/version b/version index b52cc10..71ad83c 100644 --- a/version +++ b/version @@ -1 +1 @@ -v0.0.12 \ No newline at end of file +v0.0.13 \ No newline at end of file