Skip to content

Commit

Permalink
fix(helm): chart errors
Browse files Browse the repository at this point in the history
  • Loading branch information
nefelim4ag committed Sep 26, 2023
1 parent 9ef495a commit 41bcea6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion charts/k8s-ondemand-proxy/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: k8s-ondemand-proxy
description: Proxy server which will scale up app on activity and down when no requests
type: application
version: 0.0.1
version: 0.0.2
appVersion: 0.0.1
2 changes: 1 addition & 1 deletion charts/k8s-ondemand-proxy/templates/rbac.yaml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ kind: ClusterRole
metadata:
name: {{ .Release.Namespace }}-{{ .Release.Name }}
rules:
- apiGroups: [""]
- apiGroups: ["apps"]
resources: ["deployments", "replicasets", "statefulsets"]
verbs: ["get", "watch", "list", "update", "patch"]
---
Expand Down
14 changes: 7 additions & 7 deletions charts/k8s-ondemand-proxy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,12 @@ ports:

command:
- ko-app/k8s-ondemand-proxy
- -upstream=$UPSTREAM
- -namespace=$NAMESPACE
- -resource-name=$RESOURCE_NAME
- -listen=$LISTEN_ADDR
- -idle-timeout=$IDLE_TIMEOUT
- -replicas=$REPLICAS
- -upstream=$(UPSTREAM)
- -namespace=$(NAMESPACE)
- -resource-name=$(RESOURCE_NAME)
- -listen=$(LISTEN_ADDR)
- -idle-timeout=$(IDLE_TIMEOUT)
- -replicas=$(REPLICAS)

resources:
requests:
Expand All @@ -98,7 +98,7 @@ resources:
env:
GOMAXPROCS: "2"
UPSTREAM: 127.0.0.1:6000
RESOUCE_NAME: statefulset/app
RESOURCE_NAME: statefulset/app
LISTEN_ADDR: ":1001"
IDLE_TIMEOUT: 15m
REPLICAS: "1"
Expand Down

0 comments on commit 41bcea6

Please sign in to comment.