Skip to content

Commit 75121db

Browse files
committed
prep v0.0.2
1 parent c28b81a commit 75121db

File tree

2 files changed

+51
-51
lines changed

2 files changed

+51
-51
lines changed

config/bundle/manifest.yaml

Lines changed: 50 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,4 @@
11
---
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-
---
242
apiVersion: apiextensions.k8s.io/v1
253
kind: CustomResourceDefinition
264
metadata:
@@ -427,7 +405,7 @@ spec:
427405
valueFrom:
428406
fieldRef:
429407
fieldPath: metadata.namespace
430-
image: ghcr.io/pelotech/jsonnet-controller:latest
408+
image: ghcr.io/pelotech/jsonnet-controller:v0.0.2
431409
imagePullPolicy: IfNotPresent
432410
livenessProbe:
433411
httpGet:
@@ -475,33 +453,6 @@ spec:
475453
- emptyDir: {}
476454
name: manager-tmp
477455
---
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-
---
505456
apiVersion: rbac.authorization.k8s.io/v1
506457
kind: ClusterRole
507458
metadata:
@@ -620,3 +571,52 @@ rules:
620571
- get
621572
- list
622573
- 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

config/jsonnet/jsonnet-controller.jsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
local kube = import 'https://github.com/bitnami-labs/kube-libsonnet/raw/v1.14.6/kube.libsonnet';
22
local kubecfg = import 'internal://lib/kubecfg.libsonnet';
33

4-
function(version='v0.0.1') {
4+
function(version='v0.0.2') {
55
local this = self,
66

77
// The prefix to use for names of resources

0 commit comments

Comments
 (0)