Skip to content
Merged
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
25 changes: 25 additions & 0 deletions bootstrap/deployments/gitops-testing-dev.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
apiVersion: deployments.plural.sh/v1alpha1
kind: ServiceDeployment
metadata:
name: gitops-testing-dev
namespace: gitops-example
spec:
namespace: gitops-testing
name: gitops-testing-dev
flowRef:
name: gitops-testing
namespace: gitops-example
repositoryRef:
kind: GitRepository
name: gitops-example
namespace: infra
git:
ref: main
folder: deployments/helm/gitops-testing
helm:
url: oci://ghcr.io/pluralsh/example-charts
chart: stateless
valuesFiles:
- base.yaml
- dev.yaml
cluster: demo-dev
8 changes: 8 additions & 0 deletions bootstrap/flows/gitops-testing.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: deployments.plural.sh/v1alpha1
kind: Flow
metadata:
name: gitops-testing
namespace: gitops-example
spec:
name: gitops-testing
description: Basic stateless microservice for dev.
19 changes: 19 additions & 0 deletions deployments/helm/gitops-testing/base.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
image:
repository: "ghcr.io/pluralsh/plrl-cd-test"
pullPolicy: IfNotPresent

service:
type: ClusterIP
port: 80

serviceAccount:
create: true
automount: true

resources:
requests:
cpu: 50m
memory: 64Mi
limits:
cpu: 250m
memory: 256Mi
7 changes: 7 additions & 0 deletions deployments/helm/gitops-testing/dev.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
replicaCount: 1

image:
tag: "latest"

podLabels:
plural.sh/environment: "dev"
Loading