Commit 06adcdad by Guangbo Chen Committed by Denise Schannon

Bump chartmuseum to v2.3.1

parent 45edf905
apiVersion: v1 apiVersion: v1
description: Helm Chart Repository with support for Amazon S3 and Google Cloud Storage description: Host your own Helm Chart Repository
name: chartmuseum name: chartmuseum
version: 1.6.2 version: 2.3.1
appVersion: 0.7.1 appVersion: 0.9.0
home: https://github.com/chartmuseum/chartmuseum home: https://github.com/helm/chartmuseum
icon: file://../logo.png icon: file://../logo.png
keywords: keywords:
- chartmuseum - chartmuseum
......
labels:
io.cattle.role: project # options are cluster/project
questions: questions:
- variable: defaultImage - variable: defaultImage
default: true default: true
...@@ -8,15 +10,17 @@ questions: ...@@ -8,15 +10,17 @@ questions:
group: "Container Images" group: "Container Images"
subquestions: subquestions:
- variable: image.repository - variable: image.repository
default: "chartmuseum/chartmuseum" default: "ranchercharts/chartmuseum-chartmuseum"
description: "Docker image repository" description: "Docker image repository"
type: string type: string
label: Image Repository label: Image Repository
required: true
- variable: image.tag - variable: image.tag
default: "v0.7.1" default: "v0.9.0"
description: "Docker image tag" description: "Docker image tag"
type: string type: string
label: Image Tag label: Image Tag
required: true
# storage settings # storage settings
- variable: env.open.STORAGE - variable: env.open.STORAGE
required: true required: true
...@@ -27,8 +31,8 @@ questions: ...@@ -27,8 +31,8 @@ questions:
group: "Storage Options" group: "Storage Options"
options: options:
- "local" - "local"
- "amazon"
- "alibaba" - "alibaba"
- "amazon"
- "google" - "google"
- "microsoft" - "microsoft"
- "openstack" - "openstack"
...@@ -63,20 +67,23 @@ questions: ...@@ -63,20 +67,23 @@ questions:
label: OSS Bucket Name label: OSS Bucket Name
group: "Storage Options" group: "Storage Options"
show_if: "env.open.STORAGE=alibaba" show_if: "env.open.STORAGE=alibaba"
- variable: env.open.STORAGE_ALIBABA_PREFIX required: true
- variable: env.open.STORAGE_ALIBABA_ENDPOINT
default: "" default: ""
type: string type: string
description: "Prefix to store charts for alibaba storage backend" description: "OSS endpoint to store charts for alibaba storage backend"
label: OSS Bucket Prefix label: Alternative OSS Storage Endpoint
group: "Storage Options" group: "Storage Options"
show_if: "env.open.STORAGE=alibaba" show_if: "env.open.STORAGE=alibaba"
- variable: env.open.STORAGE_ALIBABA_ENDPOINT required: true
- variable: env.open.STORAGE_ALIBABA_PREFIX
default: "" default: ""
type: string type: string
description: "OSS endpoint to store charts for alibaba storage backend" description: "Prefix to store charts for alibaba storage backend"
label: Alternative OSS Storage Endpoint label: OSS Bucket Prefix
group: "Storage Options" group: "Storage Options"
show_if: "env.open.STORAGE=alibaba" show_if: "env.open.STORAGE=alibaba"
required: true
# Google Storage Options # Google Storage Options
- variable: env.open.STORAGE_GOOGLE_BUCKET - variable: env.open.STORAGE_GOOGLE_BUCKET
default: "" default: ""
...@@ -85,6 +92,7 @@ questions: ...@@ -85,6 +92,7 @@ questions:
label: GCS Bucket Name label: GCS Bucket Name
group: "Storage Options" group: "Storage Options"
show_if: "env.open.STORAGE=google" show_if: "env.open.STORAGE=google"
required: true
- variable: env.open.STORAGE_GOOGLE_PREFIX - variable: env.open.STORAGE_GOOGLE_PREFIX
default: "" default: ""
type: string type: string
...@@ -92,6 +100,7 @@ questions: ...@@ -92,6 +100,7 @@ questions:
label: GCS Bucket Prefix label: GCS Bucket Prefix
group: "Storage Options" group: "Storage Options"
show_if: "env.open.STORAGE=google" show_if: "env.open.STORAGE=google"
required: true
# Microsoft Azure Storage Options # Microsoft Azure Storage Options
- variable: env.open.STORAGE_MICROSOFT_CONTAINER - variable: env.open.STORAGE_MICROSOFT_CONTAINER
default: "" default: ""
...@@ -100,6 +109,7 @@ questions: ...@@ -100,6 +109,7 @@ questions:
label: Microsoft Azure Blob Storage Name label: Microsoft Azure Blob Storage Name
group: "Storage Options" group: "Storage Options"
show_if: "env.open.STORAGE=microsoft" show_if: "env.open.STORAGE=microsoft"
required: true
- variable: env.open.STORAGE_MICROSOFT_PREFIX - variable: env.open.STORAGE_MICROSOFT_PREFIX
default: "" default: ""
type: string type: string
...@@ -107,6 +117,7 @@ questions: ...@@ -107,6 +117,7 @@ questions:
label: Microsoft Azure Blob Storage Prefix label: Microsoft Azure Blob Storage Prefix
group: "Storage Options" group: "Storage Options"
show_if: "env.open.STORAGE=microsoft" show_if: "env.open.STORAGE=microsoft"
required: true
# OpenStack Storage Options # OpenStack Storage Options
- variable: env.open.STORAGE_OPENSTACK_CONTAINER - variable: env.open.STORAGE_OPENSTACK_CONTAINER
default: "" default: ""
...@@ -115,6 +126,7 @@ questions: ...@@ -115,6 +126,7 @@ questions:
label: Openstack Object Storage Container Name label: Openstack Object Storage Container Name
group: "Storage Options" group: "Storage Options"
show_if: "env.open.STORAGE=openstack" show_if: "env.open.STORAGE=openstack"
required: true
- variable: env.open.STORAGE_OPENSTACK_PREFIX - variable: env.open.STORAGE_OPENSTACK_PREFIX
default: "" default: ""
type: string type: string
...@@ -122,6 +134,7 @@ questions: ...@@ -122,6 +134,7 @@ questions:
label: Prefix To Openstack Object Storage Container label: Prefix To Openstack Object Storage Container
group: "Storage Options" group: "Storage Options"
show_if: "env.open.STORAGE=openstack" show_if: "env.open.STORAGE=openstack"
required: true
- variable: env.open.STORAGE_OPENSTACK_REGION - variable: env.open.STORAGE_OPENSTACK_REGION
default: "" default: ""
type: string type: string
...@@ -129,98 +142,14 @@ questions: ...@@ -129,98 +142,14 @@ questions:
label: Region Of Openstack Object Storage Container label: Region Of Openstack Object Storage Container
group: "Storage Options" group: "Storage Options"
show_if: "env.open.STORAGE=openstack" show_if: "env.open.STORAGE=openstack"
required: true
# Storage Secret # Storage Secret
- variable: env.secret.AWS_ACCESS_KEY_ID - variable: env.existingSecret
default: ""
type: string
description: "AWS access key id value"
label: AWS Access Key ID Value
group: "Storage Secret"
show_if: "env.open.STORAGE=amazon"
- variable: env.secret.AWS_SECRET_ACCESS_KEY
default: ""
type: string
description: "aws access key secret value "
label: AWS Access Key Secret Value
group: "Storage Secret"
show_if: "env.open.STORAGE=amazon"
- variable: env.secret.ALIBABA_CLOUD_ACCESS_KEY_ID
default: "" default: ""
type: string type: secret
description: "alibaba OSS access key id" description: "Name of an existing secret to get the secret values from"
label: OSS Access Key ID label: Select the Existing Secret
group: "Storage Secret" group: "Storage Secret"
show_if: "env.open.STORAGE=alibaba"
- variable: env.secret.ALIBABA_CLOUD_ACCESS_KEY_SECRET
default: ""
type: string
description: "alibaba OSS access key secret "
label: OSS Access Key Secret
group: "Storage Secret"
show_if: "env.open.STORAGE=alibaba"
- variable: gcp.secret.enabled
default: false
type: boolean
description: "Flag for the GCP service account"
label: Enable GCP Service Account
group: "Storage Secret"
show_if: "env.open.STORAGE=google"
show_subquestion_if: true
subquestions:
- variable: gcp.secret.name
default: ""
type: string
description: "secret name for the gcp json file"
label: Secret Name For The GCP Json File
- variable: gcp.secret.key
default: "credentials.json"
type: string
description: "Secret key for the GCP json file"
label: Secret Key For The GCP Json File
# Openstack Object Storage secret
- variable: env.secret.OS_AUTH_URL
default: ""
type: string
description: "Openstack object storage auth url"
label: Auth URL Of Openstack Object Storage
group: "Storage Secret"
show_if: "env.open.STORAGE=openstack"
- variable: env.secret.OS_TENANT_ID
default: ""
type: string
description: "Openstack object storage tenant id"
label: Tenant ID Of Openstack Object Storage
group: "Storage Secret"
show_if: "env.open.STORAGE=openstack"
- variable: env.secret.OS_USERNAME
default: ""
type: string
description: "Openstack object storage username"
label: Username Of Openstack Object Storage
group: "Storage Secret"
show_if: "env.open.STORAGE=openstack"
- variable: env.secret.OS_PASSWORD
default: ""
type: string
description: "Openstack object storage password"
label: Password Of Openstack Object Storage
group: "Storage Secret"
show_if: "env.open.STORAGE=openstack"
# Microsoft azure secret
- variable: env.secret.AZURE_STORAGE_ACCOUNT
default: ""
type: string
description: "azure storage account"
label: Azure Storage Account
group: "Storage Secret"
show_if: "env.open.STORAGE=microsoft"
- variable: env.secret.AZURE_STORAGE_ACCESS_KEY
default: ""
type: string
description: "azure storage account access key "
label: Azure Storage Account Access Key
group: "Storage Secret"
show_if: "env.open.STORAGE=microsoft"
# Local Storage Settings # Local Storage Settings
- variable: persistence.enabled - variable: persistence.enabled
default: true default: true
...@@ -252,14 +181,14 @@ questions: ...@@ -252,14 +181,14 @@ questions:
label: Uses Existing Persistent Volume Cliam for LocalStorage label: Uses Existing Persistent Volume Cliam for LocalStorage
# Service and L7 LoadBalancer # Service and L7 LoadBalancer
- variable: ingress.enabled - variable: ingress.enabled
default: true default: false
description: "Expose app using Layer 7 Load Balancer - ingress" description: "Expose app using Layer 7 Load Balancer - ingress"
type: boolean type: boolean
label: Expose app using Layer 7 Load Balancer label: Expose app using Layer 7 Load Balancer
show_subquestion_if: true show_subquestion_if: true
group: "Services and Load Balancing" group: "Services and Load Balancing"
subquestions: subquestions:
- variable: ingress.hosts[0] - variable: ingress.hosts[0].name
default: "xip.io" default: "xip.io"
description: "Hostname to your app installation" description: "Hostname to your app installation"
type: hostname type: hostname
...@@ -276,26 +205,7 @@ questions: ...@@ -276,26 +205,7 @@ questions:
options: options:
- "ClusterIP" - "ClusterIP"
- "NodePort" - "NodePort"
- "LoadBalancer"
# chartmuseum options # chartmuseum options
- variable: env.secret.BASIC_AUTH_USER
default: ""
description: "Username for basic http authentication"
type: string
label: Username For Basic Http Authentication (Optional)
group: "ChartMuseum Settings"
- variable: env.secret.BASIC_AUTH_PASS
default: ""
description: "Password for basic http authentication"
type: string
label: Password For Basic Http Authentication (Optional)
group: "ChartMuseum Settings"
- variable: env.open.CHART_URL
default: ""
description: "Absolute url for .tgzs in index.yaml"
type: string
label: Absolute URL For .tgzs In index.yaml
group: "ChartMuseum Settings"
- variable: env.open.SHOW_ADVANCED - variable: env.open.SHOW_ADVANCED
default: false default: false
description: "Show advanced ChartMuseum settings" description: "Show advanced ChartMuseum settings"
...@@ -304,10 +214,15 @@ questions: ...@@ -304,10 +214,15 @@ questions:
group: "ChartMuseum Settings" group: "ChartMuseum Settings"
show_subquestion_if: true show_subquestion_if: true
subquestions: subquestions:
- variable: env.open.CHART_URL
default: ""
description: "Absolute url for .tgzs in index.yaml"
type: string
label: Absolute URL For .tgzs In index.yaml
- variable: env.open.DEPTH - variable: env.open.DEPTH
default: "0" default: 0
description: "Levels of nested repos for multitenancy." description: "Levels of nested repos for multitenancy."
type: string type: int
label: Levels Of Nested Repos For Multitenancy label: Levels Of Nested Repos For Multitenancy
- variable: env.open.ALLOW_OVERWRITE - variable: env.open.ALLOW_OVERWRITE
default: false default: false
......
apiVersion: extensions/v1beta1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: {{ include "chartmuseum.fullname" . }} name: {{ include "chartmuseum.fullname" . }}
...@@ -6,16 +6,21 @@ metadata: ...@@ -6,16 +6,21 @@ metadata:
{{ toYaml .Values.deployment.annotations | indent 4 }} {{ toYaml .Values.deployment.annotations | indent 4 }}
labels: labels:
{{ include "chartmuseum.labels.standard" . | indent 4 }} {{ include "chartmuseum.labels.standard" . | indent 4 }}
{{- if .Values.deployment.labels }}
{{ toYaml .Values.deployment.labels | indent 4 }}
{{- end }}
spec: spec:
replicas: {{ .Values.replicaCount }} replicas: {{ .Values.replicaCount }}
strategy: strategy:
{{ toYaml .Values.strategy | indent 4 }} {{ toYaml .Values.strategy | indent 4 }}
revisionHistoryLimit: 10 revisionHistoryLimit: 10
selector:
matchLabels:
app: {{ template "chartmuseum.name" . }}
release: {{ .Release.Name | quote }}
template: template:
metadata: metadata:
name: {{ include "chartmuseum.fullname" . }} name: {{ include "chartmuseum.fullname" . }}
annotations:
{{ toYaml .Values.replica.annotations | indent 8 }}
labels: labels:
app: {{ template "chartmuseum.name" . }} app: {{ template "chartmuseum.name" . }}
release: {{ .Release.Name | quote }} release: {{ .Release.Name | quote }}
...@@ -24,6 +29,11 @@ spec: ...@@ -24,6 +29,11 @@ spec:
- name: {{ .Chart.Name }} - name: {{ .Chart.Name }}
image: {{ .Values.image.repository }}:{{ .Values.image.tag }} image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
imagePullPolicy: {{ .Values.image.pullPolicy }} imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- if .Values.env.existingSecret }}
envFrom:
- secretRef:
name: {{ .Values.env.existingSecret }}
{{- end }}
env: env:
{{- range $name, $value := .Values.env.open }} {{- range $name, $value := .Values.env.open }}
{{- if not (empty $value) }} {{- if not (empty $value) }}
...@@ -31,10 +41,30 @@ spec: ...@@ -31,10 +41,30 @@ spec:
value: {{ $value | quote }} value: {{ $value | quote }}
{{- end }} {{- end }}
{{- end }} {{- end }}
{{- range $name, $value := .Values.env.field }}
{{- if not ( empty $value) }}
- name: {{ $name | quote }}
valueFrom:
fieldRef:
fieldPath: {{ $value | quote }}
{{- end }}
{{- end }}
{{- if .Values.gcp.secret.enabled }} {{- if .Values.gcp.secret.enabled }}
- name: GOOGLE_APPLICATION_CREDENTIALS - name: GOOGLE_APPLICATION_CREDENTIALS
value: "/etc/secrets/google/credentials.json" value: "/etc/secrets/google/credentials.json"
{{- end }} {{- end }}
{{- if .Values.env.existingSecret }}
{{- $secret_name := .Values.env.existingSecret }}
{{- range $name, $key := .Values.env.existingSecretMappings }}
{{- if not ( empty $key) }}
- name: {{ $name | quote }}
valueFrom:
secretKeyRef:
name: {{ $secret_name | quote }}
key: {{ $key | quote }}
{{- end }}
{{- end }}
{{- else }}
{{- $secret_name := include "chartmuseum.fullname" . }} {{- $secret_name := include "chartmuseum.fullname" . }}
{{- range $name, $value := .Values.env.secret }} {{- range $name, $value := .Values.env.secret }}
{{- if not ( empty $value) }} {{- if not ( empty $value) }}
...@@ -45,6 +75,11 @@ spec: ...@@ -45,6 +75,11 @@ spec:
key: {{ $name | quote }} key: {{ $name | quote }}
{{- end }} {{- end }}
{{- end }} {{- end }}
{{- end }}
{{- if .Values.bearerAuth.secret.enabled }}
- name: AUTH_CERT_PATH
value: /var/keys/public-key.pem
{{ end }}
args: args:
- --port=8080 - --port=8080
{{- if eq .Values.env.open.STORAGE "local" }} {{- if eq .Values.env.open.STORAGE "local" }}
...@@ -63,16 +98,24 @@ spec: ...@@ -63,16 +98,24 @@ spec:
path: {{ .Values.env.open.CONTEXT_PATH }}/health path: {{ .Values.env.open.CONTEXT_PATH }}/health
port: http port: http
{{ toYaml .Values.probes.readiness | indent 10 }} {{ toYaml .Values.probes.readiness | indent 10 }}
{{- if eq .Values.env.open.STORAGE "local" }}
volumeMounts: volumeMounts:
{{- if eq .Values.env.open.STORAGE "local" }}
- mountPath: /storage - mountPath: /storage
name: storage-volume name: storage-volume
{{- end }} {{- end }}
{{- if .Values.gcp.secret.enabled }} {{- if .Values.gcp.secret.enabled }}
volumeMounts:
- mountPath: /etc/secrets/google - mountPath: /etc/secrets/google
name: {{ include "chartmuseum.fullname" . }}-gcp name: {{ include "chartmuseum.fullname" . }}-gcp
{{- end }} {{- end }}
{{- if .Values.oracle.secret.enabled }}
- mountPath: /home/chartmuseum/.oci
name: {{ include "chartmuseum.fullname" . }}-oracle
{{- end }}
{{- if .Values.bearerAuth.secret.enabled }}
- name: public-key
mountPath: /var/keys
readOnly: true
{{- end }}
{{- with .Values.resources }} {{- with .Values.resources }}
resources: resources:
{{ toYaml . | indent 10 }} {{ toYaml . | indent 10 }}
...@@ -121,3 +164,18 @@ spec: ...@@ -121,3 +164,18 @@ spec:
path: credentials.json path: credentials.json
{{ end }} {{ end }}
{{ end }} {{ end }}
{{ if .Values.oracle.secret.enabled }}
- name: {{ include "chartmuseum.fullname" . }}-oracle
secret:
secretName: {{ .Values.oracle.secret.name }}
items:
- key: {{ .Values.oracle.secret.config }}
path: config
- key: {{ .Values.oracle.secret.key_file }}
path: oci.key
{{ end }}
{{- if .Values.bearerAuth.secret.enabled }}
- name: public-key
secret:
secretName: {{ .Values.bearerAuth.secret.publicKeySecret }}
{{- end }}
{{- if .Values.ingress.enabled }}
{{- $servicePort := .Values.service.externalPort -}} {{- $servicePort := .Values.service.externalPort -}}
{{- $serviceName := include "chartmuseum.fullname" . -}} {{- $serviceName := include "chartmuseum.fullname" . -}}
{{- if .Values.ingress.enabled }} {{- $ingressExtraPaths := .Values.ingress.extraPaths -}}
--- ---
apiVersion: extensions/v1beta1 apiVersion: extensions/v1beta1
kind: Ingress kind: Ingress
...@@ -15,17 +16,27 @@ metadata: ...@@ -15,17 +16,27 @@ metadata:
{{ include "chartmuseum.labels.standard" . | indent 4 }} {{ include "chartmuseum.labels.standard" . | indent 4 }}
spec: spec:
rules: rules:
{{- range $host := .Values.ingress.hosts }} {{- range .Values.ingress.hosts }}
- host: {{ $host }} - host: {{ .name }}
http: http:
paths: paths:
- path: {{- range $ingressExtraPaths }}
- path: {{ default "/" .path | quote }}
backend:
serviceName: {{ default $serviceName .service }}
servicePort: {{ default $servicePort .port }}
{{- end }}
- path: {{ default "/" .path | quote }}
backend: backend:
serviceName: {{ $serviceName }} serviceName: {{ default $serviceName .serviceName }}
servicePort: {{ $servicePort }} servicePort: {{ default $servicePort .servicePort }}
{{- end -}} {{- end }}
{{- if .Values.ingress.tls }}
tls: tls:
{{ toYaml .Values.ingress.tls | indent 4 }} {{- range .Values.ingress.hosts }}
{{- end -}} {{- if .tls }}
- hosts:
- {{ .name }}
secretName: {{ .tlsSecret }}
{{- end }}
{{- end }}
{{- end -}} {{- end -}}
{{- if .Values.persistence.pv.enabled -}}
apiVersion: v1
kind: PersistentVolume
metadata:
{{- if .Values.persistence.pv.pvname }}
name: {{ .Values.persistence.pv.pvname }}
{{- else }}
name: {{ include "chartmuseum.fullname" . }}
{{- end }}
labels:
app: {{ include "chartmuseum.fullname" . }}
release: {{ .Release.Name | quote }}
spec:
capacity:
storage: {{ .Values.persistence.pv.capacity.storage }}
accessModes:
- {{ .Values.persistence.pv.accessMode | quote }}
nfs:
server: {{ .Values.persistence.pv.nfs.server }}
path: {{ .Values.persistence.pv.nfs.path | quote }}
{{- end }}
\ No newline at end of file
...@@ -6,6 +6,9 @@ metadata: ...@@ -6,6 +6,9 @@ metadata:
labels: labels:
app: {{ include "chartmuseum.fullname" . }} app: {{ include "chartmuseum.fullname" . }}
release: {{ .Release.Name | quote }} release: {{ .Release.Name | quote }}
{{- if .Values.persistence.labels }}
{{ toYaml .Values.persistence.labels | indent 4 }}
{{- end }}
spec: spec:
accessModes: accessModes:
- {{ .Values.persistence.accessMode | quote }} - {{ .Values.persistence.accessMode | quote }}
...@@ -18,5 +21,7 @@ spec: ...@@ -18,5 +21,7 @@ spec:
{{- else }} {{- else }}
storageClassName: "{{ .Values.persistence.storageClass }}" storageClassName: "{{ .Values.persistence.storageClass }}"
{{- end }} {{- end }}
{{- else if and .Values.persistence.volumeName (.Values.persistence.pv.enabled) }}
volumeName: "{{ .Values.persistence.volumeName }}"
{{- end }} {{- end }}
{{- end }} {{- end }}
{{- if not .Values.env.existingSecret -}}
apiVersion: v1 apiVersion: v1
kind: Secret kind: Secret
metadata: metadata:
...@@ -15,3 +16,4 @@ data: ...@@ -15,3 +16,4 @@ data:
{{- end }} {{- end }}
{{- end }} {{- end }}
{{- end }} {{- end }}
{{- end }}
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
metadata: metadata:
{{- if .Values.service.servicename }}
name: {{ .Values.service.servicename }}
{{- else }}
name: {{ include "chartmuseum.fullname" . }} name: {{ include "chartmuseum.fullname" . }}
annotations: {{- end }}
{{ toYaml .Values.service.annotations | indent 4 }}
labels: labels:
{{ include "chartmuseum.labels.standard" . | indent 4 }} {{ include "chartmuseum.labels.standard" . | indent 4 }}
{{- if .Values.service.labels }}
{{ toYaml .Values.service.labels | indent 4 }}
{{- end }}
{{- if .Values.service.annotations }} {{- if .Values.service.annotations }}
annotations: annotations:
{{ toYaml .Values.service.annotations | indent 4 }} {{ toYaml .Values.service.annotations | indent 4 }}
{{- end }} {{- end }}
spec: spec:
type: {{ .Values.service.type }} type: {{ .Values.service.type }}
{{- if (and (eq .Values.service.type "NodePort") (not (empty .Values.service.nodePort))) }}
externalTrafficPolicy: {{ .Values.service.externalTrafficPolicy }}
{{- end }}
{{- if eq .Values.service.type "ClusterIP" }} {{- if eq .Values.service.type "ClusterIP" }}
{{- if .Values.service.clusterIP }} {{- if .Values.service.clusterIP }}
clusterIP: {{ .Values.service.clusterIP }} clusterIP: {{ .Values.service.clusterIP }}
......
...@@ -4,12 +4,13 @@ strategy: ...@@ -4,12 +4,13 @@ strategy:
rollingUpdate: rollingUpdate:
maxUnavailable: 0 maxUnavailable: 0
image: image:
repository: chartmuseum/chartmuseum # repository: chartmuseum/chartmuseum
tag: v0.7.1 repository: ranchercharts/chartmuseum-chartmuseum
tag: v0.9.0
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
env: env:
open: open:
# storage backend, can be one of: local, alibaba, amazon, google, microsoft # storage backend, can be one of: local, alibaba, amazon, google, microsoft, oracle
STORAGE: local STORAGE: local
# oss bucket to store charts for alibaba storage backend # oss bucket to store charts for alibaba storage backend
STORAGE_ALIBABA_BUCKET: STORAGE_ALIBABA_BUCKET:
...@@ -46,6 +47,12 @@ env: ...@@ -46,6 +47,12 @@ env:
STORAGE_OPENSTACK_REGION: STORAGE_OPENSTACK_REGION:
# path to a CA cert bundle for your openstack endpoint # path to a CA cert bundle for your openstack endpoint
STORAGE_OPENSTACK_CACERT: STORAGE_OPENSTACK_CACERT:
# compartment id for for oracle storage backend
STORAGE_ORACLE_COMPARTMENTID:
# oci bucket to store charts for oracle storage backend
STORAGE_ORACLE_BUCKET:
# prefix to store charts for oracle storage backend
STORAGE_ORACLE_PREFIX:
# form field which will be queried for the chart file content # form field which will be queried for the chart file content
CHART_POST_FORM_FIELD_NAME: chart CHART_POST_FORM_FIELD_NAME: chart
# form field which will be queried for the provenance file content # form field which will be queried for the provenance file content
...@@ -78,6 +85,14 @@ env: ...@@ -78,6 +85,14 @@ env:
CACHE_REDIS_ADDR: CACHE_REDIS_ADDR:
# Redis database to be selected after connect # Redis database to be selected after connect
CACHE_REDIS_DB: 0 CACHE_REDIS_DB: 0
# enable bearer auth
BEARER_AUTH: false
# auth realm used for bearer auth
AUTH_REALM:
# auth service used for bearer auth
AUTH_SERVICE:
field:
# POD_IP: status.podIP
secret: secret:
# username for basic http authentication # username for basic http authentication
BASIC_AUTH_USER: BASIC_AUTH_USER:
...@@ -87,21 +102,31 @@ env: ...@@ -87,21 +102,31 @@ env:
GOOGLE_CREDENTIALS_JSON: GOOGLE_CREDENTIALS_JSON:
# Redis requirepass server configuration # Redis requirepass server configuration
CACHE_REDIS_PASSWORD: CACHE_REDIS_PASSWORD:
# Name of an existing secret to get the secret values from
existingSecret:
# Stores Enviromnt Variable to secret key name mappings
existingSecretMappings:
# username for basic http authentication
BASIC_AUTH_USER:
# password for basic http authentication
BASIC_AUTH_PASS:
# GCP service account json file
GOOGLE_CREDENTIALS_JSON:
# Redis requirepass server configuration
CACHE_REDIS_PASSWORD:
deployment: deployment:
## Chartmuseum Deployment annotations ## Chartmuseum Deployment annotations
annotations: {} annotations: {}
# name: value
replica:
## Chartmuseum Replicas annotations
annotations: {}
## Read more about kube2iam to provide access to s3 https://github.com/jtblin/kube2iam
# iam.amazonaws.com/role: role-arn
service: service:
servicename:
type: ClusterIP type: ClusterIP
externalTrafficPolicy: Local
# clusterIP: None # clusterIP: None
externalPort: 8080 externalPort: 8080
nodePort: nodePort:
annotations: {} annotations: {}
labels: {}
resources: {} resources: {}
# limits: # limits:
...@@ -129,7 +154,12 @@ serviceAccount: ...@@ -129,7 +154,12 @@ serviceAccount:
create: false create: false
# name: # name:
securityContext: {} # UID/GID 1000 is the default user "chartmuseum" used in
# the container image starting in v0.8.0 and above. This
# is required for local persistant storage. If your cluster
# does not allow this, try setting securityContext: {}
securityContext:
fsGroup: 1000
nodeSelector: {} nodeSelector: {}
...@@ -141,6 +171,8 @@ persistence: ...@@ -141,6 +171,8 @@ persistence:
enabled: false enabled: false
accessMode: ReadWriteOnce accessMode: ReadWriteOnce
size: 8Gi size: 8Gi
labels: {}
# name: value
## A manually managed Persistent Volume and Claim ## A manually managed Persistent Volume and Claim
## Requires persistence.enabled: true ## Requires persistence.enabled: true
## If defined, PVC must be created manually before volume will be bound ## If defined, PVC must be created manually before volume will be bound
...@@ -154,6 +186,16 @@ persistence: ...@@ -154,6 +186,16 @@ persistence:
## GKE, AWS & OpenStack) ## GKE, AWS & OpenStack)
## ##
# storageClass: "-" # storageClass: "-"
# volumeName:
pv:
enabled: false
pvname:
capacity:
storage: 8Gi
accessMode: ReadWriteOnce
nfs:
server:
path:
## Ingress for load balancer ## Ingress for load balancer
ingress: ingress:
...@@ -173,17 +215,18 @@ ingress: ...@@ -173,17 +215,18 @@ ingress:
## Must be provided if Ingress is enabled ## Must be provided if Ingress is enabled
## ##
# hosts: # hosts:
# chartmuseum.domain.com: # - name: chartmuseum.domain1.com
# - /charts # path: /
# - /index.yaml # tls: false
# - name: chartmuseum.domain2.com
## Chartmuseum Ingress TLS configuration # path: /
## Secrets must be manually created in the namespace #
## # ## Set this to true in order to enable TLS on the ingress record
# tls: # tls: true
# - secretName: chartmuseum-server-tls #
# hosts: # ## If TLS is set to true, you must declare what secret will store the key/certificate for TLS
# - chartmuseum.domain.com # ## Secrets must be added manually to the namespace
# tlsSecret: chartmuseum.domain2-tls
# Adding secrets to tiller is not a great option, so If you want to use an existing # Adding secrets to tiller is not a great option, so If you want to use an existing
# secret that contains the json file, you can use the following entries # secret that contains the json file, you can use the following entries
...@@ -194,3 +237,16 @@ gcp: ...@@ -194,3 +237,16 @@ gcp:
name: name:
# Secret key that holds the json value. # Secret key that holds the json value.
key: credentials.json key: credentials.json
oracle:
secret:
enabled: false
# Name of the secret that contains the encoded config and key
name:
# Secret key that holds the oci config
config: config
# Secret key that holds the oci private key
key_file: key_file
bearerAuth:
secret:
enabled: false
publicKeySecret: chartmuseum-public-key
Markdown is supported
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