Skip to main content

infra/helm/platform/templates/status-mock.yaml

Metadata

Indexed Symbols

No indexed functions/methods detected in this file.

Markdown Headings (if applicable)

No markdown headings detected.

Source Preview

{{- if .Values.statusMock.enabled }}
apiVersion: v1
kind: ConfigMap
metadata:
name: anchor-status-mock-config
namespace: {{ .Values.namespace.name }}
data:
{{- range $key, $value := .Values.statusMock.env }}
{{ $key }}: {{ $value | quote }}
{{- end }}
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: anchor-status-mock
namespace: {{ .Values.namespace.name }}
labels:
app.kubernetes.io/name: anchor-status-mock
anchor.io/environment: {{ .Values.global.environment | quote }}
spec:
replicas: {{ .Values.statusMock.replicaCount }}
selector:
matchLabels:
app.kubernetes.io/name: anchor-status-mock
template: