diff --git a/templates/stacks-devnet-api.template.yaml b/templates/stacks-devnet-api.template.yaml index cf2e91f..bdf07c3 100644 --- a/templates/stacks-devnet-api.template.yaml +++ b/templates/stacks-devnet-api.template.yaml @@ -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"] @@ -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: @@ -71,7 +74,7 @@ spec: - name: api port: 8477 protocol: TCP - targetPort: 8477 + targetPort: 8478 nodePort: 30000 selector: name: stacks-devnet-api