added repo
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
{{/*
|
||||
gossip-ring selector labels
|
||||
*/}}
|
||||
{{- define "mimir.gossipRingSelectorLabels" -}}
|
||||
{{ include "mimir.selectorLabels" . }}
|
||||
{{- if .ctx.Values.enterprise.legacyLabels }}
|
||||
gossip_ring_member: "true"
|
||||
{{- else }}
|
||||
app.kubernetes.io/part-of: memberlist
|
||||
{{- end }}
|
||||
{{- end -}}
|
||||
@@ -0,0 +1,19 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: {{ include "mimir.resourceName" (dict "ctx" . "component" "gossip-ring") }}
|
||||
labels:
|
||||
{{- include "mimir.labels" (dict "ctx" . "component" "gossip-ring") | nindent 4 }}
|
||||
namespace: {{ .Release.Namespace | quote }}
|
||||
spec:
|
||||
type: ClusterIP
|
||||
clusterIP: None
|
||||
ports:
|
||||
- name: gossip-ring
|
||||
port: {{ include "mimir.memberlistBindPort" . }}
|
||||
appProtocol: tcp
|
||||
protocol: TCP
|
||||
targetPort: {{ include "mimir.memberlistBindPort" . }}
|
||||
publishNotReadyAddresses: true
|
||||
selector:
|
||||
{{- include "mimir.gossipRingSelectorLabels" (dict "ctx" .) | nindent 4 }}
|
||||
Reference in New Issue
Block a user