forked from karmab/kcli-ztp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathztp_assisted-service.sample.yml
108 lines (101 loc) · 2.41 KB
/
ztp_assisted-service.sample.yml
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
apiVersion: hive.openshift.io/v1
kind: ClusterImageSet
metadata:
name: openshift-v${MINOR}
namespace: open-cluster-management
spec:
releaseImage: ${RELEASE}
---
apiVersion: v1
kind: ConfigMap
metadata:
name: assisted-service-config
namespace: open-cluster-management
labels:
app: assisted-service
data:
LOG_LEVEL: "debug"
---
apiVersion: agent-install.openshift.io/v1beta1
kind: AgentServiceConfig
metadata:
namespace: open-cluster-management
name: agent
annotations:
unsupported.agent-install.openshift.io/assisted-service-configmap: 'assisted-service-config'
spec:
databaseStorage:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 40Gi
filesystemStorage:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 40Gi
{% if disconnected %}
mirrorRegistryRef:
name: "lab-index-mirror"
{% endif %}
osImages:
- openshiftVersion: "${MINOR}"
version: ""
url: "http://${BAREMETAL_IP}/rhcos-live.x86_64.iso"
rootFSUrl: "http://${BAREMETAL_IP}/rhcos-live-rootfs.x86_64.img"
---
apiVersion: v1
kind: Secret
metadata:
creationTimestamp: null
name: assisted-deployment-ssh-private-key
namespace: open-cluster-management
type: Opaque
stringData:
ssh-privatekey: |
${SSH_PRIV_KEY}
---
apiVersion: v1
kind: Secret
metadata:
name: assisted-deployment-pull-secret
namespace: open-cluster-management
stringData:
.dockerconfigjson: '${PULLSECRET}'
type: kubernetes.io/dockerconfigjson
{% if disconnected %}
---
apiVersion: v1
kind: ConfigMap
metadata:
name: lab-index-mirror
namespace: open-cluster-management
labels:
app: assisted-service
data:
ca-bundle.crt: |
${CA_CERT}
registries.conf: |
unqualified-search-registries = ["registry.access.redhat.com", "docker.io"]
[[registry]]
prefix = ""
location = "quay.io/openshift-release-dev/ocp-release"
mirror-by-digest-only = true
[[registry.mirror]]
location = "${LOCAL_REGISTRY}/ocp4"
[[registry]]
prefix = ""
location = "registry.ci.openshift.org/ocp/release"
mirror-by-digest-only = true
[[registry.mirror]]
location = "${LOCAL_REGISTRY}/ocp4"
[[registry]]
prefix = ""
location = "quay.io/openshift-release-dev/ocp-v4.0-art-dev"
mirror-by-digest-only = true
[[registry.mirror]]
location = "${LOCAL_REGISTRY}/ocp4"
${REGISTRIES}
{% endif %}