|
1 | 1 | --- |
2 | | -apiVersion: v1 |
3 | | -kind: Service |
4 | | -metadata: |
5 | | - annotations: {} |
6 | | - labels: |
7 | | - app: jsonnet-controller |
8 | | - control_plane: manager |
9 | | - name: jsonnet-controller |
10 | | - namespace: flux-system |
11 | | -spec: |
12 | | - ports: |
13 | | - - name: http |
14 | | - port: 9443 |
15 | | - targetPort: 9443 |
16 | | - - name: metrics |
17 | | - port: 8080 |
18 | | - targetPort: 8080 |
19 | | - selector: |
20 | | - app: jsonnet-controller |
21 | | - control_plane: manager |
22 | | - type: ClusterIP |
23 | | ---- |
24 | 2 | apiVersion: apiextensions.k8s.io/v1 |
25 | 3 | kind: CustomResourceDefinition |
26 | 4 | metadata: |
@@ -427,7 +405,7 @@ spec: |
427 | 405 | valueFrom: |
428 | 406 | fieldRef: |
429 | 407 | fieldPath: metadata.namespace |
430 | | - image: ghcr.io/pelotech/jsonnet-controller:latest |
| 408 | + image: ghcr.io/pelotech/jsonnet-controller:v0.0.2 |
431 | 409 | imagePullPolicy: IfNotPresent |
432 | 410 | livenessProbe: |
433 | 411 | httpGet: |
@@ -475,33 +453,6 @@ spec: |
475 | 453 | - emptyDir: {} |
476 | 454 | name: manager-tmp |
477 | 455 | --- |
478 | | -apiVersion: v1 |
479 | | -kind: ServiceAccount |
480 | | -metadata: |
481 | | - annotations: {} |
482 | | - labels: |
483 | | - app: jsonnet-controller |
484 | | - control_plane: manager |
485 | | - name: jsonnet-controller-sa |
486 | | - namespace: flux-system |
487 | | ---- |
488 | | -apiVersion: rbac.authorization.k8s.io/v1 |
489 | | -kind: ClusterRoleBinding |
490 | | -metadata: |
491 | | - annotations: {} |
492 | | - labels: |
493 | | - app: jsonnet-controller |
494 | | - control_plane: manager |
495 | | - name: jsonnet-controller-cluster-admin-binding |
496 | | -roleRef: |
497 | | - apiGroup: rbac.authorization.k8s.io |
498 | | - kind: ClusterRole |
499 | | - name: cluster-admin |
500 | | -subjects: |
501 | | -- kind: ServiceAccount |
502 | | - name: jsonnet-controller-sa |
503 | | - namespace: flux-system |
504 | | ---- |
505 | 456 | apiVersion: rbac.authorization.k8s.io/v1 |
506 | 457 | kind: ClusterRole |
507 | 458 | metadata: |
@@ -620,3 +571,52 @@ rules: |
620 | 571 | - get |
621 | 572 | - list |
622 | 573 | - watch |
| 574 | +--- |
| 575 | +apiVersion: v1 |
| 576 | +kind: ServiceAccount |
| 577 | +metadata: |
| 578 | + annotations: {} |
| 579 | + labels: |
| 580 | + app: jsonnet-controller |
| 581 | + control_plane: manager |
| 582 | + name: jsonnet-controller-sa |
| 583 | + namespace: flux-system |
| 584 | +--- |
| 585 | +apiVersion: rbac.authorization.k8s.io/v1 |
| 586 | +kind: ClusterRoleBinding |
| 587 | +metadata: |
| 588 | + annotations: {} |
| 589 | + labels: |
| 590 | + app: jsonnet-controller |
| 591 | + control_plane: manager |
| 592 | + name: jsonnet-controller-cluster-admin-binding |
| 593 | +roleRef: |
| 594 | + apiGroup: rbac.authorization.k8s.io |
| 595 | + kind: ClusterRole |
| 596 | + name: cluster-admin |
| 597 | +subjects: |
| 598 | +- kind: ServiceAccount |
| 599 | + name: jsonnet-controller-sa |
| 600 | + namespace: flux-system |
| 601 | +--- |
| 602 | +apiVersion: v1 |
| 603 | +kind: Service |
| 604 | +metadata: |
| 605 | + annotations: {} |
| 606 | + labels: |
| 607 | + app: jsonnet-controller |
| 608 | + control_plane: manager |
| 609 | + name: jsonnet-controller |
| 610 | + namespace: flux-system |
| 611 | +spec: |
| 612 | + ports: |
| 613 | + - name: http |
| 614 | + port: 9443 |
| 615 | + targetPort: 9443 |
| 616 | + - name: metrics |
| 617 | + port: 8080 |
| 618 | + targetPort: 8080 |
| 619 | + selector: |
| 620 | + app: jsonnet-controller |
| 621 | + control_plane: manager |
| 622 | + type: ClusterIP |
0 commit comments