From 375e4fa1be89924b2e3e4b34f3f5702391924f1a Mon Sep 17 00:00:00 2001 From: titver968 Date: Tue, 4 Mar 2025 12:27:06 +0100 Subject: [PATCH] values.yaml --- tatort/Chart.yaml | 20 +------------------- tatort/templates/service.yaml | 2 +- tatort/values.yaml | 13 ++++--------- 3 files changed, 6 insertions(+), 29 deletions(-) diff --git a/tatort/Chart.yaml b/tatort/Chart.yaml index 39f4fbf..2c9c3e9 100644 --- a/tatort/Chart.yaml +++ b/tatort/Chart.yaml @@ -1,24 +1,6 @@ apiVersion: v2 name: tatort description: A Helm chart for Kubernetes - -# A chart can be either an 'application' or a 'library' chart. -# -# Application charts are a collection of templates that can be packaged into versioned archives -# to be deployed. -# -# Library charts provide useful utilities or functions for the chart developer. They're included as -# a dependency of application charts to inject those utilities and functions into the rendering -# pipeline. Library charts do not define any templates and therefore cannot be deployed. type: application - -# This is the chart version. This version number should be incremented each time you make changes -# to the chart and its templates, including the app version. -# Versions are expected to follow Semantic Versioning (https://semver.org/) version: 0.1.0 - -# This is the version number of the application being deployed. This version number should be -# incremented each time you make changes to the application. Versions are not expected to -# follow Semantic Versioning. They should reflect the version the application is using. -# It is recommended to use it with quotes. -appVersion: "1.16.0" +appVersion: "0.0.1" diff --git a/tatort/templates/service.yaml b/tatort/templates/service.yaml index 890095f..8b1b76a 100644 --- a/tatort/templates/service.yaml +++ b/tatort/templates/service.yaml @@ -1,7 +1,7 @@ apiVersion: v1 kind: Service metadata: - name: {{ tatort }} + name: {{ include tatort.fullname . }} labels: {{- include "tatort.labels" . | nindent 4 }} spec: diff --git a/tatort/values.yaml b/tatort/values.yaml index 8ff356a..f269e54 100644 --- a/tatort/values.yaml +++ b/tatort/values.yaml @@ -1,14 +1,9 @@ -# Default values for .. -# This is a YAML-formatted file. -# Declare variables to be passed into your templates. - replicaCount: 1 image: - repository: nginx + repository: https://gitea.innohub.local:3000/innohub/k3s/src/branch/main/tatort + tag: "0.0.1" pullPolicy: IfNotPresent - # Overrides the image tag whose default is the chart appVersion. - tag: "" imagePullSecrets: [] nameOverride: "" @@ -23,7 +18,7 @@ serviceAccount: annotations: {} # The name of the service account to use. # If not set and create is true, a name is generated using the fullname template - name: "" + name: "tatort" podAnnotations: {} podLabels: {} @@ -50,7 +45,7 @@ ingress: # kubernetes.io/ingress.class: nginx # kubernetes.io/tls-acme: "true" hosts: - - host: chart-example.local + - host: tatort.local paths: - path: / pathType: ImplementationSpecific