mirror of
https://github.com/hanzoai/deploy.git
synced 2026-10-07 08:44:50 +00:00
* feat: Migrate applicationset docs,examples into argocd Signed-off-by: rishabh625 <[email protected]> * corrected applicationset binary name in manifest present in doc Signed-off-by: rishabh625 <[email protected]> * corrected autogenerated file Signed-off-by: rishabh625 <[email protected]> * Included gettimg started page, added relative lookup from applicationset to argocd,removed unused file Signed-off-by: rishabh625 <[email protected]> * commiting michael suggestion of text Signed-off-by: rishabh625 <[email protected]>
418 lines
7.0 KiB
YAML
418 lines
7.0 KiB
YAML
# This is an auto-generated file. DO NOT EDIT
|
|
apiVersion: apiextensions.k8s.io/v1beta1
|
|
kind: CustomResourceDefinition
|
|
metadata:
|
|
name: clusterworkflowtemplates.argoproj.io
|
|
spec:
|
|
group: argoproj.io
|
|
names:
|
|
kind: ClusterWorkflowTemplate
|
|
listKind: ClusterWorkflowTemplateList
|
|
plural: clusterworkflowtemplates
|
|
shortNames:
|
|
- clusterwftmpl
|
|
- cwft
|
|
singular: clusterworkflowtemplate
|
|
scope: Cluster
|
|
version: v1alpha1
|
|
versions:
|
|
- name: v1alpha1
|
|
served: true
|
|
storage: true
|
|
---
|
|
apiVersion: apiextensions.k8s.io/v1beta1
|
|
kind: CustomResourceDefinition
|
|
metadata:
|
|
name: cronworkflows.argoproj.io
|
|
spec:
|
|
group: argoproj.io
|
|
names:
|
|
kind: CronWorkflow
|
|
listKind: CronWorkflowList
|
|
plural: cronworkflows
|
|
shortNames:
|
|
- cwf
|
|
- cronwf
|
|
singular: cronworkflow
|
|
scope: Namespaced
|
|
version: v1alpha1
|
|
versions:
|
|
- name: v1alpha1
|
|
served: true
|
|
storage: true
|
|
---
|
|
apiVersion: apiextensions.k8s.io/v1beta1
|
|
kind: CustomResourceDefinition
|
|
metadata:
|
|
name: workfloweventbindings.argoproj.io
|
|
spec:
|
|
group: argoproj.io
|
|
names:
|
|
kind: WorkflowEventBinding
|
|
listKind: WorkflowEventBindingList
|
|
plural: workfloweventbindings
|
|
shortNames:
|
|
- wfeb
|
|
singular: workfloweventbinding
|
|
scope: Namespaced
|
|
version: v1alpha1
|
|
versions:
|
|
- name: v1alpha1
|
|
served: true
|
|
storage: true
|
|
---
|
|
apiVersion: apiextensions.k8s.io/v1beta1
|
|
kind: CustomResourceDefinition
|
|
metadata:
|
|
name: workflows.argoproj.io
|
|
spec:
|
|
additionalPrinterColumns:
|
|
- JSONPath: .status.phase
|
|
description: Status of the workflow
|
|
name: Status
|
|
type: string
|
|
- JSONPath: .status.startedAt
|
|
description: When the workflow was started
|
|
format: date-time
|
|
name: Age
|
|
type: date
|
|
group: argoproj.io
|
|
names:
|
|
kind: Workflow
|
|
listKind: WorkflowList
|
|
plural: workflows
|
|
shortNames:
|
|
- wf
|
|
singular: workflow
|
|
scope: Namespaced
|
|
subresources: {}
|
|
version: v1alpha1
|
|
versions:
|
|
- name: v1alpha1
|
|
served: true
|
|
storage: true
|
|
---
|
|
apiVersion: apiextensions.k8s.io/v1beta1
|
|
kind: CustomResourceDefinition
|
|
metadata:
|
|
name: workflowtemplates.argoproj.io
|
|
spec:
|
|
group: argoproj.io
|
|
names:
|
|
kind: WorkflowTemplate
|
|
listKind: WorkflowTemplateList
|
|
plural: workflowtemplates
|
|
shortNames:
|
|
- wftmpl
|
|
singular: workflowtemplate
|
|
scope: Namespaced
|
|
version: v1alpha1
|
|
versions:
|
|
- name: v1alpha1
|
|
served: true
|
|
storage: true
|
|
---
|
|
apiVersion: v1
|
|
kind: ServiceAccount
|
|
metadata:
|
|
name: argo
|
|
---
|
|
apiVersion: v1
|
|
kind: ServiceAccount
|
|
metadata:
|
|
name: argo-server
|
|
---
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: Role
|
|
metadata:
|
|
name: argo-role
|
|
rules:
|
|
- apiGroups:
|
|
- ""
|
|
resources:
|
|
- pods
|
|
- pods/exec
|
|
verbs:
|
|
- create
|
|
- get
|
|
- list
|
|
- watch
|
|
- update
|
|
- patch
|
|
- delete
|
|
- apiGroups:
|
|
- ""
|
|
resources:
|
|
- configmaps
|
|
verbs:
|
|
- get
|
|
- watch
|
|
- list
|
|
- apiGroups:
|
|
- ""
|
|
resources:
|
|
- persistentvolumeclaims
|
|
verbs:
|
|
- create
|
|
- delete
|
|
- get
|
|
- apiGroups:
|
|
- argoproj.io
|
|
resources:
|
|
- workflows
|
|
- workflows/finalizers
|
|
verbs:
|
|
- get
|
|
- list
|
|
- watch
|
|
- update
|
|
- patch
|
|
- delete
|
|
- create
|
|
- apiGroups:
|
|
- argoproj.io
|
|
resources:
|
|
- workflowtemplates
|
|
- workflowtemplates/finalizers
|
|
verbs:
|
|
- get
|
|
- list
|
|
- watch
|
|
- apiGroups:
|
|
- ""
|
|
resources:
|
|
- serviceaccounts
|
|
verbs:
|
|
- get
|
|
- list
|
|
- apiGroups:
|
|
- ""
|
|
resources:
|
|
- secrets
|
|
verbs:
|
|
- get
|
|
- apiGroups:
|
|
- argoproj.io
|
|
resources:
|
|
- cronworkflows
|
|
- cronworkflows/finalizers
|
|
verbs:
|
|
- get
|
|
- list
|
|
- watch
|
|
- update
|
|
- patch
|
|
- delete
|
|
- apiGroups:
|
|
- ""
|
|
resources:
|
|
- events
|
|
verbs:
|
|
- create
|
|
- patch
|
|
- apiGroups:
|
|
- policy
|
|
resources:
|
|
- poddisruptionbudgets
|
|
verbs:
|
|
- create
|
|
- get
|
|
- delete
|
|
---
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: Role
|
|
metadata:
|
|
name: argo-server-role
|
|
rules:
|
|
- apiGroups:
|
|
- ""
|
|
resources:
|
|
- configmaps
|
|
verbs:
|
|
- get
|
|
- watch
|
|
- list
|
|
- apiGroups:
|
|
- ""
|
|
resources:
|
|
- secrets
|
|
verbs:
|
|
- get
|
|
- create
|
|
- apiGroups:
|
|
- ""
|
|
resources:
|
|
- pods
|
|
- pods/exec
|
|
- pods/log
|
|
verbs:
|
|
- get
|
|
- list
|
|
- watch
|
|
- delete
|
|
- apiGroups:
|
|
- ""
|
|
resources:
|
|
- events
|
|
verbs:
|
|
- watch
|
|
- create
|
|
- patch
|
|
- apiGroups:
|
|
- ""
|
|
resources:
|
|
- serviceaccounts
|
|
verbs:
|
|
- get
|
|
- list
|
|
- apiGroups:
|
|
- argoproj.io
|
|
resources:
|
|
- workflows
|
|
- workfloweventbindings
|
|
- workflowtemplates
|
|
- cronworkflows
|
|
- cronworkflows/finalizers
|
|
verbs:
|
|
- create
|
|
- get
|
|
- list
|
|
- watch
|
|
- update
|
|
- patch
|
|
- delete
|
|
---
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: RoleBinding
|
|
metadata:
|
|
name: argo-binding
|
|
roleRef:
|
|
apiGroup: rbac.authorization.k8s.io
|
|
kind: Role
|
|
name: argo-role
|
|
subjects:
|
|
- kind: ServiceAccount
|
|
name: argo
|
|
---
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: RoleBinding
|
|
metadata:
|
|
name: argo-server-binding
|
|
roleRef:
|
|
apiGroup: rbac.authorization.k8s.io
|
|
kind: Role
|
|
name: argo-server-role
|
|
subjects:
|
|
- kind: ServiceAccount
|
|
name: argo-server
|
|
---
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: workflow-controller-configmap
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: argo-server
|
|
spec:
|
|
ports:
|
|
- name: web
|
|
port: 2746
|
|
targetPort: 2746
|
|
selector:
|
|
app: argo-server
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: workflow-controller-metrics
|
|
spec:
|
|
ports:
|
|
- name: metrics
|
|
port: 9090
|
|
protocol: TCP
|
|
targetPort: 9090
|
|
selector:
|
|
app: workflow-controller
|
|
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: argo-server
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app: argo-server
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: argo-server
|
|
spec:
|
|
containers:
|
|
- args:
|
|
- server
|
|
- --namespaced
|
|
image: argoproj/argocli:v2.12.5
|
|
name: argo-server
|
|
ports:
|
|
- containerPort: 2746
|
|
name: web
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /
|
|
port: 2746
|
|
scheme: HTTP
|
|
initialDelaySeconds: 10
|
|
periodSeconds: 20
|
|
volumeMounts:
|
|
- mountPath: /tmp
|
|
name: tmp
|
|
nodeSelector:
|
|
kubernetes.io/os: linux
|
|
securityContext:
|
|
runAsNonRoot: true
|
|
serviceAccountName: argo-server
|
|
volumes:
|
|
- emptyDir: {}
|
|
name: tmp
|
|
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: workflow-controller
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app: workflow-controller
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: workflow-controller
|
|
spec:
|
|
containers:
|
|
- args:
|
|
- --configmap
|
|
- workflow-controller-configmap
|
|
- --executor-image
|
|
- argoproj/argoexec:v2.12.5
|
|
- --namespaced
|
|
command:
|
|
- workflow-controller
|
|
image: argoproj/workflow-controller:v2.12.5
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /metrics
|
|
port: metrics
|
|
initialDelaySeconds: 30
|
|
periodSeconds: 30
|
|
name: workflow-controller
|
|
ports:
|
|
- containerPort: 9090
|
|
name: metrics
|
|
nodeSelector:
|
|
kubernetes.io/os: linux
|
|
securityContext:
|
|
runAsNonRoot: true
|
|
serviceAccountName: argo
|