summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorMayra Cabrera <mcabrera@gitlab.com>2018-08-07 12:39:38 +0000
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2018-08-07 12:39:38 +0000
commitfc134096370c94bc1312060c42ed69b2665f0f95 (patch)
tree7e2a8764e590ae7128058cad67165f8ff1c66722 /db
parentb3deca7a2606a6b2cef464ed08417be4ffb0cb6b (diff)
downloadgitlab-ce-fc134096370c94bc1312060c42ed69b2665f0f95.tar.gz
Resolve "Mutual SSL Auth For Helm TIller"
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20180612103626_add_columns_for_helm_tiller_certificates.rb12
-rw-r--r--db/schema.rb3
2 files changed, 15 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..57cea18abcd
--- /dev/null
+++ b/db/migrate/20180612103626_add_columns_for_helm_tiller_certificates.rb
@@ -0,0 +1,12 @@
+# frozen_string_literal: true
+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
diff --git a/db/schema.rb b/db/schema.rb
index 709c7a9c121..30b8147a474 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -637,6 +637,9 @@ ActiveRecord::Schema.define(version: 20180726172057) do
t.integer "status", null: false
t.string "version", null: false
t.text "status_reason"
+ t.text "encrypted_ca_key"
+ t.text "encrypted_ca_key_iv"
+ t.text "ca_cert"
end
create_table "clusters_applications_ingress", force: :cascade do |t|