Skip to content

Commit 74cb07c

Browse files
committed
Ability to disable fernet_rotate cronjob
Change-Id: I5f31259d243b39412a1b884201a8b46a29d353d5
1 parent 76338a7 commit 74cb07c

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: keystone
33
description: A Helm chart for Openstack Keystone
44
type: application
5-
version: 1.0.0
5+
version: 1.0.1
66
appVersion: 25.0.0-14-g155f38a86-5-9
77
dependencies:
88
- name: common

templates/cronjob-fernet-rotate.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{{- $serviceAccountName := "keystone-fernet-rotate" }}
2+
{{- if .Values.job.fernet_rotate.enabled }}
23
---
34
apiVersion: v1
45
kind: ServiceAccount
@@ -104,3 +105,4 @@ spec:
104105
- name: keystone-bin
105106
configMap:
106107
name: keystone-bin
108+
{{- end }}

values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ job:
7979
args:
8080
- '--expand'
8181
fernet_rotate:
82+
enabled: true
8283
# NOTE(rk760n): key rotation frequency, token expiration, active keys, and allow_expired_window should statisfy the formula
8384
# max_active_keys = ((token_expiration + allow_expired_window) / rotation_frequency) + 2
8485
# As expiration is 12h, max_active_keys is 7 and allow_expired_window is 48h by default,

0 commit comments

Comments
 (0)