Skip to content

Commit

Permalink
update clusterrole permissions for new assets
Browse files Browse the repository at this point in the history
  • Loading branch information
MicaiahReid committed Sep 29, 2023
1 parent 8ac4cdb commit 5b6362b
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions templates/stacks-devnet-api.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ metadata:
name: stacks-devnet-api
rules:
- apiGroups: [""]
resources: ["pods", "pods/status", "services", "configmaps", "persistentvolumeclaims"]
resources: ["pods", "pods/status", "services", "configmaps"]
verbs: ["get", "delete", "create"]
- apiGroups: ["apps"]
resources: ["deployments", "statefulsets"]
verbs: ["get", "delete", "create"]
- apiGroups: [""]
resources: ["namespaces"]
Expand Down Expand Up @@ -46,10 +49,10 @@ spec:
containers:
- command: ["stacks-devnet-api"]
name: stacks-devnet-api
image: hirosystems/stacks-devnet-api:latest
image: stacks-devnet-api
imagePullPolicy: IfNotPresent
ports:
- containerPort: 8477
- containerPort: 8478
name: api
protocol: TCP
volumeMounts:
Expand All @@ -71,7 +74,7 @@ spec:
- name: api
port: 8477
protocol: TCP
targetPort: 8477
targetPort: 8478
nodePort: 30000
selector:
name: stacks-devnet-api
Expand Down

0 comments on commit 5b6362b

Please sign in to comment.