Skip to content

Commit

Permalink
Merge pull request #9613 from t0ffel/master
Browse files Browse the repository at this point in the history
Bug 1615275. Regenerate session_secret if it can't be used with oauth-proxy
  • Loading branch information
openshift-merge-robot committed Aug 16, 2018
2 parents fcea2b5 + a696933 commit 2fb6224
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions roles/openshift_logging_kibana/tasks/main.yaml
Expand Up @@ -71,8 +71,7 @@
copy:
content: "{{ 32 | lib_utils_oo_random_word }}"
dest: "{{ generated_certs_dir }}/session_secret"
when:
- not session_secret_file.stat.exists
when: not session_secret_file.stat.exists or session_secret_file.stat.size > 50

# gen oauth_secret if necessary
- name: Generate oauth secret
Expand Down

0 comments on commit 2fb6224

Please sign in to comment.