diff options
Diffstat (limited to 'app/graphql/mutations/environments')
-rw-r--r-- | app/graphql/mutations/environments/create.rb | 5 | ||||
-rw-r--r-- | app/graphql/mutations/environments/update.rb | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/app/graphql/mutations/environments/create.rb b/app/graphql/mutations/environments/create.rb index 271585eb06c..f18ce0eba97 100644 --- a/app/graphql/mutations/environments/create.rb +++ b/app/graphql/mutations/environments/create.rb @@ -35,6 +35,11 @@ module Mutations required: false, description: 'Cluster agent of the environment.' + argument :kubernetes_namespace, + GraphQL::Types::String, + required: false, + description: 'Kubernetes namespace of the environment.' + field :environment, Types::EnvironmentType, null: true, diff --git a/app/graphql/mutations/environments/update.rb b/app/graphql/mutations/environments/update.rb index 431a7add00e..07ab22685cc 100644 --- a/app/graphql/mutations/environments/update.rb +++ b/app/graphql/mutations/environments/update.rb @@ -28,6 +28,11 @@ module Mutations required: false, description: 'Cluster agent of the environment.' + argument :kubernetes_namespace, + GraphQL::Types::String, + required: false, + description: 'Kubernetes namespace of the environment.' + field :environment, Types::EnvironmentType, null: true, |