diff options
Diffstat (limited to 'kubernetes')
m--------- | kubernetes/aai | 0 | ||||
-rw-r--r-- | kubernetes/appc/charts/appc-ansible-server/templates/statefulset.yaml | 5 | ||||
-rw-r--r-- | kubernetes/appc/charts/appc-cdt/templates/deployment.yaml | 5 | ||||
-rw-r--r-- | kubernetes/appc/templates/statefulset.yaml | 5 | ||||
-rwxr-xr-x | kubernetes/cds/charts/cds-blueprints-processor/templates/service.yaml | 4 | ||||
-rwxr-xr-x | kubernetes/cds/charts/cds-blueprints-processor/values.yaml | 6 | ||||
-rw-r--r-- | kubernetes/cli/templates/deployment.yaml | 5 | ||||
m--------- | kubernetes/robot | 0 |
8 files changed, 21 insertions, 9 deletions
diff --git a/kubernetes/aai b/kubernetes/aai -Subproject e77bd83639f77e68f4c7df9b35c95a4d70e7038 +Subproject f1e329c458c48530da36dd1c6b38b7548116bd6 diff --git a/kubernetes/appc/charts/appc-ansible-server/templates/statefulset.yaml b/kubernetes/appc/charts/appc-ansible-server/templates/statefulset.yaml index 489eb9cab7..882372e9c7 100644 --- a/kubernetes/appc/charts/appc-ansible-server/templates/statefulset.yaml +++ b/kubernetes/appc/charts/appc-ansible-server/templates/statefulset.yaml @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -apiVersion: apps/v1beta1 +apiVersion: apps/v1 kind: StatefulSet metadata: name: {{ include "common.fullname" . }} @@ -23,6 +23,9 @@ metadata: release: {{ include "common.release" . }} heritage: {{ .Release.Service }} spec: + selector: + matchLabels: + app: {{ include "common.name" . }} replicas: {{ .Values.replicaCount }} template: metadata: diff --git a/kubernetes/appc/charts/appc-cdt/templates/deployment.yaml b/kubernetes/appc/charts/appc-cdt/templates/deployment.yaml index 2879964392..9cf2a10a38 100644 --- a/kubernetes/appc/charts/appc-cdt/templates/deployment.yaml +++ b/kubernetes/appc/charts/appc-cdt/templates/deployment.yaml @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 kind: Deployment metadata: name: {{ include "common.fullname" . }} @@ -23,6 +23,9 @@ metadata: release: {{ include "common.release" . }} heritage: {{ .Release.Service }} spec: + selector: + matchLabels: + app: {{ include "common.name" . }} replicas: {{ .Values.replicaCount }} template: metadata: diff --git a/kubernetes/appc/templates/statefulset.yaml b/kubernetes/appc/templates/statefulset.yaml index 3480e638aa..d9617fd299 100644 --- a/kubernetes/appc/templates/statefulset.yaml +++ b/kubernetes/appc/templates/statefulset.yaml @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -apiVersion: apps/v1beta1 +apiVersion: apps/v1 kind: StatefulSet metadata: name: {{ include "common.fullname" . }} @@ -23,6 +23,9 @@ metadata: release: {{ include "common.release" . }} heritage: {{ .Release.Service }} spec: + selector: + matchLabels: + app: {{ include "common.name" . }} serviceName: "{{ .Values.service.name }}-cluster" replicas: {{ .Values.replicaCount }} podManagementPolicy: Parallel diff --git a/kubernetes/cds/charts/cds-blueprints-processor/templates/service.yaml b/kubernetes/cds/charts/cds-blueprints-processor/templates/service.yaml index a6a21a6a01..14c8b22121 100755 --- a/kubernetes/cds/charts/cds-blueprints-processor/templates/service.yaml +++ b/kubernetes/cds/charts/cds-blueprints-processor/templates/service.yaml @@ -65,7 +65,7 @@ metadata: labels: app: {{ include "common.name" . }} chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} - release: {{ .Release.Name }} + release: {{ include "common.release" . }} heritage: {{ .Release.Service }} annotations: spec: @@ -79,4 +79,4 @@ spec: name: {{ .Values.service.cluster.portName | default "cluster" }} selector: app: {{ include "common.name" . }} - release: {{ .Release.Name }} + release: {{ include "common.release" . }} diff --git a/kubernetes/cds/charts/cds-blueprints-processor/values.yaml b/kubernetes/cds/charts/cds-blueprints-processor/values.yaml index c481a4b1b3..2de835492f 100755 --- a/kubernetes/cds/charts/cds-blueprints-processor/values.yaml +++ b/kubernetes/cds/charts/cds-blueprints-processor/values.yaml @@ -71,7 +71,7 @@ debugEnabled: false # application configuration config: appConfigDir: /opt/app/onap/config - useScriptCompileCache: true + useScriptCompileCache: false sdncDB: dbService: mariadb-galera dbPort: 3306 @@ -89,7 +89,7 @@ config: # dbRootPassExternalSecret # default number of instances -replicaCount: 1 +replicaCount: 3 nodeSelector: {} @@ -142,7 +142,7 @@ persistence: cluster: # Cannot have cluster enabled if the replicaCount is not at least 3 # AND config value useScriptCompileCache is not set to false - enabled: false + enabled: true clusterName: cds-cluster diff --git a/kubernetes/cli/templates/deployment.yaml b/kubernetes/cli/templates/deployment.yaml index 58fc6663c5..539279f93d 100644 --- a/kubernetes/cli/templates/deployment.yaml +++ b/kubernetes/cli/templates/deployment.yaml @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 kind: Deployment metadata: name: {{ include "common.fullname" . }} @@ -24,6 +24,9 @@ metadata: heritage: {{ .Release.Service }} spec: replicas: {{ .Values.replicaCount }} + selector: + matchLabels: + app: {{ include "common.name" . }} template: metadata: labels: diff --git a/kubernetes/robot b/kubernetes/robot -Subproject 44a38a594677ca38c4eea288908ebf503ad91b4 +Subproject 068514942a7af8ddfabd55697a67a8d27f799af |