You've already forked drone-charts
							
							Compare commits
	
		
			27 Commits
		
	
	
		
			0.8.0
			...
			03515b9ef1
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						
						
							
						
						03515b9ef1
	
				 | 
					
					
						|||
| 
						
						
							
						
						443cd3a2c2
	
				 | 
					
					
						|||
| 
						
						
							
						
						f9af378a43
	
				 | 
					
					
						|||
| c52be5d3f2 | |||
| 
						
						
							
						
						f8e6fec6ef
	
				 | 
					
					
						|||
| 
						
						
							
						
						359e764d3d
	
				 | 
					
					
						|||
| 
						
						
							
						
						6f5edc6fe7
	
				 | 
					
					
						|||
| 
						
						
							
						
						fe3d4d6fce
	
				 | 
					
					
						|||
| 
						
						
							
						
						0113277d85
	
				 | 
					
					
						|||
| 
						
						
							
						
						f9f221157b
	
				 | 
					
					
						|||
| 
						
						
							
						
						288a23c9fe
	
				 | 
					
					
						|||
| 
						
						
							
						
						8b9c92b6c7
	
				 | 
					
					
						|||
| 
						
						
							
						
						3316c53142
	
				 | 
					
					
						|||
| 
						
						
							
						
						4302d21881
	
				 | 
					
					
						|||
| 
						
						
							
						
						2f252a30d0
	
				 | 
					
					
						|||
| 
						
						
							
						
						27b291646f
	
				 | 
					
					
						|||
| 
						
						
							
						
						e1b7f97791
	
				 | 
					
					
						|||
| 
						
						
							
						
						d105c38ca7
	
				 | 
					
					
						|||
| 
						
						
							
						
						71ff345a95
	
				 | 
					
					
						|||
| 
						
						
							
						
						a6d13cdef1
	
				 | 
					
					
						|||
| 
						
						
							
						
						07b70c7325
	
				 | 
					
					
						|||
| 
						
						
							
						
						5db5e4c4aa
	
				 | 
					
					
						|||
| 
						
						
							
						
						32bf0d41e7
	
				 | 
					
					
						|||
| 
						
						
							
						
						110f92f55f
	
				 | 
					
					
						|||
| 
						
						
							
						
						ea6ec4a875
	
				 | 
					
					
						|||
| 
						
						
							
						
						4a6f32da86
	
				 | 
					
					
						|||
| 
						
						
							
						
						b2e4debec0
	
				 | 
					
					
						
							
								
								
									
										13
									
								
								.drone.yml
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								.drone.yml
									
									
									
									
									
								
							@@ -12,12 +12,12 @@ platform:
 | 
			
		||||
 | 
			
		||||
steps:
 | 
			
		||||
- name: clone
 | 
			
		||||
  image: git.cryptic.systems/volker.raschek/git:1.3.1
 | 
			
		||||
  image: git.cryptic.systems/volker.raschek/git:1.4.0
 | 
			
		||||
 | 
			
		||||
- name: helm lint
 | 
			
		||||
  commands:
 | 
			
		||||
  - helm lint
 | 
			
		||||
  image: git.cryptic.systems/volker.raschek/helm:3.14.0
 | 
			
		||||
  image: git.cryptic.systems/volker.raschek/helm:3.17.1
 | 
			
		||||
  resources:
 | 
			
		||||
    limits:
 | 
			
		||||
      cpu: 150
 | 
			
		||||
@@ -26,7 +26,7 @@ steps:
 | 
			
		||||
- name: markdown lint
 | 
			
		||||
  commands:
 | 
			
		||||
  - markdownlint *.md
 | 
			
		||||
  image: git.cryptic.systems/volker.raschek/markdownlint:0.39.0
 | 
			
		||||
  image: git.cryptic.systems/volker.raschek/markdownlint:0.44.0
 | 
			
		||||
  resources:
 | 
			
		||||
    limits:
 | 
			
		||||
      cpu: 150
 | 
			
		||||
@@ -35,7 +35,7 @@ steps:
 | 
			
		||||
- name: helm template
 | 
			
		||||
  commands:
 | 
			
		||||
  - helm template .
 | 
			
		||||
  image: git.cryptic.systems/volker.raschek/helm:3.14.0
 | 
			
		||||
  image: git.cryptic.systems/volker.raschek/helm:3.17.1
 | 
			
		||||
  resources:
 | 
			
		||||
    limits:
 | 
			
		||||
      cpu: 150
 | 
			
		||||
@@ -81,10 +81,11 @@ platform:
 | 
			
		||||
 | 
			
		||||
steps:
 | 
			
		||||
- name: clone
 | 
			
		||||
  image: git.cryptic.systems/volker.raschek/git:1.3.1
 | 
			
		||||
  image: git.cryptic.systems/volker.raschek/git:1.4.0
 | 
			
		||||
 | 
			
		||||
- name: release-helm-chart
 | 
			
		||||
  commands:
 | 
			
		||||
  - grep -o 'version:"${DRONE_TAG}"' Chart.yaml || echo "Version ${DRONE_TAG} not found in Chart.yaml"
 | 
			
		||||
  - helm repo add drone https://charts.cryptic.systems/drone
 | 
			
		||||
  - helm package --version ${DRONE_TAG} .
 | 
			
		||||
  - helm cm-push ${DRONE_REPO_NAME%-charts}-${DRONE_TAG}.tgz drone
 | 
			
		||||
@@ -93,7 +94,7 @@ steps:
 | 
			
		||||
      from_secret: helm_repo_password
 | 
			
		||||
    HELM_REPO_USERNAME:
 | 
			
		||||
      from_secret: helm_repo_username
 | 
			
		||||
  image: git.cryptic.systems/volker.raschek/helm:3.14.0
 | 
			
		||||
  image: git.cryptic.systems/volker.raschek/helm:3.17.1
 | 
			
		||||
  resources:
 | 
			
		||||
    limits:
 | 
			
		||||
      cpu: 150
 | 
			
		||||
 
 | 
			
		||||
@@ -2,8 +2,8 @@ apiVersion: v2
 | 
			
		||||
name: drone
 | 
			
		||||
description: Drone Helm chart for Kubernetes
 | 
			
		||||
type: application
 | 
			
		||||
version: "0.7.1"
 | 
			
		||||
appVersion: "2.22.0"
 | 
			
		||||
version: "0.8.2"
 | 
			
		||||
appVersion: "2.26.0"
 | 
			
		||||
icon: https://readme.drone.io/logo.svg
 | 
			
		||||
 | 
			
		||||
keywords:
 | 
			
		||||
 
 | 
			
		||||
@@ -22,20 +22,21 @@ spec:
 | 
			
		||||
      labels:
 | 
			
		||||
        {{- include "drone.selectorLabels" . | nindent 8 }}
 | 
			
		||||
    spec:
 | 
			
		||||
      {{- with .Values.affinity }}
 | 
			
		||||
      affinity:
 | 
			
		||||
        {{- toYaml . | nindent 8 }}
 | 
			
		||||
      {{- end }}
 | 
			
		||||
      containers:
 | 
			
		||||
        - name: {{ .Chart.Name }}
 | 
			
		||||
          envFrom:
 | 
			
		||||
          - secretRef:
 | 
			
		||||
              name: {{ include "drone.fullname" . }}
 | 
			
		||||
          securityContext:
 | 
			
		||||
            {{- toYaml .Values.securityContext | nindent 12 }}
 | 
			
		||||
          image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
 | 
			
		||||
          imagePullPolicy: {{ .Values.image.pullPolicy }}
 | 
			
		||||
          {{- with .Values.livenessProbe }}
 | 
			
		||||
          livenessProbe:
 | 
			
		||||
            httpGet:
 | 
			
		||||
              scheme: HTTP
 | 
			
		||||
              path: /healthz
 | 
			
		||||
              port: http
 | 
			
		||||
            {{- toYaml . | nindent 12 }}
 | 
			
		||||
          {{- end }}
 | 
			
		||||
          ports:
 | 
			
		||||
          - name: http
 | 
			
		||||
            containerPort: 80
 | 
			
		||||
@@ -43,14 +44,15 @@ spec:
 | 
			
		||||
          - name: https
 | 
			
		||||
            containerPort: 443
 | 
			
		||||
            protocol: TCP
 | 
			
		||||
          {{- with .Values.readinessProbe }}
 | 
			
		||||
          readinessProbe:
 | 
			
		||||
            httpGet:
 | 
			
		||||
              scheme: HTTP
 | 
			
		||||
              path: /healthz
 | 
			
		||||
              port: http
 | 
			
		||||
            {{- toYaml . | nindent 12 }}
 | 
			
		||||
          {{- end }}
 | 
			
		||||
          resources:
 | 
			
		||||
            {{- toYaml .Values.resources | nindent 12 }}
 | 
			
		||||
          {{- if .Values.config.DRONE_DATABASE_DRIVER | default "sqlite3" | eq "sqlite3" }}
 | 
			
		||||
          securityContext:
 | 
			
		||||
            {{- toYaml .Values.securityContext | nindent 12 }}
 | 
			
		||||
          volumeMounts:
 | 
			
		||||
          - name: data
 | 
			
		||||
            mountPath: {{ default "/data/database.sqlite" .Values.config.DRONE_DATABASE_DATASOURCE | dir }}
 | 
			
		||||
@@ -63,8 +65,8 @@ spec:
 | 
			
		||||
            {{- toYaml . | nindent 10 }}
 | 
			
		||||
          {{- end }}
 | 
			
		||||
          {{- end }}
 | 
			
		||||
      {{- with .Values.affinity }}
 | 
			
		||||
      affinity:
 | 
			
		||||
      {{- with .Values.initContainers }}
 | 
			
		||||
      initContainers:
 | 
			
		||||
        {{- toYaml . | nindent 8 }}
 | 
			
		||||
      {{- end }}
 | 
			
		||||
      {{- with .Values.imagePullSecrets }}
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										66
									
								
								values.yaml
									
									
									
									
									
								
							
							
						
						
									
										66
									
								
								values.yaml
									
									
									
									
									
								
							@@ -23,13 +23,7 @@ podSecurityContext: {}
 | 
			
		||||
# is set to sqlite3.
 | 
			
		||||
replicas: 1
 | 
			
		||||
 | 
			
		||||
securityContext: {}
 | 
			
		||||
  # capabilities:
 | 
			
		||||
  #   drop:
 | 
			
		||||
  #   - ALL
 | 
			
		||||
  # readOnlyRootFilesystem: true
 | 
			
		||||
  # runAsNonRoot: true
 | 
			
		||||
  # runAsUser: 1000
 | 
			
		||||
affinity: {}
 | 
			
		||||
 | 
			
		||||
config: {}
 | 
			
		||||
  # DRONE_BITBUCKET_CLIENT_ID
 | 
			
		||||
@@ -524,22 +518,6 @@ config: {}
 | 
			
		||||
  # https://docs.drone.io/server/reference/drone-webhook-skip-verify/
 | 
			
		||||
  # DRONE_WEBHOOK_SKIP_VERIFY: ""
 | 
			
		||||
 | 
			
		||||
serviceAccount:
 | 
			
		||||
  annotations: {}
 | 
			
		||||
 | 
			
		||||
service:
 | 
			
		||||
  annotations: {}
 | 
			
		||||
  # externalIPs: []
 | 
			
		||||
  # externalTrafficPolicy: "Cluster"
 | 
			
		||||
  # loadBalancerClass: ""
 | 
			
		||||
  # loadBalancerIP: ""
 | 
			
		||||
  # loadBalancerSourceRanges: []
 | 
			
		||||
  # internalTrafficPolicy: "Cluster"
 | 
			
		||||
  name: http
 | 
			
		||||
  targetPort: 80
 | 
			
		||||
  type: ClusterIP
 | 
			
		||||
  port: 80
 | 
			
		||||
 | 
			
		||||
ingress:
 | 
			
		||||
  enabled: false
 | 
			
		||||
  className: "nginx"
 | 
			
		||||
@@ -557,6 +535,22 @@ ingress:
 | 
			
		||||
      hosts:
 | 
			
		||||
        - "your-hostname"
 | 
			
		||||
 | 
			
		||||
initContainers: []
 | 
			
		||||
 | 
			
		||||
livenessProbe:
 | 
			
		||||
  httpGet:
 | 
			
		||||
    scheme: HTTP
 | 
			
		||||
    path: /healthz
 | 
			
		||||
    port: http
 | 
			
		||||
 | 
			
		||||
nodeSelector: {}
 | 
			
		||||
 | 
			
		||||
readinessProbe:
 | 
			
		||||
  httpGet:
 | 
			
		||||
    scheme: HTTP
 | 
			
		||||
    path: /healthz
 | 
			
		||||
    port: http
 | 
			
		||||
 | 
			
		||||
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
 | 
			
		||||
@@ -569,12 +563,32 @@ resources: {}
 | 
			
		||||
  #   cpu: 100m
 | 
			
		||||
  #   memory: 128Mi
 | 
			
		||||
 | 
			
		||||
nodeSelector: {}
 | 
			
		||||
securityContext: {}
 | 
			
		||||
  # capabilities:
 | 
			
		||||
  #   drop:
 | 
			
		||||
  #   - ALL
 | 
			
		||||
  # readOnlyRootFilesystem: true
 | 
			
		||||
  # runAsNonRoot: true
 | 
			
		||||
  # runAsUser: 1000
 | 
			
		||||
 | 
			
		||||
serviceAccount:
 | 
			
		||||
  annotations: {}
 | 
			
		||||
 | 
			
		||||
service:
 | 
			
		||||
  annotations: {}
 | 
			
		||||
  # externalIPs: []
 | 
			
		||||
  # externalTrafficPolicy: "Cluster"
 | 
			
		||||
  # loadBalancerClass: ""
 | 
			
		||||
  # loadBalancerIP: ""
 | 
			
		||||
  # loadBalancerSourceRanges: []
 | 
			
		||||
  # internalTrafficPolicy: "Cluster"
 | 
			
		||||
  name: http
 | 
			
		||||
  targetPort: 80
 | 
			
		||||
  type: ClusterIP
 | 
			
		||||
  port: 80
 | 
			
		||||
 | 
			
		||||
tolerations: []
 | 
			
		||||
 | 
			
		||||
affinity: {}
 | 
			
		||||
 | 
			
		||||
# persistence is only required when config.DATABASE_DRIVER is sqlite3 or
 | 
			
		||||
# undefined.
 | 
			
		||||
persistence:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user