Skip to content

Commit c73ec01

Browse files
authored
Merge pull request #14 from dodistyo/hotfix/skip-verify-ssl
hotfix: fix error when trying to skip ssl verify using envar PHASE_VE…
2 parents f395163 + 9910ffb commit c73ec01

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

helm-repo/index.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v1
22
entries:
33
phase:
44
- apiVersion: v2
5-
created: "2024-08-15T17:20:48.04662344+05:30"
5+
created: "2024-09-15T13:30:32.685306284+05:30"
66
description: A Helm chart for deploying the Phase Secrets Manager
77
digest: 35fb1622a8b3d83e461f8d83c957e90d1afd5c6a69049e92da7594a8af302461
88
home: https://github.com/phasehq/kubernetes-secrets-operator
@@ -22,10 +22,10 @@ entries:
2222
version: 0.1.0
2323
phase-kubernetes-operator:
2424
- apiVersion: v2
25-
appVersion: 1.2.1
26-
created: "2024-08-15T17:20:48.047188122+05:30"
25+
appVersion: 1.2.2
26+
created: "2024-09-15T13:30:32.68551883+05:30"
2727
description: A Helm chart for deploying the Phase Kubernetes Operator
28-
digest: dc708b49b17107c0bf6efd354777f2ddaf4e080c18f7ab0541968338dfe808c5
28+
digest: ab5c545c41304e3eb7de7c1f52bf9a61c71be07304b716fae04384974c7e52d0
2929
home: https://github.com/phasehq/kubernetes-secrets-operator
3030
icon: https://phase.dev/apple-touch-icon.png
3131
keywords:
@@ -41,6 +41,6 @@ entries:
4141
- https://github.com/phasehq/kubernetes-secrets-operator
4242
type: application
4343
urls:
44-
- phase-kubernetes-operator-1.2.1.tgz
45-
version: 1.2.1
46-
generated: "2024-08-15T17:20:48.045460903+05:30"
44+
- phase-kubernetes-operator-1.2.2.tgz
45+
version: 1.2.2
46+
generated: "2024-09-15T13:30:32.684676931+05:30"
-2.92 KB
Binary file not shown.
2.92 KB
Binary file not shown.

phase-kubernetes-operator/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ description: A Helm chart for deploying the Phase Kubernetes Operator
55
type: application
66

77
# Version of the chart
8-
version: 1.2.1
8+
version: 1.2.2
99

1010
# Version of the application (operator) that is being deployed
11-
appVersion: "1.2.1"
11+
appVersion: "1.2.2"
1212

1313
# Keywords, maintainers, and source URLs can also be added here
1414
keywords:

src/utils/const.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import os
22
import re
3-
__version__ = "1.2.1"
3+
__version__ = "1.2.2"
44
__ph_version__ = "v1"
55

66
description = "Securely manage application secrets and environment variables with Phase."

src/utils/network.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def fetch_app_key(token_type: str, app_token, host) -> str:
119119

120120
URL = f"{host}/service/secrets/tokens/"
121121

122-
response = requests.get(URL, headers=headers)
122+
response = requests.get(URL, headers=headers, verify=VERIFY_SSL)
123123

124124
if response.status_code != 200:
125125
raise ValueError(f"Request failed with status code {response.status_code}: {response.text}")
@@ -159,7 +159,7 @@ def fetch_wrapped_key_share(token_type: str, app_token: str, host: str) -> str:
159159

160160
URL = f"{host}/service/secrets/tokens/"
161161

162-
response = requests.get(URL, headers=headers)
162+
response = requests.get(URL, headers=headers, verify=VERIFY_SSL)
163163

164164
if response.status_code != 200:
165165
raise ValueError(f"Request failed with status code {response.status_code}: {response.text}")

0 commit comments

Comments
 (0)