Skip to content

Commit

Permalink
Updates chart to use starter-kit base chart (#3)
Browse files Browse the repository at this point in the history
- Uses starter-kit v0.6.0 subchart from https://charts.cloudnativetoolkit.dev
- Adds subcharts and Chart.lock to gitignore

Signed-off-by: Sean Sundberg <[email protected]>
  • Loading branch information
seansund authored May 17, 2021
1 parent 184122b commit e12e16d
Show file tree
Hide file tree
Showing 10 changed files with 61 additions and 275 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@ localdev-config.json
server/localdev-config.json
/main
/edge-access-secret.yaml
*.tgz
*.iml
Chart.lock
9 changes: 7 additions & 2 deletions chart/base/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
apiVersion: v1
apiVersion: v2
appVersion: "1.0"
description: A Helm chart for Kubernetes
name: base
version: 1.1.4
branch: stable

dependencies:
- name: starter-kit
version: 0.6.0
repository: https://charts.cloudnativetoolkit.dev/
alias: base
Empty file added chart/base/templates/.gitkeep
Empty file.
17 changes: 0 additions & 17 deletions chart/base/templates/NOTES.txt

This file was deleted.

71 changes: 0 additions & 71 deletions chart/base/templates/_helpers.tpl

This file was deleted.

77 changes: 0 additions & 77 deletions chart/base/templates/deployment.yaml

This file was deleted.

33 changes: 0 additions & 33 deletions chart/base/templates/ingress.yaml

This file was deleted.

17 changes: 0 additions & 17 deletions chart/base/templates/route.yaml

This file was deleted.

19 changes: 0 additions & 19 deletions chart/base/templates/service.yaml

This file was deleted.

90 changes: 51 additions & 39 deletions chart/base/values.yaml
Original file line number Diff line number Diff line change
@@ -1,47 +1,59 @@
# Default values for template-node-typescript.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
global: {}
global:
tlsSecretName: ""
ingressSubdomain: ""

replicaCount: 1
logLevel: "debug"
base:
runtime: golang

image:
repository: replace
tag: replace
pullPolicy: IfNotPresent
port: 8080
image:
repository: replace
tag: replace
pullPolicy: IfNotPresent
port: 8080

nameOverride: ""
fullnameOverride: ""

service:
type: ClusterIP
port: 80

route:
enabled: false

ingress:
enabled: true
appid:
autoscaling:
enabled: false
minReplicas: 1
maxReplicas: 100
targetCPUUtilizationPercentage: 80

# 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

route:
enabled: true

ingress:
enabled: false
# web or app - https://cloud.ibm.com/docs/services/appid?topic=appid-kube-auth
requestType: web

# host: hello
namespaceInHost: true
subdomain: containers.appdomain.cloud
path: "/"

# tlsSecretName: ""

vcsInfo:
repoUrl: ""
branch: ""

partOf: ""

connectsTo: ""

runtime: ""
env:
- name: IMAGE_NAME
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: metadata.name
- name: LOG_LEVEL
value: "debug"

envFrom:
- configMapRef:
name: jaeger-config
optional: true
- secretRef:
name: jaeger-access
optional: true

partOf: ""
connectsTo: ""

0 comments on commit e12e16d

Please sign in to comment.