summaryrefslogtreecommitdiff
path: root/db/migrate
diff options
context:
space:
mode:
authorDylan Griffith <dyl.griffith@gmail.com>2018-07-24 12:02:35 +0100
committerDylan Griffith <dyl.griffith@gmail.com>2018-07-30 13:08:30 +0000
commit11edbcccef37f08b089386c41d3914df7f48a677 (patch)
tree3017e5e2904d11023075c5e84ddba5320e2b623f /db/migrate
parentce897f11a0650b0d6938cb506a030ef00160ab7a (diff)
downloadgitlab-ce-11edbcccef37f08b089386c41d3914df7f48a677.tar.gz
Get mutual SSL working with helm tiller
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20180612103626_add_columns_for_helm_tiller_certificates.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/db/migrate/20180612103626_add_columns_for_helm_tiller_certificates.rb b/db/migrate/20180612103626_add_columns_for_helm_tiller_certificates.rb
new file mode 100644
index 00000000000..d9f15b6b67d
--- /dev/null
+++ b/db/migrate/20180612103626_add_columns_for_helm_tiller_certificates.rb
@@ -0,0 +1,11 @@
+class AddColumnsForHelmTillerCertificates < ActiveRecord::Migration
+ include Gitlab::Database::MigrationHelpers
+
+ DOWNTIME = false
+
+ def change
+ add_column :clusters_applications_helm, :encrypted_ca_key, :text
+ add_column :clusters_applications_helm, :encrypted_ca_key_iv, :text
+ add_column :clusters_applications_helm, :ca_cert, :text
+ end
+end