Skip to content

Commit

Permalink
move templates
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Nairn <[email protected]>
  • Loading branch information
mikenairn committed Dec 12, 2024
1 parent 1838ecb commit a0beb3c
Show file tree
Hide file tree
Showing 15 changed files with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions test/scale/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,26 +30,26 @@ jobs:
- objectTemplate: ../../config/rbac/leader_election_role.yaml
kind: Role
replicas: 1
- objectTemplate: ./dns-operator/role-binding.yaml
- objectTemplate: ./kubeburner-object-templates/dns-operator/role-binding.yaml
kind: ClusterRoleBinding
replicas: 1
inputVars:
Namespace: "kuadrant-dns-operator"
- objectTemplate: ./dns-operator/leader-election-role-binding.yaml
- objectTemplate: ./kubeburner-object-templates/dns-operator/leader-election-role-binding.yaml
kind: RoleBinding
replicas: 1
inputVars:
Namespace: "kuadrant-dns-operator"
- objectTemplate: ./dns-operator/service-account.yaml
- objectTemplate: ./kubeburner-object-templates/dns-operator/service-account.yaml
kind: ServiceAccount
replicas: 1
- objectTemplate: ./dns-operator/dns-operator-deployment.yaml
- objectTemplate: ./kubeburner-object-templates/dns-operator/dns-operator-deployment.yaml
kind: Deployment
replicas: 1
- objectTemplate: ./dns-operator/metrics-service.yaml
- objectTemplate: ./kubeburner-object-templates/dns-operator/metrics-service.yaml
kind: Service
replicas: 1
- objectTemplate: ./dns-operator/service-monitor.yaml
- objectTemplate: ./kubeburner-object-templates/dns-operator/service-monitor.yaml
kind: ServiceMonitor
replicas: 1
- name: scale-test-setup
Expand All @@ -61,21 +61,21 @@ jobs:
maxWaitTimeout: 5m
preLoadImages: false
objects:
- objectTemplate: ./httpbin/deployment.yaml
- objectTemplate: ./kubeburner-object-templates/httpbin/deployment.yaml
kind: Deployment
replicas: 1
- objectTemplate: ./httpbin/service.yaml
- objectTemplate: ./kubeburner-object-templates/httpbin/service.yaml
kind: Service
replicas: 1
{{if (eq .DNS_PROVIDER "inmemory")}}
- objectTemplate: ./inmemory-credentials.yaml
- objectTemplate: ./kubeburner-object-templates/inmemory-credentials.yaml
kind: Secret
replicas: 1
inputVars:
KUADRANT_ZONE_ROOT_DOMAIN: '{{ .KUADRANT_ZONE_ROOT_DOMAIN }}'
{{end}}
{{if (eq .DNS_PROVIDER "aws")}}
- objectTemplate: ./aws-credentials.yaml
- objectTemplate: ./kubeburner-object-templates/aws-credentials.yaml
kind: Secret
replicas: 1
inputVars:
Expand All @@ -84,15 +84,15 @@ jobs:
KUADRANT_AWS_SECRET_ACCESS_KEY: '{{ .KUADRANT_AWS_SECRET_ACCESS_KEY }}'
{{end}}
{{if (eq .DNS_PROVIDER "gcp")}}
- objectTemplate: ./gcp-credentials.yaml
- objectTemplate: ./kubeburner-object-templates/gcp-credentials.yaml
kind: Secret
replicas: 1
inputVars:
KUADRANT_GCP_GOOGLE_CREDENTIALS: '{{ .KUADRANT_GCP_GOOGLE_CREDENTIALS }}'
KUADRANT_GCP_PROJECT_ID: '{{ .KUADRANT_GCP_PROJECT_ID }}'
{{end}}
{{if (eq .DNS_PROVIDER "azure")}}
- objectTemplate: ./azure-credentials.yaml
- objectTemplate: ./kubeburner-object-templates/azure-credentials.yaml
kind: Secret
replicas: 1
inputVars:
Expand All @@ -106,7 +106,7 @@ jobs:
waitWhenFinished: true #default
maxWaitTimeout: 2m
objects:
- objectTemplate: ./dnsrecord-loadbalanced.yaml
- objectTemplate: ./kubeburner-object-templates/dnsrecord-loadbalanced.yaml
kind: DNSRecord
replicas: 1
inputVars:
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit a0beb3c

Please sign in to comment.