-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdetailed.yaml
More file actions
91 lines (91 loc) · 2.51 KB
/
detailed.yaml
File metadata and controls
91 lines (91 loc) · 2.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# ---
# apiVersion: v1
# kind: Secret
# metadata:
# name: kubeconfig
# namespace: default
# type: Opaque
# data:
# kubeconfig: REPLACE_ME_WITH_BASE64_ENCODED_KUBECONFIG
---
apiVersion: core.akuity.crossplane.io/v1alpha1
kind: Cluster
metadata:
name: my-cluster
spec:
forProvider:
# The instance ID can be hardcoded or determined from an Instance resource
# on the same cluster.
# instanceId: "my-instance-id"
instanceRef:
name: "my-instance"
name: "my-cluster"
namespace: "my-namespace"
labels:
test-label: "true"
annotations:
test-annotation: "false"
clusterSpec:
namespaceScoped: true
description: "The my-cluster cluster contains ArgoCD Applications for my project."
data:
size: "small"
autoUpgradeDisabled: true
targetVersion: "0.5.0"
kustomization: |
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
patches:
- patch: |-
apiVersion: apps/v1
kind: Deployment
metadata:
name: argocd-repo-server
spec:
template:
spec:
containers:
- name: argocd-repo-server
resources:
limits:
memory: 2Gi
requests:
cpu: 750m
memory: 1Gi
target:
kind: Deployment
name: argocd-repo-server
eksAddonEnabled: true
datadogAnnotationsEnabled: true
managedClusterConfig:
secretName: "secretName"
secretKey: "secretKey"
multiClusterK8sDashboardEnabled: true
project: "test"
compatibility:
ipv6Only: false
autoscalerConfig:
applicationController:
resourceMaximum:
mem: "8Gi"
cpu: "4"
resourceMinimum:
mem: "0.5Gi"
cpu: "250m"
repoServer:
resourceMaximum:
mem: "6Gi"
cpu: "4"
resourceMinimum:
mem: "0.25Gi"
cpu: "250m"
replicaMaximum: 4
replicaMinimum: 1
# Use the example Kubernetes Secret above to pass a kubeconfig to the
# provider.
# kubeconfigSecretRef:
# name: kubeconfig
# namespace: default
removeAgentResourcesOnDestroy: false
providerConfigRef:
name: akuity