slack-git-compare

by mvisonneau

Helm chartv0.0.10App v0.1.0

Compare git references within Slack

About this chart

slack-git-compare

Compare git references within Slack

Homepage: https://github.com/mvisonneau/slack-git-compare

Maintainers

NameEmailUrl
mvisonneau[email protected]

Source Code

Values

KeyTypeDefaultDescription
affinityobject{}affinity for pod assignment # ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
annotationsobject{}additional annotations for the service
argslist[]arguments for the exporter binary
configobject{"cache":{},"log":{"format":"json","level":"info"},"providers":[],"slack":{"signing-secret":"","token":""},"users":[]}configuration variables of the app
envVariableslist[{"name":"SGC_CONFIG","value":"/etc/config.yml"}]environment variables for the container
image.pullPolicystring"IfNotPresent"
image.repositorystring"mvisonneau/slack-git-compare"image pullPolicy
ingress.annotationsstringniladditional annotations for the ingress resource
ingress.enabledboolfalsedeploy a ingress to access the exporter pod(s) /webhook endpoint
ingress.hostslist["sgc.example.com"]ingress hosts
ingress.pathstring"/"path to point the root of the ingress
ingress.pathTypestring"Prefix"pathType of the ingress
ingress.service.port.namestring"http"service port name for the ingress
ingress.tlslist[{"hosts":["sgc.example.com"]}]ingress tls hosts config
labelsobject{}additional labels for the service
livenessProbe.httpGet.pathstring"/health/live"
livenessProbe.httpGet.portint8080
nodeSelectorobject{}node selector for pod assignment # ref: https://kubernetes.io/docs/user-guide/node-selection/
podAnnotationsobject{}additional annotations for the pods
podLabelsobject{}additional labels for the pods
rbacobject{"clusterRole":"","enabled":false,"serviceAccount":{"name":""}}If your kubernetes cluster defined the pod security policy, then you need to enable this part, and define clusterRole based on your situation.
readinessProbe.failureThresholdint3
readinessProbe.httpGet.pathstring"/health/ready"
readinessProbe.httpGet.portint8080
readinessProbe.initialDelaySecondsint5
readinessProbe.periodSecondsint30
readinessProbe.timeoutSecondsint5
replicasint1amount of desired pod(s) replica(s)
resourcesobject{}resources to allocate to the pods
securityContextstringnilsecurity context to apply to the pods # ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context
service.annotationsobject{}
service.labelsobject{}
service.portint80
service.typestring"ClusterIP"
strategyobject{"type":"RollingUpdate"}deployment strategy type
tolerationslist[]tolerations for pod assignment # ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/

Deploy slack-git-compare with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has slack-git-compare on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartslack-git-compare is pinned at v0.0.10 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply