The new app stack architecture relies heavily on the use of duck types throughout the system.
But what if the user wants to user a 3rd party tool that doesn't conform to the duck-type.
apiVersion: carto.run/v1alpha1 | |
kind: ClusterSupplyChain | |
metadata: | |
name: supply-chain | |
spec: | |
selector: | |
matchLabels: | |
workload-type: web | |
resources: |
apiVersion: carto.run/v1alpha1 | |
kind: ClusterSupplyChain | |
metadata: | |
name: supply-chain | |
spec: | |
resources: | |
- name: source-provider | |
templateRef: | |
kind: ClusterSourceTemplate | |
options: |
apiVersion: carto.run/v1alpha1 | |
kind: ClusterSupplyChain | |
metadata: | |
name: supply-chain | |
spec: | |
selector: | |
matchLabels: | |
workload-type: web |
apiVersion: carto.run/v1alpha1 | |
kind: ClusterSupplyChain | |
metadata: | |
name: supply-chain | |
spec: | |
selector: | |
matchLabels: | |
workload-type: web | |
snippets: |
apiVersion: carto.run/v1alpha1 | |
kind: ClusterSourceSupplyChain | |
metadata: | |
name: gitops-supply-chain | |
spec: | |
selector: | |
matchLabels: | |
workload-type: web | |
matchFields: | |
- {key: ".spec.target", operation: In, value: ["gitops"]} |
apiVersion: carto.run/v1alpha1 | |
kind: ClusterSupplyChain | |
metadata: | |
name: supply-chain | |
spec: | |
selector: | |
matchLabels: | |
workload-type: web | |
resources: |
apiVersion: experimental.kontinue.io/v1 | |
kind: Workflow | |
metadata: | |
name: app | |
spec: | |
sources: | |
- name: repo | |
sourceRefs: | |
- name: app | |
kind: GitSource |
apiVersion: experimental.kontinue.io/v1 | |
kind: Workflow | |
metadata: | |
name: app | |
spec: | |
sources: | |
- name: repo | |
sourceRefs: | |
- name: app | |
kind: GitSource |