Skip to content

Commit 44d2e18

Browse files
kerenlahavI065450
andauthored
configurable fips only (#594)
* configurable fips only * [JIRA: SAPBTPCFS-28335] fips and update libs --------- Co-authored-by: i065450 <[email protected]>
1 parent d823874 commit 44d2e18

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,4 @@ WORKDIR /
2929
COPY --from=builder /workspace/manager .
3030
USER 65534:65534
3131

32-
ENV GODEBUG="fips140=on"
33-
3432
ENTRYPOINT ["/manager"]

sapbtp-operator-charts/templates/deployment.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ spec:
8787
env:
8888
- name: APP_VERSION
8989
value: "{{ .Chart.AppVersion }}"
90+
- name: GODEBUG
91+
value: "{{ .Values.manager.fips }}"
9092
envFrom:
9193
- configMapRef:
9294
name: sap-btp-operator-config

sapbtp-operator-charts/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ manager:
1414
enable_leader_election: true
1515
logger_use_dev_mode: true
1616
management_namespace:
17+
fips: "fips140=on"
1718
image:
1819
repository: ghcr.io/sap/sap-btp-service-operator/controller
1920
tag: master

0 commit comments

Comments
 (0)