Skip to content

Commit

Permalink
test fips enable and kubectl move to nirmata
Browse files Browse the repository at this point in the history
  • Loading branch information
amittiwari28 committed Jan 27, 2025
1 parent 66d4591 commit ba2f91a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
9 changes: 9 additions & 0 deletions charts/reports-server/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,15 @@ spec:
volumeMounts:
- mountPath: /tmp
name: tmp-dir
{{- $tag := default .Values.image.tag .Chart.AppVersion -}}
{{- $imageRegistry := default .Values.image.registry "" -}}
{{- $repository := required "An image repository is required" .Values.image.repository -}}
{{- $fipsEnabled := .Values.fipsEnabled | default false -}}
{{- if $fipsEnabled -}}
{{ $imageRegistry }}/{{ $repository }}-fips:{{ $tag }}
{{- else -}}
{{ $imageRegistry }}/{{ $repository }}:{{ $tag }}
{{- end -}}
image: "{{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
Expand Down
9 changes: 5 additions & 4 deletions charts/reports-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# @ignored
templating:
enabled: false

fipsEnabled: false
cloudnative-pg:
crds:
create: false
Expand Down Expand Up @@ -224,12 +224,13 @@ apiServicesManagement:

image:
# -- (string) Image registry
registry: docker.io
registry: ~
# -- Image repository
repository: bitnami/kubectl
repository: reg.nirmata.io/nirmata/kubectl

# -- Image tag
# Defaults to `latest` if omitted
tag: '1.30.2'
tag: '1.32.1'
# -- (string) Image pull policy
# Defaults to image.pullPolicy if omitted
pullPolicy: ~
Expand Down

0 comments on commit ba2f91a

Please sign in to comment.