Commit ebb3da20 authored by Francesco-gmail's avatar Francesco-gmail
Browse files

upgrade version

parents
Pipeline #175121 failed with stage
in 6 seconds
image: gitlab-registry.fbk.eu/gscdev/containers/cloud-utils
stages:
- upload
upload:
stage: upload
script:
- chart_version=$(helm package ./common | awk -F/ '{print $7}') #--version 1.0.0
- curl --request POST --user gitlab-ci-token:$CI_JOB_TOKEN --form "chart=@$chart_version" "${CI_API_V4_URL}/projects/4410/packages/helm/api/stable/charts"
apiVersion: v2
name: sample-chart
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: library
# 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.1
# 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"
dependencies:
- name: library-chart
version: 1.0.0
repository: https://gitlab.fbk.eu/api/v4/projects/4410/packages/helm/stable
\ No newline at end of file
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*.orig
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
{{- include "common.notes.defaultNotes" . -}}
{{ include "common.all" . }}
# Default values for the common chart
####################################
# deployment.yaml variables
replicaCount: 1
image:
repository: lmierzwa/karma
pullPolicy: Always
#pullSecret: trecregistry-credentials
#annotation on pod for the loggin system
jsonLog: true # Enable log in JSON format
env: [] # Add here the environment variables for the container
resources: {} # Specify here the resource requests and limits
nodeSelector: {}
affinity: {}
tolerations: []
## The following settings are to configure the frequency of the lifeness and readiness probes on /metrics
livenessProbe:
enabled: true
initialDelaySeconds: 5
timeoutSeconds: 20
periodSeconds: 30
failureThreshold: 4
successThreshold: 1
readinessProbe:
enabled: true
initialDelaySeconds: 5
timeoutSeconds: 20
periodSeconds: 30
failureThreshold: 3
successThreshold: 1
############################
# service.yaml variables
service:
type: ClusterIP
port: 8080
prometheus:
# Enable the annotations used by Prometheus service to scrape the microservice metrics
scrape: true
############################
# ingress.yaml variables
ingress:
path: ""
hosts:
- host: karmatest.microk8s-dev.fbk.eu
paths:
- path: /
tls:
- secretName: star.microk8s-dev.fbk.eu
hosts:
- karmatest.microk8s-dev.fbk.eu
nomedellaconfepercordo: /root/adguard.yaml
config: |
fjdslj: fjdslkd
global:
ingress:
hosts: []
annotations: {}
prometheusjob:
config:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment