Skip to content

Commit

Permalink
added kubetail-server service to tilt config to test
Browse files Browse the repository at this point in the history
  • Loading branch information
amorey committed Sep 20, 2024
1 parent b18a4ae commit b80d52f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Tiltfile
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@ k8s_resource(
'kubetail-server',
port_forwards='4000:4000',
objects=[
'kubetail-server:serviceaccount',
'kubetail-server:clusterrole',
'kubetail-server:clusterrolebinding',
'kubetail-server:role',
'kubetail-server:rolebinding',
'kubetail-server:serviceaccount',
],
resource_deps=['kubetail-shared'],
)
Expand Down
16 changes: 16 additions & 0 deletions hack/tilt/kubetail.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,22 @@ spec:
configMap:
name: kubetail
---
kind: Service
apiVersion: v1
metadata:
name: kubetail-server
namespace: default
spec:
selector:
app.kubernetes.io/name: kubetail
app.kubernetes.io/component: server
ports:
- name: http
protocol: TCP
port: 4000
targetPort: http
appProtocol: http
---
kind: ServiceAccount
apiVersion: v1
metadata:
Expand Down

0 comments on commit b80d52f

Please sign in to comment.