Skip to content
Snippets Groups Projects
Commit ecea6590 authored by xiaohua guan's avatar xiaohua guan Committed by Yas Naoi
Browse files

Issue #3186692 by Xiaohua Guan, yas: Fix the K8s Project functionalities...

Issue #3186692 by Xiaohua Guan, yas: Fix the K8s Project functionalities (Resource limit in case of Pod Count = 0)
parent 1a1990dc
No related branches found
No related tags found
No related merge requests found
...@@ -14,10 +14,10 @@ required: false ...@@ -14,10 +14,10 @@ required: false
translatable: false translatable: false
default_value: default_value:
- -
value: 0 value: 1
default_value_callback: '' default_value_callback: ''
settings: settings:
min: 0 min: 1
max: null max: null
prefix: '' prefix: ''
suffix: '' suffix: ''
......
...@@ -2235,6 +2235,16 @@ function k8s_update_8297() { ...@@ -2235,6 +2235,16 @@ function k8s_update_8297() {
\Drupal::service('cloud')->updateYmlDefinitions($files, 'k8s'); \Drupal::service('cloud')->updateYmlDefinitions($files, 'k8s');
} }
/**
* Update field_pod_count for cloud_project.
*/
function k8s_update_8298() {
$files = [
'field.field.cloud_project.k8s.field_pod_count.yml',
];
\Drupal::service('cloud')->updateYmlDefinitions($files, 'k8s');
}
/** /**
* Implements hook_update_dependencies(). * Implements hook_update_dependencies().
*/ */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment