Skip to content

Commit

Permalink
feat(chart): update chart
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Balogh <[email protected]>
  • Loading branch information
pbalogh-sa committed Nov 27, 2020
1 parent a04116b commit 9d0aefd
Show file tree
Hide file tree
Showing 4 changed files with 75 additions and 4 deletions.
4 changes: 2 additions & 2 deletions charts/jwt-to-rbac/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v1
appVersion: "0.4.0"
apiVersion: v2
appVersion: 0.4.0
description: A Helm chart for Kubernetes
name: jwt-to-rbac
version: 0.4.0
Expand Down
71 changes: 71 additions & 0 deletions charts/jwt-to-rbac/ci/test-values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# Default values for jwt-to-rbac.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.

replicaCount: 1

image:
repository: ghcr.io/banzaicloud/jwt-to-rbac
tag: latest
pullPolicy: IfNotPresent

nameOverride: ""
fullnameOverride: ""

port:
name: http
containerPort: 5555
protocol: TCP

configDir: /etc/jwt-to-rbac

service:
type: ClusterIP
port: 5555

config:
app:
addr: ":5555"
log:
level: "4"
format: "json"
noColor: true
tokenhandler:
caCertPath: ""
oidc:
clientID: ""
issuerURL: ""
rbachandler:
githubOrg: ""
customGroups: []

ingress:
enabled: false
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
path: /
hosts:
- chart-example.local
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local

resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi

nodeSelector: {}

tolerations: []

affinity: {}
2 changes: 1 addition & 1 deletion charts/jwt-to-rbac/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ spec:
serviceAccountName: {{ include "jwt-to-rbac.name" . }}
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
securityContext:
runAsUser: 2
Expand Down
2 changes: 1 addition & 1 deletion charts/jwt-to-rbac/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ replicaCount: 1

image:
repository: ghcr.io/banzaicloud/jwt-to-rbac
tag: 0.3.0
tag: ""
pullPolicy: IfNotPresent

nameOverride: ""
Expand Down

0 comments on commit 9d0aefd

Please sign in to comment.