|
| 1 | +apiVersion: v1 |
| 2 | +kind: ServiceAccount |
| 3 | +metadata: |
| 4 | + labels: |
| 5 | + app.kubernetes.io/instance: websphere-liberty-operator |
| 6 | + app.kubernetes.io/name: websphere-liberty-operator |
| 7 | + name: wlo-controller-manager |
| 8 | +--- |
| 9 | +apiVersion: rbac.authorization.k8s.io/v1 |
| 10 | +kind: Role |
| 11 | +metadata: |
| 12 | + labels: |
| 13 | + app.kubernetes.io/instance: websphere-liberty-operator |
| 14 | + app.kubernetes.io/name: websphere-liberty-operator |
| 15 | + name: wlo-leader-election-role |
| 16 | +rules: |
| 17 | +- apiGroups: |
| 18 | + - "" |
| 19 | + - coordination.k8s.io |
| 20 | + resources: |
| 21 | + - configmaps |
| 22 | + - leases |
| 23 | + verbs: |
| 24 | + - get |
| 25 | + - list |
| 26 | + - watch |
| 27 | + - create |
| 28 | + - update |
| 29 | + - patch |
| 30 | + - delete |
| 31 | +- apiGroups: |
| 32 | + - "" |
| 33 | + resources: |
| 34 | + - events |
| 35 | + verbs: |
| 36 | + - create |
| 37 | + - patch |
| 38 | +--- |
| 39 | +apiVersion: rbac.authorization.k8s.io/v1 |
| 40 | +kind: Role |
| 41 | +metadata: |
| 42 | + creationTimestamp: null |
| 43 | + labels: |
| 44 | + app.kubernetes.io/instance: websphere-liberty-operator |
| 45 | + app.kubernetes.io/name: websphere-liberty-operator |
| 46 | + name: wlo-manager-role |
| 47 | +rules: |
| 48 | +- apiGroups: |
| 49 | + - apps |
| 50 | + resources: |
| 51 | + - deployments |
| 52 | + - statefulsets |
| 53 | + verbs: |
| 54 | + - create |
| 55 | + - delete |
| 56 | + - get |
| 57 | + - list |
| 58 | + - update |
| 59 | + - watch |
| 60 | +- apiGroups: |
| 61 | + - apps |
| 62 | + resources: |
| 63 | + - deployments/finalizers |
| 64 | + - statefulsets |
| 65 | + verbs: |
| 66 | + - update |
| 67 | +- apiGroups: |
| 68 | + - autoscaling |
| 69 | + resources: |
| 70 | + - horizontalpodautoscalers |
| 71 | + verbs: |
| 72 | + - create |
| 73 | + - delete |
| 74 | + - get |
| 75 | + - list |
| 76 | + - update |
| 77 | + - watch |
| 78 | +- apiGroups: |
| 79 | + - cert-manager.io |
| 80 | + resources: |
| 81 | + - certificates |
| 82 | + - issuers |
| 83 | + verbs: |
| 84 | + - create |
| 85 | + - delete |
| 86 | + - get |
| 87 | + - list |
| 88 | + - update |
| 89 | + - watch |
| 90 | +- apiGroups: |
| 91 | + - "" |
| 92 | + resources: |
| 93 | + - configmaps |
| 94 | + - persistentvolumeclaims |
| 95 | + - secrets |
| 96 | + - serviceaccounts |
| 97 | + - services |
| 98 | + verbs: |
| 99 | + - create |
| 100 | + - delete |
| 101 | + - get |
| 102 | + - list |
| 103 | + - update |
| 104 | + - watch |
| 105 | +- apiGroups: |
| 106 | + - "" |
| 107 | + resources: |
| 108 | + - pods |
| 109 | + - pods/exec |
| 110 | + verbs: |
| 111 | + - create |
| 112 | + - delete |
| 113 | + - get |
| 114 | + - list |
| 115 | + - patch |
| 116 | + - update |
| 117 | + - watch |
| 118 | +- apiGroups: |
| 119 | + - image.openshift.io |
| 120 | + resources: |
| 121 | + - imagestreams |
| 122 | + - imagestreamtags |
| 123 | + verbs: |
| 124 | + - get |
| 125 | + - list |
| 126 | + - watch |
| 127 | +- apiGroups: |
| 128 | + - liberty.websphere.ibm.com |
| 129 | + resources: |
| 130 | + - webspherelibertyapplications |
| 131 | + - webspherelibertyapplications/finalizers |
| 132 | + - webspherelibertyapplications/status |
| 133 | + verbs: |
| 134 | + - create |
| 135 | + - delete |
| 136 | + - get |
| 137 | + - list |
| 138 | + - patch |
| 139 | + - update |
| 140 | + - watch |
| 141 | +- apiGroups: |
| 142 | + - liberty.websphere.ibm.com |
| 143 | + resources: |
| 144 | + - webspherelibertydumps |
| 145 | + - webspherelibertydumps/finalizers |
| 146 | + - webspherelibertydumps/status |
| 147 | + verbs: |
| 148 | + - create |
| 149 | + - delete |
| 150 | + - get |
| 151 | + - list |
| 152 | + - patch |
| 153 | + - update |
| 154 | + - watch |
| 155 | +- apiGroups: |
| 156 | + - liberty.websphere.ibm.com |
| 157 | + resources: |
| 158 | + - webspherelibertytraces |
| 159 | + - webspherelibertytraces/finalizers |
| 160 | + - webspherelibertytraces/status |
| 161 | + verbs: |
| 162 | + - create |
| 163 | + - delete |
| 164 | + - get |
| 165 | + - list |
| 166 | + - patch |
| 167 | + - update |
| 168 | + - watch |
| 169 | +- apiGroups: |
| 170 | + - monitoring.coreos.com |
| 171 | + resources: |
| 172 | + - servicemonitors |
| 173 | + verbs: |
| 174 | + - create |
| 175 | + - delete |
| 176 | + - get |
| 177 | + - list |
| 178 | + - update |
| 179 | + - watch |
| 180 | +- apiGroups: |
| 181 | + - networking.k8s.io |
| 182 | + resources: |
| 183 | + - ingresses |
| 184 | + - networkpolicies |
| 185 | + verbs: |
| 186 | + - create |
| 187 | + - delete |
| 188 | + - get |
| 189 | + - list |
| 190 | + - update |
| 191 | + - watch |
| 192 | +- apiGroups: |
| 193 | + - route.openshift.io |
| 194 | + resources: |
| 195 | + - routes |
| 196 | + - routes/custom-host |
| 197 | + verbs: |
| 198 | + - create |
| 199 | + - delete |
| 200 | + - get |
| 201 | + - list |
| 202 | + - update |
| 203 | + - watch |
| 204 | +- apiGroups: |
| 205 | + - security.openshift.io |
| 206 | + resourceNames: |
| 207 | + - restricted |
| 208 | + resources: |
| 209 | + - securitycontextconstraints |
| 210 | + verbs: |
| 211 | + - use |
| 212 | +- apiGroups: |
| 213 | + - serving.knative.dev |
| 214 | + resources: |
| 215 | + - services |
| 216 | + verbs: |
| 217 | + - create |
| 218 | + - delete |
| 219 | + - get |
| 220 | + - list |
| 221 | + - update |
| 222 | + - watch |
| 223 | +--- |
| 224 | +apiVersion: rbac.authorization.k8s.io/v1 |
| 225 | +kind: RoleBinding |
| 226 | +metadata: |
| 227 | + labels: |
| 228 | + app.kubernetes.io/instance: websphere-liberty-operator |
| 229 | + app.kubernetes.io/name: websphere-liberty-operator |
| 230 | + name: wlo-leader-election-rolebinding |
| 231 | +roleRef: |
| 232 | + apiGroup: rbac.authorization.k8s.io |
| 233 | + kind: Role |
| 234 | + name: wlo-leader-election-role |
| 235 | +subjects: |
| 236 | +- kind: ServiceAccount |
| 237 | + name: wlo-controller-manager |
| 238 | +--- |
| 239 | +apiVersion: rbac.authorization.k8s.io/v1 |
| 240 | +kind: RoleBinding |
| 241 | +metadata: |
| 242 | + labels: |
| 243 | + app.kubernetes.io/instance: websphere-liberty-operator |
| 244 | + app.kubernetes.io/name: websphere-liberty-operator |
| 245 | + name: wlo-manager-rolebinding |
| 246 | +roleRef: |
| 247 | + apiGroup: rbac.authorization.k8s.io |
| 248 | + kind: Role |
| 249 | + name: wlo-manager-role |
| 250 | +subjects: |
| 251 | +- kind: ServiceAccount |
| 252 | + name: wlo-controller-manager |
| 253 | +--- |
| 254 | +apiVersion: apps/v1 |
| 255 | +kind: Deployment |
| 256 | +metadata: |
| 257 | + labels: |
| 258 | + app.kubernetes.io/instance: websphere-liberty-operator |
| 259 | + app.kubernetes.io/name: websphere-liberty-operator |
| 260 | + control-plane: controller-manager |
| 261 | + name: wlo-controller-manager |
| 262 | +spec: |
| 263 | + replicas: 1 |
| 264 | + selector: |
| 265 | + matchLabels: |
| 266 | + app.kubernetes.io/instance: websphere-liberty-operator |
| 267 | + app.kubernetes.io/name: websphere-liberty-operator |
| 268 | + control-plane: controller-manager |
| 269 | + template: |
| 270 | + metadata: |
| 271 | + annotations: |
| 272 | + kubectl.kubernetes.io/default-container: manager |
| 273 | + productChargedContainers: ALL |
| 274 | + productID: cb1747ecb831410f88006195f024183f |
| 275 | + productMetric: FREE |
| 276 | + productName: WebSphere Liberty Operator |
| 277 | + labels: |
| 278 | + app.kubernetes.io/instance: websphere-liberty-operator |
| 279 | + app.kubernetes.io/name: websphere-liberty-operator |
| 280 | + control-plane: controller-manager |
| 281 | + spec: |
| 282 | + affinity: |
| 283 | + nodeAffinity: |
| 284 | + requiredDuringSchedulingIgnoredDuringExecution: |
| 285 | + nodeSelectorTerms: |
| 286 | + - matchExpressions: |
| 287 | + - key: kubernetes.io/arch |
| 288 | + operator: In |
| 289 | + values: |
| 290 | + - amd64 |
| 291 | + - ppc64le |
| 292 | + - s390x |
| 293 | + containers: |
| 294 | + - args: |
| 295 | + - --health-probe-bind-address=:8081 |
| 296 | + - --metrics-bind-address=127.0.0.1:8080 |
| 297 | + - --enable-leader-election |
| 298 | + command: |
| 299 | + - /manager |
| 300 | + env: |
| 301 | + - name: OPERATOR_NAMESPACE |
| 302 | + valueFrom: |
| 303 | + fieldRef: |
| 304 | + fieldPath: metadata.namespace |
| 305 | + - name: WATCH_NAMESPACE |
| 306 | + value: WEBSPHERE_LIBERTY_WATCH_NAMESPACE |
| 307 | + - name: RELATED_IMAGE_LIBERTY_SAMPLE_APP |
| 308 | + value: icr.io/appcafe/open-liberty/samples/getting-started@sha256:6bf52d536e94d6aa6eaa3ca9639e0fe9f5e71dbd891c50362939dd6aca519d02 |
| 309 | + - name: RELATED_IMAGE_WEBSPHERE_LIBERTY_OPERATOR |
| 310 | + value: icr.io/cpopen/websphere-liberty-operator@sha256:9b87643c1c1246f5b244c470ef4c4578af664ec5cd432d14be2372fc8289b00d |
| 311 | + image: icr.io/cpopen/websphere-liberty-operator@sha256:9b87643c1c1246f5b244c470ef4c4578af664ec5cd432d14be2372fc8289b00d |
| 312 | + livenessProbe: |
| 313 | + failureThreshold: 3 |
| 314 | + httpGet: |
| 315 | + path: /healthz |
| 316 | + port: 8081 |
| 317 | + scheme: HTTP |
| 318 | + initialDelaySeconds: 90 |
| 319 | + periodSeconds: 30 |
| 320 | + successThreshold: 1 |
| 321 | + timeoutSeconds: 10 |
| 322 | + name: manager |
| 323 | + readinessProbe: |
| 324 | + failureThreshold: 3 |
| 325 | + httpGet: |
| 326 | + path: /readyz |
| 327 | + port: 8081 |
| 328 | + scheme: HTTP |
| 329 | + initialDelaySeconds: 20 |
| 330 | + periodSeconds: 30 |
| 331 | + successThreshold: 1 |
| 332 | + timeoutSeconds: 10 |
| 333 | + resources: |
| 334 | + limits: |
| 335 | + cpu: 400m |
| 336 | + memory: 512Mi |
| 337 | + requests: |
| 338 | + cpu: 200m |
| 339 | + memory: 128Mi |
| 340 | + securityContext: |
| 341 | + allowPrivilegeEscalation: false |
| 342 | + capabilities: |
| 343 | + drop: |
| 344 | + - ALL |
| 345 | + privileged: false |
| 346 | + readOnlyRootFilesystem: true |
| 347 | + runAsNonRoot: true |
| 348 | + hostIPC: false |
| 349 | + hostNetwork: false |
| 350 | + hostPID: false |
| 351 | + securityContext: |
| 352 | + runAsNonRoot: true |
| 353 | + serviceAccountName: wlo-controller-manager |
| 354 | + terminationGracePeriodSeconds: 10 |
0 commit comments