mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/drone] Fixes compatibility with 1.16 (#17323)
* [stable/drone] Fixes compatibility with 1.16 Notice of deprecation: https://kubernetes.io/blog/2019/07/18/api-deprecations-in-1-16 Signed-off-by: Rafael Grigorian <me@raffi.io> * Bumped minor Signed-off-by: Rafael Grigorian <me@raffi.io>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
0c09a6dde2
commit
767bbf5124
@@ -2,7 +2,7 @@ apiVersion: v1
|
||||
name: drone
|
||||
home: https://drone.io/
|
||||
icon: https://drone.io/apple-touch-icon.png
|
||||
version: 2.1.0
|
||||
version: 2.2.0
|
||||
appVersion: 1.3.1
|
||||
description: Drone is a Continuous Delivery system built on container technology
|
||||
keywords:
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{{- if not .Values.server.kubernetes.enabled -}}
|
||||
apiVersion: extensions/v1beta1
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: {{ template "drone.fullname" . }}-agent
|
||||
@@ -10,6 +10,11 @@ metadata:
|
||||
heritage: "{{ .Release.Service }}"
|
||||
component: agent
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: {{ template "drone.name" . }}
|
||||
release: "{{ .Release.Name }}"
|
||||
component: agent
|
||||
replicas: {{ .Values.agent.replicas }}
|
||||
template:
|
||||
metadata:
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{{- if eq (include "drone.providerOK" .) "true" }}
|
||||
apiVersion: extensions/v1beta1
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: {{ template "drone.fullname" . }}-server
|
||||
@@ -10,6 +10,11 @@ metadata:
|
||||
heritage: "{{ .Release.Service }}"
|
||||
component: server
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: {{ template "drone.name" . }}
|
||||
release: "{{ .Release.Name }}"
|
||||
component: server
|
||||
replicas: 1
|
||||
template:
|
||||
metadata:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{- if .Values.ingress.enabled -}}
|
||||
{{- $fullName := include "drone.fullname" . }}
|
||||
{{- $httpPort := .Values.service.httpPort }}
|
||||
apiVersion: extensions/v1beta1
|
||||
apiVersion: networking.k8s.io/v1beta1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
annotations:
|
||||
|
||||
Reference in New Issue
Block a user