dag-andersen / argocd-diff-preview

Tool for rendering manifest changes on pull requests.
45 stars 2 forks source link

Kustomize Example #7

Closed dag-andersen closed 2 months ago

github-actions[bot] commented 3 months ago

Argo CD Diff Preview

Summary:

 {base-branch => target-branch}/my-service-production | 2 +-
 {base-branch => target-branch}/my-service-staging    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Diff:
```diff diff --git a/base-branch/my-service-production b/target-branch/my-service-production index f433969..492189a 100644 --- a/base-branch/my-service-production +++ b/target-branch/my-service-production @@ -29,17 +29,17 @@ spec: app: myapp template: metadata: labels: app: myapp spec: containers: - image: dag-andersen/myapp:latest name: myapp ports: - - containerPort: 443 + - containerPort: 8080 resources: limits: memory: 512Mi requests: memory: 128Mi diff --git a/base-branch/my-service-staging b/target-branch/my-service-staging index 7e06083..f88a514 100644 --- a/base-branch/my-service-staging +++ b/target-branch/my-service-staging @@ -16,21 +16,21 @@ spec: --- apiVersion: apps/v1 kind: Deployment metadata: labels: app: myapp app.kubernetes.io/instance: my-service-staging name: staging-myapp namespace: default spec: - replicas: 2 + replicas: 4 selector: matchLabels: app: myapp template: metadata: labels: app: myapp spec: containers: - image: dag-andersen/myapp:latest ```