diff options
author | Scott Dodson <sdodson@redhat.com> | 2017-11-28 08:22:13 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-28 08:22:13 -0500 |
commit | a42b24a0b0cf218b2e0c8d994d0cbbb2f72985f6 (patch) | |
tree | 72113e4a30c683c32b93b76dde6be9dac763e90a /roles/etcd | |
parent | e429fdb4a819d2c401baac917ec4917a8c37be62 (diff) | |
parent | 1fe5a93fd5d3e71da9042b1c18f41f159e026dc9 (diff) | |
download | openshift-a42b24a0b0cf218b2e0c8d994d0cbbb2f72985f6.tar.gz openshift-a42b24a0b0cf218b2e0c8d994d0cbbb2f72985f6.tar.bz2 openshift-a42b24a0b0cf218b2e0c8d994d0cbbb2f72985f6.tar.xz openshift-a42b24a0b0cf218b2e0c8d994d0cbbb2f72985f6.zip |
Merge pull request #6291 from ingvagabund/fix-type
fix type in authroize
Diffstat (limited to 'roles/etcd')
-rw-r--r-- | roles/etcd/tasks/migration/add_ttls.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/etcd/tasks/migration/add_ttls.yml b/roles/etcd/tasks/migration/add_ttls.yml index 14625e49e..4bdc6bcc3 100644 --- a/roles/etcd/tasks/migration/add_ttls.yml +++ b/roles/etcd/tasks/migration/add_ttls.yml @@ -6,7 +6,7 @@ - set_fact: accessTokenMaxAgeSeconds: "{{ (g_master_config_output.content|b64decode|from_yaml).oauthConfig.tokenConfig.accessTokenMaxAgeSeconds | default(86400) }}" - authroizeTokenMaxAgeSeconds: "{{ (g_master_config_output.content|b64decode|from_yaml).oauthConfig.tokenConfig.authroizeTokenMaxAgeSeconds | default(500) }}" + authorizeTokenMaxAgeSeconds: "{{ (g_master_config_output.content|b64decode|from_yaml).oauthConfig.tokenConfig.authorizeTokenMaxAgeSeconds | default(500) }}" controllerLeaseTTL: "{{ (g_master_config_output.content|b64decode|from_yaml).controllerLeaseTTL | default(30) }}" - name: Re-introduce leases (as a replacement for key TTLs) @@ -29,6 +29,6 @@ - keys: "/openshift.io/oauth/accesstokens" ttl: "{{ accessTokenMaxAgeSeconds }}s" - keys: "/openshift.io/oauth/authorizetokens" - ttl: "{{ authroizeTokenMaxAgeSeconds }}s" + ttl: "{{ authorizeTokenMaxAgeSeconds }}s" - keys: "/openshift.io/leases/controllers" ttl: "{{ controllerLeaseTTL }}s" |