Commit b44a427f authored by Jason Plum's avatar Jason Plum

application: move componentKinds to group

Replace usage of `apiVersion` from `Application` CRD instance
with `group`, per `apps/v1beta2` specifications.

Remapping information found with:

    kubectl-v1.13.0 api-resources
Signed-off-by: Jason Plum's avatarJason Plum <jplum@gitlab.com>
parent e34b0895
Pipeline #54137326 failed with stages
in 16 minutes and 41 seconds
---
title: 'Application: use groups in componentKinds'
merge_request: 740
author:
type: fixed
......@@ -72,36 +72,36 @@ spec:
matchLabels:
app.kubernetes.io/name: {{ .Release.Name }}
componentKinds:
- apiVersion: v1
- group: core
kind: ConfigMap
- apiVersion: v1
- group: core
kind: Service
- apiVersion: v1
- group: core
kind: ServiceAccount
- apiVersion: rbac.authorization.k8s.io/v1
- group: rbac.authorization.k8s.io
kind: Role
- apiVersion: rbac.authorization.k8s.io/v1
- group: rbac.authorization.k8s.io
kind: RoleBinding
{{ if eq .Values.global.application.allowClusterRoles true -}}
- apiVersion: rbac.authorization.k8s.io/v1
- group: rbac.authorization.k8s.io
kind: ClusterRole
- apiVersion: rbac.authorization.k8s.io/v1
- group: rbac.authorization.k8s.io
kind: ClusterRoleBinding
{{- end }}
- apiVersion: batch/v1
- group: batch
kind: Job
- apiVersion: v1
- group: core
kind: Secret
- apiVersion: extensions/v1beta1
- group: extensions
kind: Ingress
- apiVersion: v1
- group: core
kind: PersistentVolumeClaim
- apiVersion: apps/v1beta2
- group: apps
kind: Deployment
- apiVersion: autoscaling/v2beta1
- group: autoscaling
kind: HorizontalPodAutoscaler
- apiVersion: apps/v1beta2
- group: apps
kind: StatefulSet
- apiVersion: policy/v1beta1
- group: policy
kind: PodDisruptionBudget
{{- end -}}
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