Skip to content

Commit

Permalink
feat: add kerberos initContainter
Browse files Browse the repository at this point in the history
a
  • Loading branch information
Виталий Шунков committed Feb 20, 2024
1 parent 503b907 commit 9a59c42
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
6 changes: 5 additions & 1 deletion helm-charts/tarantool-cartridge/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,11 @@ spec:
port: http
initialDelaySeconds: 15
periodSeconds: 10
# volumes:
{{- if .initContainers }}
initContainers:
{{ toYaml .initContainers | indent 8 }}
{{- end }}
# volumes:
# - name: share
# hostPath:
# path: /mnt/share
Expand Down
5 changes: 5 additions & 0 deletions helm-charts/tarantool-cartridge/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,11 @@ RoleConfig:
- app.roles.exporter
- vshard-router

initContainers:
- name: krb-init
image: docker-public.binary.picodata.io/kirovets:kube
command: ['kinit', 'visiology-kauth', '-k', '-t', '/opt/cloudera/keytab']

- RoleName: storage
ReplicaCount: 2
ReplicaSetCount: 1
Expand Down

0 comments on commit 9a59c42

Please sign in to comment.