Commit f73869a1 authored by DJ Mountney's avatar DJ Mountney

Merge branch '1233-replace-subgroup-with-annotation' into 'master'

Replace subgroup with GitLab class annotation

See merge request !772
parents d0b265fc 3c5aca6d
Pipeline #59291299 passed with stages
in 28 minutes and 52 seconds
---
title: Replace subgroup with GitLab class annotation
merge_request: 772
author:
type: changed
......@@ -6,6 +6,8 @@ metadata:
controller-tools.k8s.io: "1.0"
controller.gitlab.com: {{ .Values.version | quote }}
revision: "{{ .Release.Revision }}"
annotations:
gitlab.com/class: {{ .Release.Name }}
{{ include "gitlab.standardLabels" $ | indent 4 }}
name: {{ template "fullname" . }}
spec:
......
......@@ -26,7 +26,9 @@ spec:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ coalesce .Values.image.tag (include "gitlab.operator.parseVersion" .Values.version ) }}"
env:
- name: API_SUBGROUP
- name: GITLAB_CLASS
value: {{ .Release.Name }}
- name: CRD_PREFIX
value: {{ .Release.Name }}
{{ template "gitlab.imagePullPolicy" . }}
resources:
......
......@@ -8,7 +8,7 @@ image:
# tag: latest
# Which version of the operator to deploy
version: 0.4
version: 0.5
init:
resources:
......
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