Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Love 1588 #133

Open
wants to merge 7 commits into
base: LOVE-1459
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
expect:
assertion:
generated_files:
- file_name: xebialabs/kubernetes/xl-deploy/external-db/active-active/xld-deployment-master.yaml
has_elements:
'[3]metadata.annotations.kubernetes\.io/ingress\.class': 'haproxy'
'[3]metadata.annotations.ingress\.kubernetes\.io/rewrite-target': '/'
'[3]metadata.annotations.ingress\.kubernetes\.io/ssl-redirect': 'false'
'[3]metadata.annotations.ingress\.kubernetes\.io/affinity': 'cookie'
'[3]metadata.annotations.ingress\.kubernetes\.io/session-cookie-name': 'SESSION_XLD'
'[3]metadata.annotations.ingress\.kubernetes\.io/session-cookie-strategy': 'prefix'
secrets:
DockerPass: docker-pass
MonitoringUserPass: mon-pass
XlKeyStorePass: test123
XldAdminPass: password
XldDbPass: xl-deploy
values:
DockerUser: docker-user
InstallXLD: true
InstallXLR: false
K8sApiServerURL: https://k8s.com:8443
K8sAuthentication: FilePath
K8sSetup: Openshift
MonitoringInstall: true
MonitoringUser: mon-user
NfsServerHost: 12.2.2.2
NfsSharePath: /xebialabs

PostgresEffectCacheSize: 2GB
PostgresMaxConn: 400
PostgresMaxWallSize: 512MB
PostgresSharedBuff: 612MB
PostgresSyncCommit: 'off'
RegistryURL: docker.io/xebialabs
UseCustomRegistry: true
UseKubeconfig: false
XldDbName: xl-deploy
XldDbUser: xl-deploy
XldVersion: xl-deploy:8.5.3
to_exist:
- xebialabs/common.yaml
- xebialabs/deployments.yaml
- xebialabs/xl-deploy.yaml
- xebialabs/xl-k8s-foundation.yaml
- xebialabs/kubernetes/xl-k8s-foundation/openshift-scc/sa-scc.yaml
- xebialabs/kubernetes/xl-k8s-foundation/ha-proxy-ingress-controller/ingress-controller.yaml
- xebialabs/kubernetes/xl-k8s-foundation/ha-proxy-ingress-controller/default-backend.yaml
- xebialabs/kubernetes/xl-k8s-foundation/xebialabs-service-internal.yaml
- xebialabs/kubernetes/xl-k8s-foundation/postgresql/xl-postgresql.yaml
- xebialabs/kubernetes/xl-k8s-foundation/nfs-client-provisioner/rbac.yaml
- xebialabs/kubernetes/xl-k8s-foundation/nfs-client-provisioner/deployment.yaml
- xebialabs/kubernetes/xl-k8s-foundation/nfs-client-provisioner/storageclass.yaml
- xebialabs/kubernetes/xl-k8s-foundation/xl-pvc/pvc-xld-export.yaml

- xebialabs/kubernetes/xl-deploy/external-db/active-active/xld-deployment-master.yaml
- xebialabs/kubernetes/xl-deploy/external-db/active-active/xld-deployment-worker.yaml
- xebialabs/kubernetes/efk-stack/elasticsearch/rbac.yaml
- xebialabs/kubernetes/efk-stack/elasticsearch/deployment.yaml
- xebialabs/kubernetes/efk-stack/fluentd/configmap.yaml
- xebialabs/kubernetes/efk-stack/fluentd/daemonset.yaml
- xebialabs/kubernetes/efk-stack/fluentd/rbac.yaml
- xebialabs/kubernetes/efk-stack/kibana/deployment.yaml
- xebialabs/kubernetes/efk-stack/kibana/ingress.yaml
- xebialabs/kubernetes/efk-stack/kibana/dashboard-job.yaml
- xebialabs/kubernetes/efk-stack/es-curator/cronjob.yaml
- xebialabs/kubernetes/efk-stack/es-curator/configmap.yaml
- xebialabs/kubernetes/pg-stack/prometheus/rbac.yaml
- xebialabs/kubernetes/pg-stack/prometheus/configmap.yaml
- xebialabs/kubernetes/pg-stack/prometheus/deployment.yaml
- xebialabs/kubernetes/pg-stack/grafana/configmap.yaml
- xebialabs/kubernetes/pg-stack/grafana/secret.yaml
- xebialabs/kubernetes/pg-stack/grafana/deployment.yaml
- xebialabs/kubernetes/pg-stack/grafana/importer-job.yaml
- xebialabs/kubernetes/pg-stack/grafana/ingress.yaml
- xebialabs/kubernetes/pg-stack/grafana/pvc.yaml
- xebialabs/kubernetes/pg-stack/kube-state-metrics/kube-state-metrics-cluster-role.yaml
- xebialabs/kubernetes/pg-stack/kube-state-metrics/kube-state-metrics-cluster-role-binding.yaml
- xebialabs/kubernetes/pg-stack/kube-state-metrics/kube-state-metrics-deployment.yaml
- xebialabs/kubernetes/pg-stack/kube-state-metrics/kube-state-metrics-role.yaml
- xebialabs/kubernetes/pg-stack/kube-state-metrics/kube-state-metrics-role-binding.yaml
- xebialabs/kubernetes/pg-stack/kube-state-metrics/kube-state-metrics-service.yaml
- xebialabs/kubernetes/pg-stack/kube-state-metrics/kube-state-metrics-service-account.yaml
to_not_exist:
- xebialabs/xl-release.yaml
- xebialabs/kubernetes/xl-release/local-db/xlr-deployment-single-node.yaml
- xebialabs/kubernetes/xl-release/external-db/active-active/xlr-deployment-active.yaml
- xebialabs/kubernetes/xl-k8s-foundation/xl-pvc/pvc-xlr-reports.yaml
- xebialabs/kubernetes/xl-deploy/local-db/xld-deployment-single-node.yaml
- xebialabs/kubernetes/xl-k8s-foundation/ha-proxy-ingress-controller/service-l7.yaml
- xebialabs/kubernetes/xl-k8s-foundation/aws-gp2-storageclass.yaml
- xebialabs/kubernetes/xl-k8s-foundation/aws-efs/aws-efs-storageclass.yaml
- xebialabs/kubernetes/xl-k8s-foundation/aws-efs/aws-efs-rbac.yaml
- xebialabs/kubernetes/xl-k8s-foundation/aws-efs/aws-efs-deployment.yaml
- xebialabs/kubernetes/xl-k8s-foundation/aws-efs/aws-efs-conf.yaml
with_answers:
DockerPass: docker-pass
DockerUser: docker-user
InstallXLD: true
InstallXLR: false
K8sApiServerURL: https://k8s.com:8443
K8sAuthentication: FilePath
K8sClientCertFile: ../integration-tests/files/test-file
K8sClientKeyFile: ../integration-tests/files/test-file
K8sSetup: Openshift
MonitoringInstall: true
MonitoringUser: mon-user
MonitoringUserPass: mon-pass
NfsServerHost: 12.2.2.2
NfsSharePath: /xebialabs

PostgresEffectCacheSize: 2GB
PostgresMaxConn: 400
PostgresMaxWallSize: 512MB
PostgresSharedBuff: 612MB
PostgresSyncCommit: 'off'
RegistryURL: docker.io/xebialabs
UseCustomRegistry: true
UseKubeconfig: false
XlKeyStore: ../integration-tests/files/test-file
XlKeyStorePass: test123
XldAdminPass: password
XldDbName: xl-deploy
XldDbPass: xl-deploy
XldDbUser: xl-deploy
XldLic: ../integration-tests/files/test-file
XldVersion: xl-deploy:8.5.3
xl_mode: up
Original file line number Diff line number Diff line change
@@ -0,0 +1,232 @@
expect:
assertion:
generated_files:
- file_name: xebialabs/kubernetes/xl-release/external-db/active-active/xlr-deployment-active.yaml
has_elements:
'[3]spec.template.spec.initContainers[0].image': 'docker.io/xebialabsunsupported/tiny-tools'
'[3]spec.template.spec.initContainers[1].image': 'docker.io/xebialabsunsupported/tiny-tools'
'[3]spec.template.spec.containers[0].image': 'docker.io/xebialabsunsupported/xl-release:8.5.3'
'[3]spec.template.spec.imagePullSecrets[0].name': 'dockercred'
- file_name: xebialabs/kubernetes/xl-k8s-foundation/rabbitmq/xl-rabbitmq.yaml
has_elements:
'[1]spec.template.spec.containers[0].image': 'docker.io/xebialabsunsupported/rabbitmq:3.8.0-management'
'[1]spec.template.spec.imagePullSecrets[0].name': 'dockercred'
- file_name: xebialabs/kubernetes/xl-k8s-foundation/postgresql/xl-postgresql.yaml
has_elements:
'[1]spec.template.spec.initContainers[0].image': 'docker.io/xebialabsunsupported/tiny-tools'
'[1]spec.template.spec.initContainers[1].image': 'docker.io/xebialabsunsupported/tiny-tools'
'[1]spec.template.spec.containers[0].image': 'docker.io/xebialabsunsupported/postgres:10.5'
'[1]spec.template.spec.imagePullSecrets[0].name': 'dockercred'
- file_name: xebialabs/kubernetes/xl-k8s-foundation/ha-proxy-ingress-controller/default-backend.yaml
has_elements:
'[0]spec.template.spec.containers[0].image': 'docker.io/xebialabsunsupported/defaultbackend:1.4'
'[0]spec.template.spec.imagePullSecrets[0].name': 'dockercred'
- file_name: xebialabs/kubernetes/xl-k8s-foundation/ha-proxy-ingress-controller/ingress-controller.yaml
has_elements:
'[6]spec.template.spec.containers[0].image': 'docker.io/xebialabsunsupported/haproxy-ingress:v0.6'
'[6]spec.template.spec.imagePullSecrets[0].name': 'dockercred'
- file_name: xebialabs/kubernetes/xl-k8s-foundation/nfs-client-provisioner/deployment.yaml
has_elements:
'spec.template.spec.containers[0].image': 'docker.io/xebialabsunsupported/nfs-client-provisioner:latest'
'spec.template.spec.imagePullSecrets[0].name': 'dockercred'
- file_name: xebialabs/kubernetes/xl-deploy/external-db/active-active/xld-deployment-master.yaml
has_elements:
'[4]spec.template.spec.initContainers[0].image': 'docker.io/xebialabsunsupported/tiny-tools'
'[4]spec.template.spec.initContainers[1].image': 'docker.io/xebialabsunsupported/tiny-tools'
'[4]spec.template.spec.initContainers[2].image': 'docker.io/xebialabsunsupported/tiny-tools'
'[4]spec.template.spec.containers[0].image': 'docker.io/xebialabsunsupported/xl-deploy:8.5.3'
'[4]spec.template.spec.imagePullSecrets[0].name': 'dockercred'
- file_name: xebialabs/kubernetes/xl-deploy/external-db/active-active/xld-deployment-worker.yaml
has_elements:
'[1]spec.template.spec.initContainers[0].image': 'docker.io/xebialabsunsupported/tiny-tools'
'[1]spec.template.spec.initContainers[1].image': 'docker.io/xebialabsunsupported/tiny-tools'
'[1]spec.template.spec.containers[0].image': 'docker.io/xebialabsunsupported/xl-deploy:8.5.3'
'[1]spec.template.spec.imagePullSecrets[0].name': 'dockercred'
- file_name: xebialabs/kubernetes/pg-stack/grafana/deployment.yaml
has_elements:
'[0]spec.template.spec.initContainers[0].image': 'docker.io/xebialabsunsupported/tiny-tools'
'[0]spec.template.spec.containers[0].image': 'docker.io/xebialabsunsupported/grafana:5.4.4'
'[0]spec.template.spec.imagePullSecrets[0].name': 'dockercred'
- file_name: xebialabs/kubernetes/pg-stack/grafana/importer-job.yaml
has_elements:
'spec.template.spec.initContainers[0].image': 'docker.io/xebialabsunsupported/tiny-tools'
'spec.template.spec.containers[0].image': 'docker.io/xebialabsunsupported/tiny-tools'
'spec.template.spec.imagePullSecrets[0].name': 'dockercred'
- file_name: xebialabs/kubernetes/pg-stack/kube-state-metrics/kube-state-metrics-deployment.yaml
has_elements:
'spec.template.spec.containers[0].image': 'docker.io/xebialabsunsupported/kube-state-metrics:v1.5.0'
'spec.template.spec.containers[1].image': 'docker.io/xebialabsunsupported/addon-resizer:1.8.3'
'spec.template.spec.imagePullSecrets[0].name': 'dockercred'
- file_name: xebialabs/kubernetes/pg-stack/prometheus/deployment.yaml
has_elements:
'spec.template.spec.initContainers[0].image': 'docker.io/xebialabsunsupported/tiny-tools'
'spec.template.spec.containers[0].image': 'docker.io/xebialabsunsupported/prometheus:v2.7.2'
'spec.template.spec.imagePullSecrets[0].name': 'dockercred'
- file_name: xebialabs/kubernetes/efk-stack/elasticsearch/deployment.yaml
has_elements:
'[0]spec.template.spec.initContainers[0].image': 'docker.io/xebialabsunsupported/tiny-tools'
'[0]spec.template.spec.initContainers[1].image': 'docker.io/xebialabsunsupported/tiny-tools'
'[0]spec.template.spec.containers[0].image': 'docker.io/xebialabsunsupported/elasticsearch-oss:6.5.0'
'[0]spec.template.spec.imagePullSecrets[0].name': 'dockercred'
- file_name: xebialabs/kubernetes/efk-stack/es-curator/cronjob.yaml
has_elements:
'spec.jobTemplate.spec.template.spec.containers[0].image': 'docker.io/xebialabsunsupported/xl-es-curator'
'spec.jobTemplate.spec.template.spec.imagePullSecrets[0].name': 'dockercred'
- file_name: xebialabs/kubernetes/efk-stack/fluentd/daemonset.yaml
has_elements:
'spec.template.spec.containers[0].image': 'docker.io/xebialabsunsupported/fluentd-elasticsearch:v2.3.2'
'spec.template.spec.imagePullSecrets[0].name': 'dockercred'
- file_name: xebialabs/kubernetes/efk-stack/kibana/deployment.yaml
has_elements:
'[0]spec.template.spec.initContainers[0].image': 'docker.io/xebialabsunsupported/tiny-tools'
'[0]spec.template.spec.containers[0].image': 'docker.io/xebialabsunsupported/kibana-oss:6.5.0'
'[0]spec.template.spec.imagePullSecrets[0].name': 'dockercred'
- file_name: xebialabs/kubernetes/efk-stack/kibana/dashboard-job.yaml
has_elements:
'spec.template.spec.initContainers[0].image': 'docker.io/xebialabsunsupported/tiny-tools'
'spec.template.spec.initContainers[1].image': 'docker.io/xebialabsunsupported/tiny-tools'
'spec.template.spec.containers[0].image': 'docker.io/xebialabsunsupported/kibana-dashboard:1.0.0'
'spec.template.spec.imagePullSecrets[0].name': 'dockercred'
- file_name: xebialabs/kubernetes/xl-deploy/external-db/active-active/xld-deployment-master.yaml
has_elements:
'[3]metadata.annotations.kubernetes\.io/ingress\.class': 'haproxy'
'[3]metadata.annotations.ingress\.kubernetes\.io/rewrite-target': '/'
'[3]metadata.annotations.ingress\.kubernetes\.io/ssl-redirect': 'false'
'[3]metadata.annotations.ingress\.kubernetes\.io/affinity': 'cookie'
'[3]metadata.annotations.ingress\.kubernetes\.io/session-cookie-name': 'SESSION_XLD'
'[3]metadata.annotations.ingress\.kubernetes\.io/session-cookie-strategy': 'prefix'
secrets:
DockerPass: docker-pass
MonitoringUserPass: mon-pass
XlKeyStorePass: test123
XldAdminPass: password
XldDbPass: xl-deploy
XlrAdminPass: password
XlrDbPass: xl-release
XlrReportDbPass: xl-release-report
values:
DockerUser: docker-user
InstallXLD: true
InstallXLR: true
K8sApiServerURL: https://k8s.com:8443
K8sAuthentication: FilePath
K8sSetup: Openshift
MonitoringInstall: true
MonitoringUser: mon-user
NfsServerHost: 12.2.2.2
NfsSharePath: /xebialabs

PostgresEffectCacheSize: 2GB
PostgresMaxConn: 400
PostgresMaxWallSize: 512MB
PostgresSharedBuff: 612MB
PostgresSyncCommit: 'off'
RegistryURL: docker.io/xebialabsunsupported
UseCustomRegistry: true
UseKubeconfig: false
XldDbName: xl-deploy
XldDbUser: xl-deploy
XldVersion: xl-deploy:8.5.3
XlrDbName: xl-release
XlrDbUser: xl-release
XlrReportDbName: xl-release-report
XlrReportDbUser: xl-release-report
XlrVersion: xl-release:8.5.3
to_exist:
- xebialabs/common.yaml
- xebialabs/deployments.yaml
- xebialabs/xl-deploy.yaml
- xebialabs/xl-release.yaml
- xebialabs/xl-k8s-foundation.yaml
- xebialabs/kubernetes/xl-k8s-foundation/openshift-scc/sa-scc.yaml
- xebialabs/kubernetes/xl-k8s-foundation/ha-proxy-ingress-controller/ingress-controller.yaml
- xebialabs/kubernetes/xl-k8s-foundation/ha-proxy-ingress-controller/default-backend.yaml
- xebialabs/kubernetes/xl-k8s-foundation/xebialabs-service-internal.yaml
- xebialabs/kubernetes/xl-k8s-foundation/postgresql/xl-postgresql.yaml
- xebialabs/kubernetes/xl-k8s-foundation/nfs-client-provisioner/rbac.yaml
- xebialabs/kubernetes/xl-k8s-foundation/nfs-client-provisioner/deployment.yaml
- xebialabs/kubernetes/xl-k8s-foundation/nfs-client-provisioner/storageclass.yaml
- xebialabs/kubernetes/xl-k8s-foundation/xl-pvc/pvc-xld-export.yaml

- xebialabs/kubernetes/xl-deploy/external-db/active-active/xld-deployment-master.yaml
- xebialabs/kubernetes/xl-deploy/external-db/active-active/xld-deployment-worker.yaml
- xebialabs/kubernetes/xl-release/external-db/active-active/xlr-deployment-active.yaml
- xebialabs/kubernetes/xl-k8s-foundation/xl-pvc/pvc-xlr-reports.yaml
- xebialabs/kubernetes/efk-stack/elasticsearch/rbac.yaml
- xebialabs/kubernetes/efk-stack/elasticsearch/deployment.yaml
- xebialabs/kubernetes/efk-stack/fluentd/configmap.yaml
- xebialabs/kubernetes/efk-stack/fluentd/daemonset.yaml
- xebialabs/kubernetes/efk-stack/fluentd/rbac.yaml
- xebialabs/kubernetes/efk-stack/kibana/deployment.yaml
- xebialabs/kubernetes/efk-stack/kibana/ingress.yaml
- xebialabs/kubernetes/efk-stack/kibana/dashboard-job.yaml
- xebialabs/kubernetes/efk-stack/es-curator/cronjob.yaml
- xebialabs/kubernetes/efk-stack/es-curator/configmap.yaml
- xebialabs/kubernetes/pg-stack/prometheus/rbac.yaml
- xebialabs/kubernetes/pg-stack/prometheus/configmap.yaml
- xebialabs/kubernetes/pg-stack/prometheus/deployment.yaml
- xebialabs/kubernetes/pg-stack/grafana/configmap.yaml
- xebialabs/kubernetes/pg-stack/grafana/secret.yaml
- xebialabs/kubernetes/pg-stack/grafana/deployment.yaml
- xebialabs/kubernetes/pg-stack/grafana/importer-job.yaml
- xebialabs/kubernetes/pg-stack/grafana/ingress.yaml
- xebialabs/kubernetes/pg-stack/grafana/pvc.yaml
- xebialabs/kubernetes/pg-stack/kube-state-metrics/kube-state-metrics-cluster-role.yaml
- xebialabs/kubernetes/pg-stack/kube-state-metrics/kube-state-metrics-cluster-role-binding.yaml
- xebialabs/kubernetes/pg-stack/kube-state-metrics/kube-state-metrics-deployment.yaml
- xebialabs/kubernetes/pg-stack/kube-state-metrics/kube-state-metrics-role.yaml
- xebialabs/kubernetes/pg-stack/kube-state-metrics/kube-state-metrics-role-binding.yaml
- xebialabs/kubernetes/pg-stack/kube-state-metrics/kube-state-metrics-service.yaml
- xebialabs/kubernetes/pg-stack/kube-state-metrics/kube-state-metrics-service-account.yaml
to_not_exist:
- xebialabs/kubernetes/xl-k8s-foundation/ha-proxy-ingress-controller/service-l7.yaml
- xebialabs/kubernetes/xl-k8s-foundation/aws-gp2-storageclass.yaml
- xebialabs/kubernetes/xl-k8s-foundation/aws-efs/aws-efs-storageclass.yaml
- xebialabs/kubernetes/xl-k8s-foundation/aws-efs/aws-efs-rbac.yaml
- xebialabs/kubernetes/xl-k8s-foundation/aws-efs/aws-efs-deployment.yaml
- xebialabs/kubernetes/xl-k8s-foundation/aws-efs/aws-efs-conf.yaml
- xebialabs/kubernetes/xl-deploy/local-db/xld-deployment-single-node.yaml
- xebialabs/kubernetes/xl-release/local-db/xlr-deployment-single-node.yaml
with_answers:
DockerPass: docker-pass
DockerUser: docker-user
InstallXLD: true
InstallXLR: true
K8sApiServerURL: https://k8s.com:8443
K8sAuthentication: FilePath
K8sClientCertFile: ../integration-tests/files/test-file
K8sClientKeyFile: ../integration-tests/files/test-file
K8sSetup: Openshift
MonitoringInstall: true
MonitoringUser: mon-user
MonitoringUserPass: mon-pass
NfsServerHost: 12.2.2.2
NfsSharePath: /xebialabs

PostgresEffectCacheSize: 2GB
PostgresMaxConn: 400
PostgresMaxWallSize: 512MB
PostgresSharedBuff: 612MB
PostgresSyncCommit: 'off'
RegistryURL: docker.io/xebialabsunsupported
UseCustomRegistry: true
UseCustomRegistryForAllImages: true
UseKubeconfig: false
XlKeyStore: ../integration-tests/files/test-file
XlKeyStorePass: test123
XldAdminPass: password
XldDbName: xl-deploy
XldDbPass: xl-deploy
XldDbUser: xl-deploy
XldLic: ../integration-tests/files/test-file
XldVersion: xl-deploy:8.5.3
XlrAdminPass: password
XlrDbName: xl-release
XlrDbPass: xl-release
XlrDbUser: xl-release
XlrLic: ../integration-tests/files/test-file
XlrReportDbName: xl-release-report
XlrReportDbPass: xl-release-report
XlrReportDbUser: xl-release-report
XlrVersion: xl-release:8.5.3
xl_mode: up
Loading