Skip to content

Commit

Permalink
docs: simplify example
Browse files Browse the repository at this point in the history
  • Loading branch information
crenshaw-dev committed May 24, 2024
1 parent 467f73c commit d95d622
Showing 1 changed file with 10 additions and 46 deletions.
56 changes: 10 additions & 46 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ metadata:
labels:
app.kubernetes.io/name: promoter
app.kubernetes.io/managed-by: kustomize
name: scmprovider-sample
name: scmprovider-example
spec:
github:
domain: github.com
Expand All @@ -52,54 +52,18 @@ spec:
---

apiVersion: promoter.argoproj.io/v1alpha1
kind: ProposedCommit
kind: PromotionStrategy
metadata:
labels:
app.kubernetes.io/name: promoter
app.kubernetes.io/managed-by: kustomize
name: proposedcommit-sample
name: scmprovider-example
spec:
repositoryRef:
owner: crenshaw-dev
dryBranch: master
environments:
- branch: environments/dev
- branch: environments/test
- branch: environments/prod
repository:
name: argocd-example-apps
scmProviderRef:
name: scmprovider-sample
proposedBranch: environments/dev-next
activeBranch: environments/dev

---

apiVersion: promoter.argoproj.io/v1alpha1
kind: ProposedCommit
metadata:
labels:
app.kubernetes.io/name: promoter
app.kubernetes.io/managed-by: kustomize
name: proposedcommit-sample-test
spec:
repositoryRef:
owner: crenshaw-dev
name: argocd-example-apps
scmProviderRef:
name: scmprovider-sample
proposedBranch: environments/test-next
activeBranch: environments/test

---

apiVersion: promoter.argoproj.io/v1alpha1
kind: ProposedCommit
metadata:
labels:
app.kubernetes.io/name: promoter
app.kubernetes.io/managed-by: kustomize
name: proposedcommit-sample-prod
spec:
repositoryRef:
owner: crenshaw-dev
name: argocd-example-apps
scmProviderRef:
name: scmprovider-sample
proposedBranch: environments/prod-next
activeBranch: environments/prod
name: scmprovider-example
```

0 comments on commit d95d622

Please sign in to comment.