summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2018-06-02 06:14:58 -0700
committerStan Hu <stanhu@gmail.com>2018-06-02 06:14:58 -0700
commitca466d5d152e1a4f35ef044f344d8b7b33617db2 (patch)
tree4fe1c9faefb441c904f7d7fc2e41b4f1b14e20e3 /db
parent61df812ac688cb0848752f9f26f77d65eadf160a (diff)
downloadgitlab-ce-ca466d5d152e1a4f35ef044f344d8b7b33617db2.tar.gz
Fix missing key change in 20171124104327_migrate_kubernetes_service_to_new_clusters_architectures.rbsh-fix-secrets-not-working
Diffstat (limited to 'db')
-rw-r--r--db/post_migrate/20171124104327_migrate_kubernetes_service_to_new_clusters_architectures.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/post_migrate/20171124104327_migrate_kubernetes_service_to_new_clusters_architectures.rb b/db/post_migrate/20171124104327_migrate_kubernetes_service_to_new_clusters_architectures.rb
index 1586a7eb92f..a957f107405 100644
--- a/db/post_migrate/20171124104327_migrate_kubernetes_service_to_new_clusters_architectures.rb
+++ b/db/post_migrate/20171124104327_migrate_kubernetes_service_to_new_clusters_architectures.rb
@@ -48,7 +48,7 @@ class MigrateKubernetesServiceToNewClustersArchitectures < ActiveRecord::Migrati
attr_encrypted :token,
mode: :per_attribute_iv,
- key: Settings.attr_encrypted_db_key_base,
+ key: Settings.attr_encrypted_db_key_base_truncated,
algorithm: 'aes-256-cbc'
end