From 1f28881fb6ab703cebb8ff97d894322106ec5b50 Mon Sep 17 00:00:00 2001 From: Patrick Oyarzun Date: Mon, 6 Jun 2022 16:03:30 -0500 Subject: [PATCH] Update generated helm manifests --- .../charts/minio/templates/configmap.yaml | 111 ++++++++++++++++ .../charts/minio/templates/deployment.yaml | 72 +++++++++++ .../post-install-create-bucket-job.yaml | 47 +++++++ .../post-install-prometheus-metrics-role.yaml | 37 ++++++ ...nstall-prometheus-metrics-rolebinding.yaml | 19 +++ ...all-prometheus-metrics-serviceaccount.yaml | 11 ++ .../charts/minio/templates/pvc.yaml | 17 +++ .../charts/minio/templates/secrets.yaml | 15 +++ .../charts/minio/templates/service.yaml | 21 ++++ .../minio/templates/serviceaccount.yaml | 11 ++ .../templates/admin-api/admin-api-dep.yaml | 107 ++++++++++++++++ .../templates/admin-api/admin-api-svc.yaml | 31 +++++ .../alertmanager-statefulset.yaml | 109 ++++++++++++++++ .../alertmanager-svc-headless.yaml | 37 ++++++ .../alertmanager/alertmanager-svc.yaml | 31 +++++ .../compactor/compactor-statefulset.yaml | 115 +++++++++++++++++ .../templates/compactor/compactor-svc.yaml | 31 +++++ .../distributor/distributor-dep.yaml | 116 +++++++++++++++++ .../distributor/distributor-svc-headless.yaml | 29 +++++ .../distributor/distributor-svc.yaml | 31 +++++ .../templates/gateway/gateway-dep.yaml | 100 +++++++++++++++ .../templates/gateway/gateway-svc.yaml | 26 ++++ .../gossip-ring/gossip-ring-svc.yaml | 26 ++++ .../templates/ingester/ingester-pdb.yaml | 21 ++++ .../ingester/ingester-statefulset.yaml | 106 ++++++++++++++++ .../ingester/ingester-svc-headless.yaml | 29 +++++ .../templates/ingester/ingester-svc.yaml | 31 +++++ .../templates/license-secret.yaml | 14 +++ .../templates/minio/create-bucket-job.yaml | 44 +++++++ .../overrides-exporter-dep.yaml | 106 ++++++++++++++++ .../overrides-exporter-svc.yaml | 30 +++++ .../templates/podsecuritypolicy.yaml | 40 ++++++ .../templates/querier/querier-dep.yaml | 118 ++++++++++++++++++ .../templates/querier/querier-svc.yaml | 31 +++++ .../query-frontend/query-frontend-dep.yaml | 112 +++++++++++++++++ .../query-frontend-svc-headless.yaml | 33 +++++ .../query-frontend/query-frontend-svc.yaml | 30 +++++ .../mimir-distributed/templates/role.yaml | 17 +++ .../templates/rolebinding.yaml | 19 +++ .../templates/ruler/ruler-dep.yaml | 108 ++++++++++++++++ .../templates/ruler/ruler-svc.yaml | 27 ++++ .../templates/runtime-configmap.yaml | 16 +++ .../mimir-distributed/templates/secret.yaml | 14 +++ .../templates/serviceaccount.yaml | 14 +++ .../store-gateway/store-gateway-pdb.yaml | 21 ++++ .../store-gateway-statefulset.yaml | 113 +++++++++++++++++ .../store-gateway-svc-headless.yaml | 29 +++++ .../store-gateway/store-gateway-svc.yaml | 31 +++++ .../templates/tokengen/tokengen-job.yaml | 60 +++++++++ .../charts/minio/templates/configmap.yaml | 4 +- .../charts/minio/templates/deployment.yaml | 24 ++-- .../post-install-create-bucket-job.yaml | 14 +-- .../post-install-prometheus-metrics-role.yaml | 8 +- ...nstall-prometheus-metrics-rolebinding.yaml | 8 +- ...all-prometheus-metrics-serviceaccount.yaml | 4 +- .../charts/minio/templates/pvc.yaml | 4 +- .../charts/minio/templates/secrets.yaml | 4 +- .../charts/minio/templates/service.yaml | 6 +- .../minio/templates/serviceaccount.yaml | 4 +- .../alertmanager-statefulset.yaml | 18 +-- .../alertmanager-svc-headless.yaml | 6 +- .../alertmanager/alertmanager-svc.yaml | 6 +- .../compactor/compactor-statefulset.yaml | 18 +-- .../templates/compactor/compactor-svc.yaml | 6 +- .../distributor/distributor-dep.yaml | 16 +-- .../distributor/distributor-svc-headless.yaml | 6 +- .../distributor/distributor-svc.yaml | 6 +- .../gossip-ring/gossip-ring-svc.yaml | 6 +- .../templates/ingester/ingester-pdb.yaml | 6 +- .../ingester/ingester-statefulset.yaml | 18 +-- .../ingester/ingester-svc-headless.yaml | 6 +- .../templates/ingester/ingester-svc.yaml | 6 +- .../templates/minio/create-bucket-job.yaml | 12 +- .../templates/nginx/nginx-configmap.yaml | 30 ++--- .../templates/nginx/nginx-dep.yaml | 14 +-- .../templates/nginx/nginx-svc.yaml | 6 +- .../overrides-exporter-dep.yaml | 16 +-- .../overrides-exporter-svc.yaml | 6 +- .../templates/podsecuritypolicy.yaml | 4 +- .../templates/querier/querier-dep.yaml | 16 +-- .../templates/querier/querier-svc.yaml | 6 +- .../query-frontend/query-frontend-dep.yaml | 16 +-- .../query-frontend-svc-headless.yaml | 6 +- .../query-frontend/query-frontend-svc.yaml | 6 +- .../mimir-distributed/templates/role.yaml | 6 +- .../templates/rolebinding.yaml | 8 +- .../templates/ruler/ruler-dep.yaml | 16 +-- .../templates/ruler/ruler-svc.yaml | 6 +- .../templates/runtime-configmap.yaml | 4 +- .../mimir-distributed/templates/secret.yaml | 14 +++ .../templates/serviceaccount.yaml | 4 +- .../store-gateway/store-gateway-pdb.yaml | 6 +- .../store-gateway-statefulset.yaml | 18 +-- .../store-gateway-svc-headless.yaml | 6 +- .../store-gateway/store-gateway-svc.yaml | 6 +- .../mimir-distributed/templates/secret.yaml | 14 --- 96 files changed, 2589 insertions(+), 225 deletions(-) create mode 100644 operations/helm/tests/test-enterprise-values-generated/mimir-distributed/charts/minio/templates/configmap.yaml create mode 100644 operations/helm/tests/test-enterprise-values-generated/mimir-distributed/charts/minio/templates/deployment.yaml create mode 100644 operations/helm/tests/test-enterprise-values-generated/mimir-distributed/charts/minio/templates/post-install-create-bucket-job.yaml create mode 100644 operations/helm/tests/test-enterprise-values-generated/mimir-distributed/charts/minio/templates/post-install-prometheus-metrics-role.yaml create mode 100644 operations/helm/tests/test-enterprise-values-generated/mimir-distributed/charts/minio/templates/post-install-prometheus-metrics-rolebinding.yaml create mode 100644 operations/helm/tests/test-enterprise-values-generated/mimir-distributed/charts/minio/templates/post-install-prometheus-metrics-serviceaccount.yaml create mode 100644 operations/helm/tests/test-enterprise-values-generated/mimir-distributed/charts/minio/templates/pvc.yaml create mode 100644 operations/helm/tests/test-enterprise-values-generated/mimir-distributed/charts/minio/templates/secrets.yaml create mode 100644 operations/helm/tests/test-enterprise-values-generated/mimir-distributed/charts/minio/templates/service.yaml create mode 100644 operations/helm/tests/test-enterprise-values-generated/mimir-distributed/charts/minio/templates/serviceaccount.yaml create mode 100644 operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/admin-api/admin-api-dep.yaml create mode 100644 operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/admin-api/admin-api-svc.yaml create mode 100644 operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/alertmanager/alertmanager-statefulset.yaml create mode 100644 operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/alertmanager/alertmanager-svc-headless.yaml create mode 100644 operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/alertmanager/alertmanager-svc.yaml create mode 100644 operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/compactor/compactor-statefulset.yaml create mode 100644 operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/compactor/compactor-svc.yaml create mode 100644 operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/distributor/distributor-dep.yaml create mode 100644 operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/distributor/distributor-svc-headless.yaml create mode 100644 operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/distributor/distributor-svc.yaml create mode 100644 operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/gateway/gateway-dep.yaml create mode 100644 operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/gateway/gateway-svc.yaml create mode 100644 operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/gossip-ring/gossip-ring-svc.yaml create mode 100644 operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/ingester/ingester-pdb.yaml create mode 100644 operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml create mode 100644 operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/ingester/ingester-svc-headless.yaml create mode 100644 operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/ingester/ingester-svc.yaml create mode 100644 operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/license-secret.yaml create mode 100644 operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/minio/create-bucket-job.yaml create mode 100644 operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/overrides-exporter/overrides-exporter-dep.yaml create mode 100644 operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/overrides-exporter/overrides-exporter-svc.yaml create mode 100644 operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/podsecuritypolicy.yaml create mode 100644 operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/querier/querier-dep.yaml create mode 100644 operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/querier/querier-svc.yaml create mode 100644 operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/query-frontend/query-frontend-dep.yaml create mode 100644 operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/query-frontend/query-frontend-svc-headless.yaml create mode 100644 operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/query-frontend/query-frontend-svc.yaml create mode 100644 operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/role.yaml create mode 100644 operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/rolebinding.yaml create mode 100644 operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/ruler/ruler-dep.yaml create mode 100644 operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/ruler/ruler-svc.yaml create mode 100644 operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/runtime-configmap.yaml create mode 100644 operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/secret.yaml create mode 100644 operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/serviceaccount.yaml create mode 100644 operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/store-gateway/store-gateway-pdb.yaml create mode 100644 operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/store-gateway/store-gateway-statefulset.yaml create mode 100644 operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/store-gateway/store-gateway-svc-headless.yaml create mode 100644 operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/store-gateway/store-gateway-svc.yaml create mode 100644 operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/tokengen/tokengen-job.yaml rename operations/helm/tests/{test-values-generated => test-oss-values-generated}/mimir-distributed/charts/minio/templates/configmap.yaml (98%) rename operations/helm/tests/{test-values-generated => test-oss-values-generated}/mimir-distributed/charts/minio/templates/deployment.yaml (71%) rename operations/helm/tests/{test-values-generated => test-oss-values-generated}/mimir-distributed/charts/minio/templates/post-install-create-bucket-job.yaml (78%) rename operations/helm/tests/{test-values-generated => test-oss-values-generated}/mimir-distributed/charts/minio/templates/post-install-prometheus-metrics-role.yaml (79%) rename operations/helm/tests/{test-values-generated => test-oss-values-generated}/mimir-distributed/charts/minio/templates/post-install-prometheus-metrics-rolebinding.yaml (66%) rename operations/helm/tests/{test-values-generated => test-oss-values-generated}/mimir-distributed/charts/minio/templates/post-install-prometheus-metrics-serviceaccount.yaml (74%) rename operations/helm/tests/{test-values-generated => test-oss-values-generated}/mimir-distributed/charts/minio/templates/pvc.yaml (82%) rename operations/helm/tests/{test-values-generated => test-oss-values-generated}/mimir-distributed/charts/minio/templates/secrets.yaml (81%) rename operations/helm/tests/{test-values-generated => test-oss-values-generated}/mimir-distributed/charts/minio/templates/service.yaml (78%) rename operations/helm/tests/{test-values-generated => test-oss-values-generated}/mimir-distributed/charts/minio/templates/serviceaccount.yaml (75%) rename operations/helm/tests/{test-values-generated => test-oss-values-generated}/mimir-distributed/templates/alertmanager/alertmanager-statefulset.yaml (84%) rename operations/helm/tests/{test-values-generated => test-oss-values-generated}/mimir-distributed/templates/alertmanager/alertmanager-svc-headless.yaml (85%) rename operations/helm/tests/{test-values-generated => test-oss-values-generated}/mimir-distributed/templates/alertmanager/alertmanager-svc.yaml (83%) rename operations/helm/tests/{test-values-generated => test-oss-values-generated}/mimir-distributed/templates/compactor/compactor-statefulset.yaml (85%) rename operations/helm/tests/{test-values-generated => test-oss-values-generated}/mimir-distributed/templates/compactor/compactor-svc.yaml (83%) rename operations/helm/tests/{test-values-generated => test-oss-values-generated}/mimir-distributed/templates/distributor/distributor-dep.yaml (86%) rename operations/helm/tests/{test-values-generated => test-oss-values-generated}/mimir-distributed/templates/distributor/distributor-svc-headless.yaml (82%) rename operations/helm/tests/{test-values-generated => test-oss-values-generated}/mimir-distributed/templates/distributor/distributor-svc.yaml (83%) rename operations/helm/tests/{test-values-generated => test-oss-values-generated}/mimir-distributed/templates/gossip-ring/gossip-ring-svc.yaml (81%) rename operations/helm/tests/{test-values-generated => test-oss-values-generated}/mimir-distributed/templates/ingester/ingester-pdb.yaml (79%) rename operations/helm/tests/{test-values-generated => test-oss-values-generated}/mimir-distributed/templates/ingester/ingester-statefulset.yaml (83%) rename operations/helm/tests/{test-values-generated => test-oss-values-generated}/mimir-distributed/templates/ingester/ingester-svc-headless.yaml (82%) rename operations/helm/tests/{test-values-generated => test-oss-values-generated}/mimir-distributed/templates/ingester/ingester-svc.yaml (83%) rename operations/helm/tests/{test-values-generated => test-oss-values-generated}/mimir-distributed/templates/minio/create-bucket-job.yaml (79%) rename operations/helm/tests/{test-values-generated => test-oss-values-generated}/mimir-distributed/templates/nginx/nginx-configmap.yaml (59%) rename operations/helm/tests/{test-values-generated => test-oss-values-generated}/mimir-distributed/templates/nginx/nginx-dep.yaml (86%) rename operations/helm/tests/{test-values-generated => test-oss-values-generated}/mimir-distributed/templates/nginx/nginx-svc.yaml (80%) rename operations/helm/tests/{test-values-generated => test-oss-values-generated}/mimir-distributed/templates/overrides-exporter/overrides-exporter-dep.yaml (85%) rename operations/helm/tests/{test-values-generated => test-oss-values-generated}/mimir-distributed/templates/overrides-exporter/overrides-exporter-svc.yaml (82%) rename operations/helm/tests/{test-values-generated => test-oss-values-generated}/mimir-distributed/templates/podsecuritypolicy.yaml (91%) rename operations/helm/tests/{test-values-generated => test-oss-values-generated}/mimir-distributed/templates/querier/querier-dep.yaml (86%) rename operations/helm/tests/{test-values-generated => test-oss-values-generated}/mimir-distributed/templates/querier/querier-svc.yaml (83%) rename operations/helm/tests/{test-values-generated => test-oss-values-generated}/mimir-distributed/templates/query-frontend/query-frontend-dep.yaml (86%) rename operations/helm/tests/{test-values-generated => test-oss-values-generated}/mimir-distributed/templates/query-frontend/query-frontend-svc-headless.yaml (83%) rename operations/helm/tests/{test-values-generated => test-oss-values-generated}/mimir-distributed/templates/query-frontend/query-frontend-svc.yaml (82%) rename operations/helm/tests/{test-values-generated => test-oss-values-generated}/mimir-distributed/templates/role.yaml (76%) rename operations/helm/tests/{test-values-generated => test-oss-values-generated}/mimir-distributed/templates/rolebinding.yaml (74%) rename operations/helm/tests/{test-values-generated => test-oss-values-generated}/mimir-distributed/templates/ruler/ruler-dep.yaml (85%) rename operations/helm/tests/{test-values-generated => test-oss-values-generated}/mimir-distributed/templates/ruler/ruler-svc.yaml (81%) rename operations/helm/tests/{test-values-generated => test-oss-values-generated}/mimir-distributed/templates/runtime-configmap.yaml (78%) create mode 100644 operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/secret.yaml rename operations/helm/tests/{test-values-generated => test-oss-values-generated}/mimir-distributed/templates/serviceaccount.yaml (79%) rename operations/helm/tests/{test-values-generated => test-oss-values-generated}/mimir-distributed/templates/store-gateway/store-gateway-pdb.yaml (79%) rename operations/helm/tests/{test-values-generated => test-oss-values-generated}/mimir-distributed/templates/store-gateway/store-gateway-statefulset.yaml (84%) rename operations/helm/tests/{test-values-generated => test-oss-values-generated}/mimir-distributed/templates/store-gateway/store-gateway-svc-headless.yaml (81%) rename operations/helm/tests/{test-values-generated => test-oss-values-generated}/mimir-distributed/templates/store-gateway/store-gateway-svc.yaml (83%) delete mode 100644 operations/helm/tests/test-values-generated/mimir-distributed/templates/secret.yaml diff --git a/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/charts/minio/templates/configmap.yaml b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/charts/minio/templates/configmap.yaml new file mode 100644 index 00000000000..9ab8577d049 --- /dev/null +++ b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/charts/minio/templates/configmap.yaml @@ -0,0 +1,111 @@ +--- +# Source: mimir-distributed/charts/minio/templates/configmap.yaml +apiVersion: v1 +kind: ConfigMap +metadata: + name: test-enterprise-values-minio + labels: + app: minio + chart: minio-8.0.10 + release: test-enterprise-values + heritage: Helm +data: + initialize: |- + #!/bin/sh + set -e ; # Have script exit in the event of a failed command. + MC_CONFIG_DIR="/etc/minio/mc/" + MC="/usr/bin/mc --insecure --config-dir ${MC_CONFIG_DIR}" + + # connectToMinio + # Use a check-sleep-check loop to wait for Minio service to be available + connectToMinio() { + SCHEME=$1 + ATTEMPTS=0 ; LIMIT=29 ; # Allow 30 attempts + set -e ; # fail if we can't read the keys. + ACCESS=$(cat /config/accesskey) ; SECRET=$(cat /config/secretkey) ; + set +e ; # The connections to minio are allowed to fail. + echo "Connecting to Minio server: $SCHEME://$MINIO_ENDPOINT:$MINIO_PORT" ; + MC_COMMAND="${MC} config host add myminio $SCHEME://$MINIO_ENDPOINT:$MINIO_PORT $ACCESS $SECRET" ; + $MC_COMMAND ; + STATUS=$? ; + until [ $STATUS = 0 ] + do + ATTEMPTS=`expr $ATTEMPTS + 1` ; + echo \"Failed attempts: $ATTEMPTS\" ; + if [ $ATTEMPTS -gt $LIMIT ]; then + exit 1 ; + fi ; + sleep 2 ; # 1 second intervals between attempts + $MC_COMMAND ; + STATUS=$? ; + done ; + set -e ; # reset `e` as active + return 0 + } + + # checkBucketExists ($bucket) + # Check if the bucket exists, by using the exit code of `mc ls` + checkBucketExists() { + BUCKET=$1 + CMD=$(${MC} ls myminio/$BUCKET > /dev/null 2>&1) + return $? + } + + # createBucket ($bucket, $policy, $purge) + # Ensure bucket exists, purging if asked to + createBucket() { + BUCKET=$1 + POLICY=$2 + PURGE=$3 + VERSIONING=$4 + + # Purge the bucket, if set & exists + # Since PURGE is user input, check explicitly for `true` + if [ $PURGE = true ]; then + if checkBucketExists $BUCKET ; then + echo "Purging bucket '$BUCKET'." + set +e ; # don't exit if this fails + ${MC} rm -r --force myminio/$BUCKET + set -e ; # reset `e` as active + else + echo "Bucket '$BUCKET' does not exist, skipping purge." + fi + fi + + # Create the bucket if it does not exist + if ! checkBucketExists $BUCKET ; then + echo "Creating bucket '$BUCKET'" + ${MC} mb myminio/$BUCKET + else + echo "Bucket '$BUCKET' already exists." + fi + + + # set versioning for bucket + if [ ! -z $VERSIONING ] ; then + if [ $VERSIONING = true ] ; then + echo "Enabling versioning for '$BUCKET'" + ${MC} version enable myminio/$BUCKET + elif [ $VERSIONING = false ] ; then + echo "Suspending versioning for '$BUCKET'" + ${MC} version suspend myminio/$BUCKET + fi + else + echo "Bucket '$BUCKET' versioning unchanged." + fi + + # At this point, the bucket should exist, skip checking for existence + # Set policy on the bucket + echo "Setting policy of bucket '$BUCKET' to '$POLICY'." + ${MC} policy set $POLICY myminio/$BUCKET + } + + # Try connecting to Minio instance + scheme=http + connectToMinio $scheme + # Create the buckets + createBucket mimir-tsdb none false + createBucket mimir-ruler none false + createBucket enterprise-metrics-tsdb none false + createBucket enterprise-metrics-admin none false + createBucket enterprise-metrics-ruler none false diff --git a/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/charts/minio/templates/deployment.yaml b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/charts/minio/templates/deployment.yaml new file mode 100644 index 00000000000..098d932170e --- /dev/null +++ b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/charts/minio/templates/deployment.yaml @@ -0,0 +1,72 @@ +--- +# Source: mimir-distributed/charts/minio/templates/deployment.yaml +apiVersion: apps/v1 +kind: Deployment +metadata: + name: test-enterprise-values-minio + labels: + app: minio + chart: minio-8.0.10 + release: test-enterprise-values + heritage: Helm +spec: + strategy: + type: RollingUpdate + rollingUpdate: + maxSurge: 100% + maxUnavailable: 0 + selector: + matchLabels: + app: minio + release: test-enterprise-values + template: + metadata: + name: test-enterprise-values-minio + labels: + app: minio + release: test-enterprise-values + annotations: + checksum/secrets: aac2dea246043210c2649ffaf6c6ea57cd94d0aaf2b21759b8b38a093096478e + checksum/config: 8109517e3e9f729fb84cca8217b59099354497df0ca310f4e4b07d4951b02dc4 + spec: + serviceAccountName: "test-enterprise-values-minio" + securityContext: + runAsUser: 1000 + runAsGroup: 1000 + fsGroup: 1000 + containers: + - name: minio + image: "minio/minio:RELEASE.2021-02-14T04-01-33Z" + imagePullPolicy: IfNotPresent + command: + - "/bin/sh" + - "-ce" + - "/usr/bin/docker-entrypoint.sh minio -S /etc/minio/certs/ server /export" + volumeMounts: + - name: export + mountPath: /export + ports: + - name: http + containerPort: 9000 + env: + - name: MINIO_ACCESS_KEY + valueFrom: + secretKeyRef: + name: test-enterprise-values-minio + key: accesskey + - name: MINIO_SECRET_KEY + valueFrom: + secretKeyRef: + name: test-enterprise-values-minio + key: secretkey + resources: + requests: + cpu: 100m + memory: 128Mi + volumes: + - name: export + persistentVolumeClaim: + claimName: test-enterprise-values-minio + - name: minio-user + secret: + secretName: test-enterprise-values-minio diff --git a/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/charts/minio/templates/post-install-create-bucket-job.yaml b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/charts/minio/templates/post-install-create-bucket-job.yaml new file mode 100644 index 00000000000..0f09bf58309 --- /dev/null +++ b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/charts/minio/templates/post-install-create-bucket-job.yaml @@ -0,0 +1,47 @@ +--- +# Source: mimir-distributed/charts/minio/templates/post-install-create-bucket-job.yaml +apiVersion: batch/v1 +kind: Job +metadata: + name: test-enterprise-values-minio-make-bucket-job + labels: + app: minio-make-bucket-job + chart: minio-8.0.10 + release: test-enterprise-values + heritage: Helm + annotations: + "helm.sh/hook": post-install,post-upgrade + "helm.sh/hook-delete-policy": hook-succeeded,before-hook-creation +spec: + template: + metadata: + labels: + app: minio-job + release: test-enterprise-values + spec: + restartPolicy: OnFailure + volumes: + - name: minio-configuration + projected: + sources: + - configMap: + name: test-enterprise-values-minio + - secret: + name: test-enterprise-values-minio + serviceAccountName: "test-enterprise-values-minio" + containers: + - name: minio-mc + image: "minio/mc:RELEASE.2021-02-14T04-28-06Z" + imagePullPolicy: IfNotPresent + command: ["/bin/sh", "/config/initialize"] + env: + - name: MINIO_ENDPOINT + value: test-enterprise-values-minio + - name: MINIO_PORT + value: "9000" + volumeMounts: + - name: minio-configuration + mountPath: /config + resources: + requests: + memory: 128Mi diff --git a/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/charts/minio/templates/post-install-prometheus-metrics-role.yaml b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/charts/minio/templates/post-install-prometheus-metrics-role.yaml new file mode 100644 index 00000000000..060b5cf2bc2 --- /dev/null +++ b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/charts/minio/templates/post-install-prometheus-metrics-role.yaml @@ -0,0 +1,37 @@ +--- +# Source: mimir-distributed/charts/minio/templates/post-install-prometheus-metrics-role.yaml +apiVersion: rbac.authorization.k8s.io/v1 +kind: Role +metadata: + name: test-enterprise-values-minio-update-prometheus-secret + labels: + app: minio-update-prometheus-secret + chart: minio-8.0.10 + release: test-enterprise-values + heritage: Helm +rules: + - apiGroups: + - "" + resources: + - secrets + verbs: + - get + - create + - update + - patch + resourceNames: + - test-enterprise-values-minio-prometheus + - apiGroups: + - "" + resources: + - secrets + verbs: + - create + - apiGroups: + - monitoring.coreos.com + resources: + - servicemonitors + verbs: + - get + resourceNames: + - test-enterprise-values-minio diff --git a/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/charts/minio/templates/post-install-prometheus-metrics-rolebinding.yaml b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/charts/minio/templates/post-install-prometheus-metrics-rolebinding.yaml new file mode 100644 index 00000000000..0d793749d0b --- /dev/null +++ b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/charts/minio/templates/post-install-prometheus-metrics-rolebinding.yaml @@ -0,0 +1,19 @@ +--- +# Source: mimir-distributed/charts/minio/templates/post-install-prometheus-metrics-rolebinding.yaml +apiVersion: rbac.authorization.k8s.io/v1 +kind: RoleBinding +metadata: + name: test-enterprise-values-minio-update-prometheus-secret + labels: + app: minio-update-prometheus-secret + chart: minio-8.0.10 + release: test-enterprise-values + heritage: Helm +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: Role + name: test-enterprise-values-minio-update-prometheus-secret +subjects: + - kind: ServiceAccount + name: test-enterprise-values-minio-update-prometheus-secret + namespace: "default" diff --git a/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/charts/minio/templates/post-install-prometheus-metrics-serviceaccount.yaml b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/charts/minio/templates/post-install-prometheus-metrics-serviceaccount.yaml new file mode 100644 index 00000000000..d41d8705aa8 --- /dev/null +++ b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/charts/minio/templates/post-install-prometheus-metrics-serviceaccount.yaml @@ -0,0 +1,11 @@ +--- +# Source: mimir-distributed/charts/minio/templates/post-install-prometheus-metrics-serviceaccount.yaml +apiVersion: v1 +kind: ServiceAccount +metadata: + name: test-enterprise-values-minio-update-prometheus-secret + labels: + app: minio-update-prometheus-secret + chart: minio-8.0.10 + release: test-enterprise-values + heritage: Helm diff --git a/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/charts/minio/templates/pvc.yaml b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/charts/minio/templates/pvc.yaml new file mode 100644 index 00000000000..d2d46159fe6 --- /dev/null +++ b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/charts/minio/templates/pvc.yaml @@ -0,0 +1,17 @@ +--- +# Source: mimir-distributed/charts/minio/templates/pvc.yaml +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: test-enterprise-values-minio + labels: + app: minio + chart: minio-8.0.10 + release: test-enterprise-values + heritage: Helm +spec: + accessModes: + - "ReadWriteOnce" + resources: + requests: + storage: "5Gi" diff --git a/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/charts/minio/templates/secrets.yaml b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/charts/minio/templates/secrets.yaml new file mode 100644 index 00000000000..94e52b472c6 --- /dev/null +++ b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/charts/minio/templates/secrets.yaml @@ -0,0 +1,15 @@ +--- +# Source: mimir-distributed/charts/minio/templates/secrets.yaml +apiVersion: v1 +kind: Secret +metadata: + name: test-enterprise-values-minio + labels: + app: minio + chart: minio-8.0.10 + release: test-enterprise-values + heritage: Helm +type: Opaque +data: + accesskey: "Z3JhZmFuYS1taW1pcg==" + secretkey: "c3VwZXJzZWNyZXQ=" diff --git a/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/charts/minio/templates/service.yaml b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/charts/minio/templates/service.yaml new file mode 100644 index 00000000000..21f8a4c4fb2 --- /dev/null +++ b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/charts/minio/templates/service.yaml @@ -0,0 +1,21 @@ +--- +# Source: mimir-distributed/charts/minio/templates/service.yaml +apiVersion: v1 +kind: Service +metadata: + name: test-enterprise-values-minio + labels: + app: minio + chart: minio-8.0.10 + release: test-enterprise-values + heritage: Helm +spec: + type: ClusterIP + ports: + - name: http + port: 9000 + protocol: TCP + targetPort: 9000 + selector: + app: minio + release: test-enterprise-values diff --git a/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/charts/minio/templates/serviceaccount.yaml b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/charts/minio/templates/serviceaccount.yaml new file mode 100644 index 00000000000..9c86f090671 --- /dev/null +++ b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/charts/minio/templates/serviceaccount.yaml @@ -0,0 +1,11 @@ +--- +# Source: mimir-distributed/charts/minio/templates/serviceaccount.yaml +apiVersion: v1 +kind: ServiceAccount +metadata: + name: "test-enterprise-values-minio" + namespace: "default" + labels: + app: minio + chart: minio-8.0.10 + release: "test-enterprise-values" diff --git a/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/admin-api/admin-api-dep.yaml b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/admin-api/admin-api-dep.yaml new file mode 100644 index 00000000000..6fc0d5ff1d7 --- /dev/null +++ b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/admin-api/admin-api-dep.yaml @@ -0,0 +1,107 @@ +--- +# Source: mimir-distributed/templates/admin-api/admin-api-dep.yaml +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + {} + labels: + helm.sh/chart: mimir-distributed-2.2.0-weekly.189 + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: admin-api + app.kubernetes.io/part-of: memberlist + app.kubernetes.io/version: "2.1.0" + app.kubernetes.io/managed-by: Helm + name: test-enterprise-values-mimir-admin-api +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: admin-api + strategy: + rollingUpdate: + maxSurge: 0 + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + labels: + helm.sh/chart: mimir-distributed-2.2.0-weekly.189 + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/version: "2.1.0" + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: admin-api + app.kubernetes.io/part-of: memberlist + annotations: + checksum/config: 20297fef45efa773cd872a3e65ada08c59029003e83d3b1eace4d87bbf72ce99 + spec: + serviceAccountName: test-enterprise-values-mimir + securityContext: + {} + initContainers: + containers: + - name: admin-api + image: "grafana/enterprise-metrics:v2.1.0" + imagePullPolicy: IfNotPresent + args: + - "-target=admin-api" + - "-config.expand-env=true" + - "-config.file=/etc/mimir/mimir.yaml" + volumeMounts: + - name: config + mountPath: /etc/mimir + - name: runtime-config + mountPath: /var/mimir + - name: license + mountPath: /license + - name: storage + mountPath: "/data" + subPath: + ports: + - name: http-metrics + containerPort: 8080 + protocol: TCP + - name: grpc + containerPort: 9095 + protocol: TCP + - name: memberlist + containerPort: 7946 + protocol: TCP + livenessProbe: + null + readinessProbe: + httpGet: + path: /ready + port: http-metrics + initialDelaySeconds: 45 + resources: + requests: + cpu: 10m + memory: 32Mi + securityContext: + readOnlyRootFilesystem: true + env: + envFrom: + nodeSelector: + {} + affinity: + {} + tolerations: + [] + terminationGracePeriodSeconds: 60 + volumes: + - name: config + secret: + secretName: test-enterprise-values-mimir-config + - name: runtime-config + configMap: + name: test-enterprise-values-mimir-runtime + - name: license + secret: + secretName: test-enterprise-values-mimir-license + - name: storage + emptyDir: {} diff --git a/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/admin-api/admin-api-svc.yaml b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/admin-api/admin-api-svc.yaml new file mode 100644 index 00000000000..dbd9cb9ba9a --- /dev/null +++ b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/admin-api/admin-api-svc.yaml @@ -0,0 +1,31 @@ +--- +# Source: mimir-distributed/templates/admin-api/admin-api-svc.yaml +apiVersion: v1 +kind: Service +metadata: + name: test-enterprise-values-mimir-admin-api + labels: + helm.sh/chart: mimir-distributed-2.2.0-weekly.189 + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: admin-api + app.kubernetes.io/part-of: memberlist + app.kubernetes.io/version: "2.1.0" + app.kubernetes.io/managed-by: Helm + annotations: + {} +spec: + type: ClusterIP + ports: + - port: 8080 + protocol: TCP + name: http-metrics + targetPort: http-metrics + - port: 9095 + protocol: TCP + name: grpc + targetPort: grpc + selector: + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: admin-api diff --git a/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/alertmanager/alertmanager-statefulset.yaml b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/alertmanager/alertmanager-statefulset.yaml new file mode 100644 index 00000000000..3f593bc2bea --- /dev/null +++ b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/alertmanager/alertmanager-statefulset.yaml @@ -0,0 +1,109 @@ +--- +# Source: mimir-distributed/templates/alertmanager/alertmanager-statefulset.yaml +apiVersion: apps/v1 +kind: StatefulSet +metadata: + name: test-enterprise-values-mimir-alertmanager + labels: + helm.sh/chart: mimir-distributed-2.2.0-weekly.189 + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: alertmanager + app.kubernetes.io/part-of: memberlist + app.kubernetes.io/version: "2.1.0" + app.kubernetes.io/managed-by: Helm + annotations: + {} +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: alertmanager + updateStrategy: + type: RollingUpdate + serviceName: test-enterprise-values-mimir-alertmanager + template: + metadata: + labels: + helm.sh/chart: mimir-distributed-2.2.0-weekly.189 + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/version: "2.1.0" + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: alertmanager + app.kubernetes.io/part-of: memberlist + annotations: + checksum/config: 20297fef45efa773cd872a3e65ada08c59029003e83d3b1eace4d87bbf72ce99 + spec: + serviceAccountName: test-enterprise-values-mimir + securityContext: + {} + initContainers: + [] + nodeSelector: + {} + affinity: + {} + tolerations: + [] + terminationGracePeriodSeconds: 60 + volumes: + - name: config + secret: + secretName: test-enterprise-values-mimir-config + - name: license + secret: + secretName: test-enterprise-values-mimir-license + - name: runtime-config + configMap: + name: test-enterprise-values-mimir-runtime + - name: storage + emptyDir: {} + - name: tmp + emptyDir: {} + containers: + - name: alertmanager + image: "grafana/enterprise-metrics:v2.1.0" + imagePullPolicy: IfNotPresent + args: + - "-target=alertmanager" + - "-config.expand-env=true" + - "-config.file=/etc/mimir/mimir.yaml" + volumeMounts: + - name: config + mountPath: /etc/mimir + - name: license + mountPath: /license + - name: runtime-config + mountPath: /var/mimir + - name: storage + mountPath: "/data" + - name: tmp + mountPath: /tmp + ports: + - name: http-metrics + containerPort: 8080 + protocol: TCP + - name: grpc + containerPort: 9095 + protocol: TCP + - name: memberlist + containerPort: 7946 + protocol: TCP + livenessProbe: + null + readinessProbe: + httpGet: + path: /ready + port: http-metrics + initialDelaySeconds: 45 + resources: + requests: + cpu: 10m + memory: 32Mi + securityContext: + readOnlyRootFilesystem: true + env: + envFrom: diff --git a/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/alertmanager/alertmanager-svc-headless.yaml b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/alertmanager/alertmanager-svc-headless.yaml new file mode 100644 index 00000000000..e5e72b636cb --- /dev/null +++ b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/alertmanager/alertmanager-svc-headless.yaml @@ -0,0 +1,37 @@ +--- +# Source: mimir-distributed/templates/alertmanager/alertmanager-svc-headless.yaml +apiVersion: v1 +kind: Service +metadata: + name: test-enterprise-values-mimir-alertmanager-headless + labels: + helm.sh/chart: mimir-distributed-2.2.0-weekly.189 + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: alertmanager + app.kubernetes.io/part-of: memberlist + app.kubernetes.io/version: "2.1.0" + app.kubernetes.io/managed-by: Helm + prometheus.io/service-monitor: "false" + annotations: + {} +spec: + type: ClusterIP + clusterIP: None + publishNotReadyAddresses: true + ports: + - port: 8080 + protocol: TCP + name: http-metrics + targetPort: http-metrics + - port: 9095 + protocol: TCP + name: grpc + targetPort: grpc + - port: 9094 + protocol: TCP + name: cluster + selector: + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: alertmanager diff --git a/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/alertmanager/alertmanager-svc.yaml b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/alertmanager/alertmanager-svc.yaml new file mode 100644 index 00000000000..37975bf32b0 --- /dev/null +++ b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/alertmanager/alertmanager-svc.yaml @@ -0,0 +1,31 @@ +--- +# Source: mimir-distributed/templates/alertmanager/alertmanager-svc.yaml +apiVersion: v1 +kind: Service +metadata: + name: test-enterprise-values-mimir-alertmanager + labels: + helm.sh/chart: mimir-distributed-2.2.0-weekly.189 + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: alertmanager + app.kubernetes.io/part-of: memberlist + app.kubernetes.io/version: "2.1.0" + app.kubernetes.io/managed-by: Helm + annotations: + {} +spec: + type: ClusterIP + ports: + - port: 8080 + protocol: TCP + name: http-metrics + targetPort: http-metrics + - port: 9095 + protocol: TCP + name: grpc + targetPort: grpc + selector: + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: alertmanager diff --git a/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/compactor/compactor-statefulset.yaml b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/compactor/compactor-statefulset.yaml new file mode 100644 index 00000000000..55f0cc868f8 --- /dev/null +++ b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/compactor/compactor-statefulset.yaml @@ -0,0 +1,115 @@ +--- +# Source: mimir-distributed/templates/compactor/compactor-statefulset.yaml +apiVersion: apps/v1 +kind: StatefulSet +metadata: + name: test-enterprise-values-mimir-compactor + labels: + helm.sh/chart: mimir-distributed-2.2.0-weekly.189 + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: compactor + app.kubernetes.io/part-of: memberlist + app.kubernetes.io/version: "2.1.0" + app.kubernetes.io/managed-by: Helm + annotations: + {} +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: compactor + updateStrategy: + type: RollingUpdate + serviceName: test-enterprise-values-mimir-compactor + template: + metadata: + labels: + helm.sh/chart: mimir-distributed-2.2.0-weekly.189 + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/version: "2.1.0" + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: compactor + app.kubernetes.io/part-of: memberlist + annotations: + checksum/config: 20297fef45efa773cd872a3e65ada08c59029003e83d3b1eace4d87bbf72ce99 + spec: + serviceAccountName: test-enterprise-values-mimir + securityContext: + {} + initContainers: + [] + nodeSelector: + {} + affinity: + podAntiAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - podAffinityTerm: + labelSelector: + matchExpressions: + - key: target + operator: In + values: + - compactor + topologyKey: kubernetes.io/hostname + weight: 100 + tolerations: + [] + terminationGracePeriodSeconds: 240 + volumes: + - name: config + secret: + secretName: test-enterprise-values-mimir-config + - name: license + secret: + secretName: test-enterprise-values-mimir-license + - name: runtime-config + configMap: + name: test-enterprise-values-mimir-runtime + - name: storage + emptyDir: {} + containers: + - name: compactor + image: "grafana/enterprise-metrics:v2.1.0" + imagePullPolicy: IfNotPresent + args: + - "-target=compactor" + - "-config.expand-env=true" + - "-config.file=/etc/mimir/mimir.yaml" + volumeMounts: + - name: config + mountPath: /etc/mimir + - name: license + mountPath: /license + - name: runtime-config + mountPath: /var/mimir + - name: storage + mountPath: "/data" + ports: + - name: http-metrics + containerPort: 8080 + protocol: TCP + - name: grpc + containerPort: 9095 + protocol: TCP + - name: memberlist + containerPort: 7946 + protocol: TCP + livenessProbe: + null + readinessProbe: + httpGet: + path: /ready + port: http-metrics + initialDelaySeconds: 60 + resources: + requests: + cpu: 100m + memory: 512Mi + securityContext: + readOnlyRootFilesystem: true + env: + envFrom: diff --git a/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/compactor/compactor-svc.yaml b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/compactor/compactor-svc.yaml new file mode 100644 index 00000000000..fe7b12606b3 --- /dev/null +++ b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/compactor/compactor-svc.yaml @@ -0,0 +1,31 @@ +--- +# Source: mimir-distributed/templates/compactor/compactor-svc.yaml +apiVersion: v1 +kind: Service +metadata: + name: test-enterprise-values-mimir-compactor + labels: + helm.sh/chart: mimir-distributed-2.2.0-weekly.189 + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: compactor + app.kubernetes.io/part-of: memberlist + app.kubernetes.io/version: "2.1.0" + app.kubernetes.io/managed-by: Helm + annotations: + {} +spec: + type: ClusterIP + ports: + - port: 8080 + protocol: TCP + name: http-metrics + targetPort: http-metrics + - port: 9095 + protocol: TCP + name: grpc + targetPort: grpc + selector: + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: compactor diff --git a/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/distributor/distributor-dep.yaml b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/distributor/distributor-dep.yaml new file mode 100644 index 00000000000..d81968bc00a --- /dev/null +++ b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/distributor/distributor-dep.yaml @@ -0,0 +1,116 @@ +--- +# Source: mimir-distributed/templates/distributor/distributor-dep.yaml +apiVersion: apps/v1 +kind: Deployment +metadata: + name: test-enterprise-values-mimir-distributor + labels: + helm.sh/chart: mimir-distributed-2.2.0-weekly.189 + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: distributor + app.kubernetes.io/part-of: memberlist + app.kubernetes.io/version: "2.1.0" + app.kubernetes.io/managed-by: Helm + annotations: + {} +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: distributor + strategy: + rollingUpdate: + maxSurge: 0 + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + labels: + helm.sh/chart: mimir-distributed-2.2.0-weekly.189 + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/version: "2.1.0" + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: distributor + app.kubernetes.io/part-of: memberlist + annotations: + checksum/config: 20297fef45efa773cd872a3e65ada08c59029003e83d3b1eace4d87bbf72ce99 + spec: + serviceAccountName: test-enterprise-values-mimir + securityContext: + {} + initContainers: + [] + containers: + - name: distributor + image: "grafana/enterprise-metrics:v2.1.0" + imagePullPolicy: IfNotPresent + args: + - "-target=distributor" + - "-config.expand-env=true" + - "-config.file=/etc/mimir/mimir.yaml" + volumeMounts: + - name: config + mountPath: /etc/mimir + - name: license + mountPath: /license + - name: runtime-config + mountPath: /var/mimir + - name: storage + mountPath: "/data" + subPath: + ports: + - name: http-metrics + containerPort: 8080 + protocol: TCP + - name: grpc + containerPort: 9095 + protocol: TCP + - name: memberlist + containerPort: 7946 + protocol: TCP + livenessProbe: + null + readinessProbe: + httpGet: + path: /ready + port: http-metrics + initialDelaySeconds: 45 + resources: + requests: + cpu: 100m + memory: 512Mi + securityContext: + readOnlyRootFilesystem: true + env: + envFrom: + nodeSelector: + {} + affinity: + podAntiAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + - labelSelector: + matchExpressions: + - key: target + operator: In + values: + - distributor + topologyKey: kubernetes.io/hostname + tolerations: + [] + terminationGracePeriodSeconds: 60 + volumes: + - name: config + secret: + secretName: test-enterprise-values-mimir-config + - name: license + secret: + secretName: test-enterprise-values-mimir-license + - name: runtime-config + configMap: + name: test-enterprise-values-mimir-runtime + - name: storage + emptyDir: {} diff --git a/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/distributor/distributor-svc-headless.yaml b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/distributor/distributor-svc-headless.yaml new file mode 100644 index 00000000000..ad4a9f1ceff --- /dev/null +++ b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/distributor/distributor-svc-headless.yaml @@ -0,0 +1,29 @@ +--- +# Source: mimir-distributed/templates/distributor/distributor-svc-headless.yaml +apiVersion: v1 +kind: Service +metadata: + name: test-enterprise-values-mimir-distributor-headless + labels: + helm.sh/chart: mimir-distributed-2.2.0-weekly.189 + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: distributor + app.kubernetes.io/part-of: memberlist + app.kubernetes.io/version: "2.1.0" + app.kubernetes.io/managed-by: Helm + prometheus.io/service-monitor: "false" + annotations: + {} +spec: + type: ClusterIP + clusterIP: None + ports: + - port: 9095 + protocol: TCP + name: grpc + targetPort: grpc + selector: + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: distributor diff --git a/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/distributor/distributor-svc.yaml b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/distributor/distributor-svc.yaml new file mode 100644 index 00000000000..af815ba312c --- /dev/null +++ b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/distributor/distributor-svc.yaml @@ -0,0 +1,31 @@ +--- +# Source: mimir-distributed/templates/distributor/distributor-svc.yaml +apiVersion: v1 +kind: Service +metadata: + name: test-enterprise-values-mimir-distributor + labels: + helm.sh/chart: mimir-distributed-2.2.0-weekly.189 + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: distributor + app.kubernetes.io/part-of: memberlist + app.kubernetes.io/version: "2.1.0" + app.kubernetes.io/managed-by: Helm + annotations: + {} +spec: + type: ClusterIP + ports: + - port: 8080 + protocol: TCP + name: http-metrics + targetPort: http-metrics + - port: 9095 + protocol: TCP + name: grpc + targetPort: grpc + selector: + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: distributor diff --git a/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/gateway/gateway-dep.yaml b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/gateway/gateway-dep.yaml new file mode 100644 index 00000000000..a946c6dbcca --- /dev/null +++ b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/gateway/gateway-dep.yaml @@ -0,0 +1,100 @@ +--- +# Source: mimir-distributed/templates/gateway/gateway-dep.yaml +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + {} + labels: + helm.sh/chart: mimir-distributed-2.2.0-weekly.189 + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: gateway + app.kubernetes.io/version: "2.1.0" + app.kubernetes.io/managed-by: Helm + name: test-enterprise-values-mimir-gateway +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: gateway + strategy: + rollingUpdate: + maxSurge: 0 + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + labels: + helm.sh/chart: mimir-distributed-2.2.0-weekly.189 + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/version: "2.1.0" + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: gateway + annotations: + checksum/config: 20297fef45efa773cd872a3e65ada08c59029003e83d3b1eace4d87bbf72ce99 + spec: + serviceAccountName: test-enterprise-values-mimir + securityContext: + {} + initContainers: + [] + containers: + - name: gateway + image: "grafana/enterprise-metrics:v2.1.0" + imagePullPolicy: IfNotPresent + args: + - "-target=gateway" + - "-config.expand-env=true" + - "-config.file=/etc/mimir/mimir.yaml" + volumeMounts: + - name: config + mountPath: /etc/mimir + - name: runtime-config + mountPath: /var/mimir + - name: license + mountPath: /license + - name: storage + mountPath: "/data" + subPath: + ports: + - name: http-metrics + containerPort: 8080 + protocol: TCP + livenessProbe: + null + readinessProbe: + httpGet: + path: /ready + port: http-metrics + initialDelaySeconds: 45 + resources: + requests: + cpu: 10m + memory: 32Mi + securityContext: + readOnlyRootFilesystem: true + env: + envFrom: + nodeSelector: + {} + affinity: + {} + tolerations: + [] + terminationGracePeriodSeconds: 60 + volumes: + - name: config + secret: + secretName: test-enterprise-values-mimir-config + - name: runtime-config + configMap: + name: test-enterprise-values-mimir-runtime + - name: license + secret: + secretName: test-enterprise-values-mimir-license + - name: storage + emptyDir: {} diff --git a/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/gateway/gateway-svc.yaml b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/gateway/gateway-svc.yaml new file mode 100644 index 00000000000..4d19d71a1a9 --- /dev/null +++ b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/gateway/gateway-svc.yaml @@ -0,0 +1,26 @@ +--- +# Source: mimir-distributed/templates/gateway/gateway-svc.yaml +apiVersion: v1 +kind: Service +metadata: + name: test-enterprise-values-mimir-gateway + labels: + helm.sh/chart: mimir-distributed-2.2.0-weekly.189 + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: gateway + app.kubernetes.io/version: "2.1.0" + app.kubernetes.io/managed-by: Helm + annotations: + {} +spec: + type: ClusterIP + ports: + - port: 8080 + protocol: TCP + name: http-metrics + targetPort: http-metrics + selector: + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: gateway diff --git a/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/gossip-ring/gossip-ring-svc.yaml b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/gossip-ring/gossip-ring-svc.yaml new file mode 100644 index 00000000000..51af4c76f2c --- /dev/null +++ b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/gossip-ring/gossip-ring-svc.yaml @@ -0,0 +1,26 @@ +--- +# Source: mimir-distributed/templates/gossip-ring/gossip-ring-svc.yaml +apiVersion: v1 +kind: Service +metadata: + name: test-enterprise-values-mimir-gossip-ring + labels: + helm.sh/chart: mimir-distributed-2.2.0-weekly.189 + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: gossip-ring + app.kubernetes.io/version: "2.1.0" + app.kubernetes.io/managed-by: Helm +spec: + type: ClusterIP + clusterIP: None + ports: + - name: gossip-ring + port: 7946 + protocol: TCP + targetPort: 7946 + publishNotReadyAddresses: true + selector: + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/part-of: memberlist diff --git a/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/ingester/ingester-pdb.yaml b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/ingester/ingester-pdb.yaml new file mode 100644 index 00000000000..1bb947a3e7e --- /dev/null +++ b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/ingester/ingester-pdb.yaml @@ -0,0 +1,21 @@ +--- +# Source: mimir-distributed/templates/ingester/ingester-pdb.yaml +apiVersion: policy/v1beta1 +kind: PodDisruptionBudget +metadata: + name: test-enterprise-values-mimir-ingester + labels: + helm.sh/chart: mimir-distributed-2.2.0-weekly.189 + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: ingester + app.kubernetes.io/part-of: memberlist + app.kubernetes.io/version: "2.1.0" + app.kubernetes.io/managed-by: Helm +spec: + selector: + matchLabels: + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: ingester + maxUnavailable: 1 diff --git a/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml new file mode 100644 index 00000000000..5e1efc64f63 --- /dev/null +++ b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml @@ -0,0 +1,106 @@ +--- +# Source: mimir-distributed/templates/ingester/ingester-statefulset.yaml +apiVersion: apps/v1 +kind: StatefulSet +metadata: + name: test-enterprise-values-mimir-ingester + labels: + helm.sh/chart: mimir-distributed-2.2.0-weekly.189 + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: ingester + app.kubernetes.io/part-of: memberlist + app.kubernetes.io/version: "2.1.0" + app.kubernetes.io/managed-by: Helm + annotations: + {} +spec: + podManagementPolicy: Parallel + replicas: 3 + selector: + matchLabels: + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: ingester + updateStrategy: + type: RollingUpdate + serviceName: test-enterprise-values-mimir-ingester-headless + template: + metadata: + labels: + helm.sh/chart: mimir-distributed-2.2.0-weekly.189 + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/version: "2.1.0" + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: ingester + app.kubernetes.io/part-of: memberlist + annotations: + checksum/config: 20297fef45efa773cd872a3e65ada08c59029003e83d3b1eace4d87bbf72ce99 + spec: + serviceAccountName: test-enterprise-values-mimir + securityContext: + {} + initContainers: + [] + nodeSelector: + {} + affinity: + {} + tolerations: + [] + terminationGracePeriodSeconds: 240 + volumes: + - name: config + secret: + secretName: test-enterprise-values-mimir-config + - name: license + secret: + secretName: test-enterprise-values-mimir-license + - name: runtime-config + configMap: + name: test-enterprise-values-mimir-runtime + - name: storage + emptyDir: {} + containers: + - name: ingester + image: "grafana/enterprise-metrics:v2.1.0" + imagePullPolicy: IfNotPresent + args: + - "-target=ingester" + - "-config.expand-env=true" + - "-config.file=/etc/mimir/mimir.yaml" + volumeMounts: + - name: config + mountPath: /etc/mimir + - name: runtime-config + mountPath: /var/mimir + - name: storage + mountPath: "/data" + - name: license + mountPath: /license + ports: + - name: http-metrics + containerPort: 8080 + protocol: TCP + - name: grpc + containerPort: 9095 + protocol: TCP + - name: memberlist + containerPort: 7946 + protocol: TCP + livenessProbe: + null + readinessProbe: + httpGet: + path: /ready + port: http-metrics + initialDelaySeconds: 60 + resources: + requests: + cpu: 10m + memory: 512Mi + securityContext: + readOnlyRootFilesystem: true + env: + envFrom: diff --git a/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/ingester/ingester-svc-headless.yaml b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/ingester/ingester-svc-headless.yaml new file mode 100644 index 00000000000..f91780d4ac9 --- /dev/null +++ b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/ingester/ingester-svc-headless.yaml @@ -0,0 +1,29 @@ +--- +# Source: mimir-distributed/templates/ingester/ingester-svc-headless.yaml +apiVersion: v1 +kind: Service +metadata: + name: test-enterprise-values-mimir-ingester-headless + labels: + helm.sh/chart: mimir-distributed-2.2.0-weekly.189 + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: ingester + app.kubernetes.io/part-of: memberlist + app.kubernetes.io/version: "2.1.0" + app.kubernetes.io/managed-by: Helm + prometheus.io/service-monitor: "false" + annotations: + {} +spec: + type: ClusterIP + clusterIP: None + ports: + - port: 9095 + protocol: TCP + name: grpc + targetPort: grpc + selector: + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: ingester diff --git a/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/ingester/ingester-svc.yaml b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/ingester/ingester-svc.yaml new file mode 100644 index 00000000000..1301971836a --- /dev/null +++ b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/ingester/ingester-svc.yaml @@ -0,0 +1,31 @@ +--- +# Source: mimir-distributed/templates/ingester/ingester-svc.yaml +apiVersion: v1 +kind: Service +metadata: + name: test-enterprise-values-mimir-ingester + labels: + helm.sh/chart: mimir-distributed-2.2.0-weekly.189 + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: ingester + app.kubernetes.io/part-of: memberlist + app.kubernetes.io/version: "2.1.0" + app.kubernetes.io/managed-by: Helm + annotations: + {} +spec: + type: ClusterIP + ports: + - port: 8080 + protocol: TCP + name: http-metrics + targetPort: http-metrics + - port: 9095 + protocol: TCP + name: grpc + targetPort: grpc + selector: + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: ingester diff --git a/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/license-secret.yaml b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/license-secret.yaml new file mode 100644 index 00000000000..5846877f9bc --- /dev/null +++ b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/license-secret.yaml @@ -0,0 +1,14 @@ +--- +# Source: mimir-distributed/templates/license-secret.yaml +apiVersion: v1 +kind: Secret +metadata: + name: test-enterprise-values-mimir-license + labels: + helm.sh/chart: mimir-distributed-2.2.0-weekly.189 + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/version: "2.1.0" + app.kubernetes.io/managed-by: Helm +data: + license.jwt: Tk9UQVZBTElETElDRU5TRQ== diff --git a/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/minio/create-bucket-job.yaml b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/minio/create-bucket-job.yaml new file mode 100644 index 00000000000..11e3e42d177 --- /dev/null +++ b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/minio/create-bucket-job.yaml @@ -0,0 +1,44 @@ +--- +# Source: mimir-distributed/templates/minio/create-bucket-job.yaml +apiVersion: batch/v1 +kind: Job +metadata: + name: test-enterprise-values-mimir-distributed-make-bucket-job + namespace: "default" + labels: + app: mimir-distributed-make-bucket-job + chart: mimir-distributed-2.2.0-weekly.189 + release: test-enterprise-values + heritage: Helm +spec: + template: + metadata: + labels: + app: mimir-distributed-job + release: test-enterprise-values + spec: + restartPolicy: OnFailure + volumes: + - name: minio-configuration + projected: + sources: + - configMap: + name: test-enterprise-values-minio + - secret: + name: test-enterprise-values-minio + containers: + - name: minio-mc + image: "minio/mc:RELEASE.2021-02-14T04-28-06Z" + imagePullPolicy: IfNotPresent + command: ["/bin/sh", "/config/initialize"] + env: + - name: MINIO_ENDPOINT + value: test-enterprise-values-minio + - name: MINIO_PORT + value: "9000" + volumeMounts: + - name: minio-configuration + mountPath: /config + resources: + requests: + memory: 128Mi diff --git a/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/overrides-exporter/overrides-exporter-dep.yaml b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/overrides-exporter/overrides-exporter-dep.yaml new file mode 100644 index 00000000000..f9c31aa7108 --- /dev/null +++ b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/overrides-exporter/overrides-exporter-dep.yaml @@ -0,0 +1,106 @@ +--- +# Source: mimir-distributed/templates/overrides-exporter/overrides-exporter-dep.yaml +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + {} + labels: + helm.sh/chart: mimir-distributed-2.2.0-weekly.189 + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: overrides-exporter + app.kubernetes.io/version: "2.1.0" + app.kubernetes.io/managed-by: Helm + name: test-enterprise-values-mimir-overrides-exporter +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: overrides-exporter + strategy: + rollingUpdate: + maxSurge: 0 + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + labels: + helm.sh/chart: mimir-distributed-2.2.0-weekly.189 + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/version: "2.1.0" + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: overrides-exporter + annotations: + checksum/config: 20297fef45efa773cd872a3e65ada08c59029003e83d3b1eace4d87bbf72ce99 + spec: + serviceAccountName: test-enterprise-values-mimir + securityContext: + {} + initContainers: + [] + containers: + - name: overrides-exporter + image: "grafana/enterprise-metrics:v2.1.0" + imagePullPolicy: IfNotPresent + args: + - "-target=overrides-exporter" + - "-config.expand-env=true" + - "-config.file=/etc/mimir/mimir.yaml" + volumeMounts: + - name: config + mountPath: /etc/mimir + - name: license + mountPath: /license + - name: runtime-config + mountPath: /var/mimir + - name: storage + mountPath: "/data" + subPath: + ports: + - name: http-metrics + containerPort: 8080 + protocol: TCP + - name: grpc + containerPort: 9095 + protocol: TCP + livenessProbe: + httpGet: + path: /ready + port: http-metrics + initialDelaySeconds: 45 + readinessProbe: + httpGet: + path: /ready + port: http-metrics + initialDelaySeconds: 45 + resources: + requests: + cpu: 100m + memory: 128Mi + securityContext: + readOnlyRootFilesystem: true + env: + envFrom: + nodeSelector: + {} + affinity: + {} + tolerations: + [] + terminationGracePeriodSeconds: 60 + volumes: + - name: config + secret: + secretName: test-enterprise-values-mimir-config + - name: license + secret: + secretName: test-enterprise-values-mimir-license + - name: runtime-config + configMap: + name: test-enterprise-values-mimir-runtime + - name: storage + emptyDir: {} diff --git a/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/overrides-exporter/overrides-exporter-svc.yaml b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/overrides-exporter/overrides-exporter-svc.yaml new file mode 100644 index 00000000000..c27fc7a1cf1 --- /dev/null +++ b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/overrides-exporter/overrides-exporter-svc.yaml @@ -0,0 +1,30 @@ +--- +# Source: mimir-distributed/templates/overrides-exporter/overrides-exporter-svc.yaml +apiVersion: v1 +kind: Service +metadata: + name: test-enterprise-values-mimir-overrides-exporter + labels: + helm.sh/chart: mimir-distributed-2.2.0-weekly.189 + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: overrides-exporter + app.kubernetes.io/version: "2.1.0" + app.kubernetes.io/managed-by: Helm + annotations: + {} +spec: + type: ClusterIP + ports: + - port: 8080 + protocol: TCP + name: http-metrics + targetPort: http-metrics + - port: 9095 + protocol: TCP + name: grpc + targetPort: grpc + selector: + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: overrides-exporter diff --git a/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/podsecuritypolicy.yaml b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/podsecuritypolicy.yaml new file mode 100644 index 00000000000..3964fffda80 --- /dev/null +++ b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/podsecuritypolicy.yaml @@ -0,0 +1,40 @@ +--- +# Source: mimir-distributed/templates/podsecuritypolicy.yaml +apiVersion: policy/v1beta1 +kind: PodSecurityPolicy +metadata: + name: test-enterprise-values-mimir + labels: + helm.sh/chart: mimir-distributed-2.2.0-weekly.189 + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/version: "2.1.0" + app.kubernetes.io/managed-by: Helm +spec: + privileged: false + allowPrivilegeEscalation: false + volumes: + - 'configMap' + - 'emptyDir' + - 'persistentVolumeClaim' + - 'secret' + hostNetwork: false + hostIPC: false + hostPID: false + runAsUser: + rule: 'MustRunAsNonRoot' + seLinux: + rule: 'RunAsAny' + supplementalGroups: + rule: 'MustRunAs' + ranges: + - min: 1 + max: 65535 + fsGroup: + rule: 'MustRunAs' + ranges: + - min: 1 + max: 65535 + readOnlyRootFilesystem: true + requiredDropCapabilities: + - ALL diff --git a/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/querier/querier-dep.yaml b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/querier/querier-dep.yaml new file mode 100644 index 00000000000..237f6aefd0d --- /dev/null +++ b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/querier/querier-dep.yaml @@ -0,0 +1,118 @@ +--- +# Source: mimir-distributed/templates/querier/querier-dep.yaml +apiVersion: apps/v1 +kind: Deployment +metadata: + name: test-enterprise-values-mimir-querier + labels: + helm.sh/chart: mimir-distributed-2.2.0-weekly.189 + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: querier + app.kubernetes.io/part-of: memberlist + app.kubernetes.io/version: "2.1.0" + app.kubernetes.io/managed-by: Helm + annotations: + {} +spec: + replicas: 2 + selector: + matchLabels: + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: querier + strategy: + rollingUpdate: + maxSurge: 0 + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + labels: + helm.sh/chart: mimir-distributed-2.2.0-weekly.189 + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/version: "2.1.0" + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: querier + app.kubernetes.io/part-of: memberlist + annotations: + checksum/config: 20297fef45efa773cd872a3e65ada08c59029003e83d3b1eace4d87bbf72ce99 + spec: + serviceAccountName: test-enterprise-values-mimir + securityContext: + {} + initContainers: + [] + containers: + - name: querier + image: "grafana/enterprise-metrics:v2.1.0" + imagePullPolicy: IfNotPresent + args: + - "-target=querier" + - "-config.expand-env=true" + - "-config.file=/etc/mimir/mimir.yaml" + volumeMounts: + - name: config + mountPath: /etc/mimir + - name: license + mountPath: /license + - name: runtime-config + mountPath: /var/mimir + - name: storage + mountPath: "/data" + subPath: + ports: + - name: http-metrics + containerPort: 8080 + protocol: TCP + - name: grpc + containerPort: 9095 + protocol: TCP + - name: memberlist + containerPort: 7946 + protocol: TCP + livenessProbe: + null + readinessProbe: + httpGet: + path: /ready + port: http-metrics + initialDelaySeconds: 45 + resources: + requests: + cpu: 100m + memory: 128Mi + securityContext: + readOnlyRootFilesystem: true + env: + envFrom: + nodeSelector: + {} + affinity: + podAntiAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - podAffinityTerm: + labelSelector: + matchExpressions: + - key: target + operator: In + values: + - querier + topologyKey: kubernetes.io/hostname + weight: 100 + tolerations: + [] + terminationGracePeriodSeconds: 180 + volumes: + - name: config + secret: + secretName: test-enterprise-values-mimir-config + - name: license + secret: + secretName: test-enterprise-values-mimir-license + - name: runtime-config + configMap: + name: test-enterprise-values-mimir-runtime + - name: storage + emptyDir: {} diff --git a/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/querier/querier-svc.yaml b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/querier/querier-svc.yaml new file mode 100644 index 00000000000..ded06cef9e3 --- /dev/null +++ b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/querier/querier-svc.yaml @@ -0,0 +1,31 @@ +--- +# Source: mimir-distributed/templates/querier/querier-svc.yaml +apiVersion: v1 +kind: Service +metadata: + name: test-enterprise-values-mimir-querier + labels: + helm.sh/chart: mimir-distributed-2.2.0-weekly.189 + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: querier + app.kubernetes.io/part-of: memberlist + app.kubernetes.io/version: "2.1.0" + app.kubernetes.io/managed-by: Helm + annotations: + {} +spec: + type: ClusterIP + ports: + - port: 8080 + protocol: TCP + name: http-metrics + targetPort: http-metrics + - port: 9095 + protocol: TCP + name: grpc + targetPort: grpc + selector: + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: querier diff --git a/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/query-frontend/query-frontend-dep.yaml b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/query-frontend/query-frontend-dep.yaml new file mode 100644 index 00000000000..aa598680f71 --- /dev/null +++ b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/query-frontend/query-frontend-dep.yaml @@ -0,0 +1,112 @@ +--- +# Source: mimir-distributed/templates/query-frontend/query-frontend-dep.yaml +apiVersion: apps/v1 +kind: Deployment +metadata: + name: test-enterprise-values-mimir-query-frontend + labels: + helm.sh/chart: mimir-distributed-2.2.0-weekly.189 + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: query-frontend + app.kubernetes.io/version: "2.1.0" + app.kubernetes.io/managed-by: Helm + annotations: + {} +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: query-frontend + strategy: + rollingUpdate: + maxSurge: 0 + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + labels: + helm.sh/chart: mimir-distributed-2.2.0-weekly.189 + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/version: "2.1.0" + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: query-frontend + annotations: + checksum/config: 20297fef45efa773cd872a3e65ada08c59029003e83d3b1eace4d87bbf72ce99 + spec: + serviceAccountName: test-enterprise-values-mimir + securityContext: + {} + initContainers: + [] + containers: + - name: query-frontend + image: "grafana/enterprise-metrics:v2.1.0" + imagePullPolicy: IfNotPresent + args: + - "-target=query-frontend" + - "-config.expand-env=true" + - "-config.file=/etc/mimir/mimir.yaml" + volumeMounts: + - name: runtime-config + mountPath: /var/mimir + - name: license + mountPath: /license + - name: config + mountPath: /etc/mimir + - name: storage + mountPath: /data + ports: + - name: http-metrics + containerPort: 8080 + protocol: TCP + - name: grpc + containerPort: 9095 + protocol: TCP + livenessProbe: + null + readinessProbe: + httpGet: + path: /ready + port: http-metrics + initialDelaySeconds: 45 + resources: + requests: + cpu: 100m + memory: 128Mi + securityContext: + readOnlyRootFilesystem: true + env: + envFrom: + nodeSelector: + {} + affinity: + podAntiAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - podAffinityTerm: + labelSelector: + matchExpressions: + - key: target + operator: In + values: + - query-frontend + topologyKey: kubernetes.io/hostname + weight: 100 + tolerations: + [] + terminationGracePeriodSeconds: 180 + volumes: + - name: config + secret: + secretName: test-enterprise-values-mimir-config + - name: license + secret: + secretName: test-enterprise-values-mimir-license + - name: runtime-config + configMap: + name: test-enterprise-values-mimir-runtime + - name: storage + emptyDir: {} diff --git a/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/query-frontend/query-frontend-svc-headless.yaml b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/query-frontend/query-frontend-svc-headless.yaml new file mode 100644 index 00000000000..55290abe0c7 --- /dev/null +++ b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/query-frontend/query-frontend-svc-headless.yaml @@ -0,0 +1,33 @@ +--- +# Source: mimir-distributed/templates/query-frontend/query-frontend-svc-headless.yaml +apiVersion: v1 +kind: Service +metadata: + name: test-enterprise-values-mimir-query-frontend-headless + labels: + helm.sh/chart: mimir-distributed-2.2.0-weekly.189 + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: query-frontend + app.kubernetes.io/version: "2.1.0" + app.kubernetes.io/managed-by: Helm + prometheus.io/service-monitor: "false" + annotations: + {} +spec: + type: ClusterIP + clusterIP: None + publishNotReadyAddresses: true + ports: + - port: 8080 + protocol: TCP + name: http-metrics + targetPort: http-metrics + - port: 9095 + protocol: TCP + name: grpc + targetPort: grpc + selector: + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: query-frontend diff --git a/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/query-frontend/query-frontend-svc.yaml b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/query-frontend/query-frontend-svc.yaml new file mode 100644 index 00000000000..134e5fa6655 --- /dev/null +++ b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/query-frontend/query-frontend-svc.yaml @@ -0,0 +1,30 @@ +--- +# Source: mimir-distributed/templates/query-frontend/query-frontend-svc.yaml +apiVersion: v1 +kind: Service +metadata: + name: test-enterprise-values-mimir-query-frontend + labels: + helm.sh/chart: mimir-distributed-2.2.0-weekly.189 + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: query-frontend + app.kubernetes.io/version: "2.1.0" + app.kubernetes.io/managed-by: Helm + annotations: + {} +spec: + type: ClusterIP + ports: + - port: 8080 + protocol: TCP + name: http-metrics + targetPort: http-metrics + - port: 9095 + protocol: TCP + name: grpc + targetPort: grpc + selector: + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: query-frontend diff --git a/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/role.yaml b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/role.yaml new file mode 100644 index 00000000000..0bfe0d93990 --- /dev/null +++ b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/role.yaml @@ -0,0 +1,17 @@ +--- +# Source: mimir-distributed/templates/role.yaml +apiVersion: rbac.authorization.k8s.io/v1 +kind: Role +metadata: + name: test-enterprise-values-mimir + labels: + helm.sh/chart: mimir-distributed-2.2.0-weekly.189 + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/version: "2.1.0" + app.kubernetes.io/managed-by: Helm +rules: +- apiGroups: ['extensions'] + resources: ['podsecuritypolicies'] + verbs: ['use'] + resourceNames: [test-enterprise-values-mimir] diff --git a/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/rolebinding.yaml b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/rolebinding.yaml new file mode 100644 index 00000000000..daf73bf5a48 --- /dev/null +++ b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/rolebinding.yaml @@ -0,0 +1,19 @@ +--- +# Source: mimir-distributed/templates/rolebinding.yaml +apiVersion: rbac.authorization.k8s.io/v1 +kind: RoleBinding +metadata: + name: test-enterprise-values-mimir + labels: + helm.sh/chart: mimir-distributed-2.2.0-weekly.189 + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/version: "2.1.0" + app.kubernetes.io/managed-by: Helm +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: Role + name: test-enterprise-values-mimir +subjects: +- kind: ServiceAccount + name: test-enterprise-values-mimir diff --git a/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/ruler/ruler-dep.yaml b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/ruler/ruler-dep.yaml new file mode 100644 index 00000000000..b40077a5b2a --- /dev/null +++ b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/ruler/ruler-dep.yaml @@ -0,0 +1,108 @@ +--- +# Source: mimir-distributed/templates/ruler/ruler-dep.yaml +apiVersion: apps/v1 +kind: Deployment +metadata: + name: test-enterprise-values-mimir-ruler + labels: + helm.sh/chart: mimir-distributed-2.2.0-weekly.189 + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: ruler + app.kubernetes.io/part-of: memberlist + app.kubernetes.io/version: "2.1.0" + app.kubernetes.io/managed-by: Helm + annotations: + {} +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: ruler + strategy: + rollingUpdate: + maxSurge: 0 + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + labels: + helm.sh/chart: mimir-distributed-2.2.0-weekly.189 + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/version: "2.1.0" + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: ruler + app.kubernetes.io/part-of: memberlist + annotations: + checksum/config: 20297fef45efa773cd872a3e65ada08c59029003e83d3b1eace4d87bbf72ce99 + spec: + serviceAccountName: test-enterprise-values-mimir + securityContext: + {} + initContainers: + [] + containers: + - name: ruler + image: "grafana/enterprise-metrics:v2.1.0" + imagePullPolicy: IfNotPresent + args: + - "-target=ruler" + - "-config.expand-env=true" + - "-config.file=/etc/mimir/mimir.yaml" + volumeMounts: + - name: config + mountPath: /etc/mimir + - name: license + mountPath: /license + - name: runtime-config + mountPath: /var/mimir + - name: storage + mountPath: "/data" + subPath: + ports: + - name: http-metrics + containerPort: 8080 + protocol: TCP + - name: grpc + containerPort: 9095 + protocol: TCP + - name: memberlist + containerPort: 7946 + protocol: TCP + livenessProbe: + null + readinessProbe: + httpGet: + path: /ready + port: http-metrics + initialDelaySeconds: 45 + resources: + requests: + cpu: 100m + memory: 128Mi + securityContext: + readOnlyRootFilesystem: true + env: + envFrom: + nodeSelector: + {} + affinity: + {} + tolerations: + [] + terminationGracePeriodSeconds: 180 + volumes: + - name: config + secret: + secretName: test-enterprise-values-mimir-config + - name: license + secret: + secretName: test-enterprise-values-mimir-license + - name: runtime-config + configMap: + name: test-enterprise-values-mimir-runtime + - name: storage + emptyDir: {} diff --git a/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/ruler/ruler-svc.yaml b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/ruler/ruler-svc.yaml new file mode 100644 index 00000000000..95bc0b22dd8 --- /dev/null +++ b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/ruler/ruler-svc.yaml @@ -0,0 +1,27 @@ +--- +# Source: mimir-distributed/templates/ruler/ruler-svc.yaml +apiVersion: v1 +kind: Service +metadata: + name: test-enterprise-values-mimir-ruler + labels: + helm.sh/chart: mimir-distributed-2.2.0-weekly.189 + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: ruler + app.kubernetes.io/part-of: memberlist + app.kubernetes.io/version: "2.1.0" + app.kubernetes.io/managed-by: Helm + annotations: + {} +spec: + type: ClusterIP + ports: + - port: 8080 + protocol: TCP + name: http-metrics + targetPort: http-metrics + selector: + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: ruler diff --git a/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/runtime-configmap.yaml b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/runtime-configmap.yaml new file mode 100644 index 00000000000..0974615fc37 --- /dev/null +++ b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/runtime-configmap.yaml @@ -0,0 +1,16 @@ +--- +# Source: mimir-distributed/templates/runtime-configmap.yaml +apiVersion: v1 +kind: ConfigMap +metadata: + name: test-enterprise-values-mimir-runtime + labels: + helm.sh/chart: mimir-distributed-2.2.0-weekly.189 + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/version: "2.1.0" + app.kubernetes.io/managed-by: Helm +data: + runtime.yaml: | + + {} diff --git a/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/secret.yaml b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/secret.yaml new file mode 100644 index 00000000000..a10a89ff534 --- /dev/null +++ b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/secret.yaml @@ -0,0 +1,14 @@ +--- +# Source: mimir-distributed/templates/secret.yaml +apiVersion: v1 +kind: Secret +metadata: + name: test-enterprise-values-mimir-config + labels: + helm.sh/chart: mimir-distributed-2.2.0-weekly.189 + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/version: "2.1.0" + app.kubernetes.io/managed-by: Helm +data: + mimir.yaml: CgpsaW1pdHM6IHt9CgphY3Rpdml0eV90cmFja2VyOgogIGZpbGVwYXRoOiAvZGF0YS9tZXRyaWNzLWFjdGl2aXR5LmxvZwoKYWxlcnRtYW5hZ2VyOgogIGRhdGFfZGlyOiAnL2RhdGEnCiAgZW5hYmxlX2FwaTogdHJ1ZQogIGV4dGVybmFsX3VybDogJy9hbGVydG1hbmFnZXInCmFsZXJ0bWFuYWdlcl9zdG9yYWdlOgogIGJhY2tlbmQ6IHMzCiAgczM6CiAgICBlbmRwb2ludDogdGVzdC1lbnRlcnByaXNlLXZhbHVlcy1taW5pby5kZWZhdWx0LnN2Yzo5MDAwCiAgICBidWNrZXRfbmFtZTogbWltaXItcnVsZXIKICAgIGFjY2Vzc19rZXlfaWQ6IGdyYWZhbmEtbWltaXIKICAgIHNlY3JldF9hY2Nlc3Nfa2V5OiBzdXBlcnNlY3JldAogICAgaW5zZWN1cmU6IHRydWUKCmZyb250ZW5kX3dvcmtlcjoKICBmcm9udGVuZF9hZGRyZXNzOiB0ZXN0LWVudGVycHJpc2UtdmFsdWVzLW1pbWlyLXF1ZXJ5LWZyb250ZW5kLWhlYWRsZXNzLmRlZmF1bHQuc3ZjOjkwOTUKCnJ1bGVyOgogIGVuYWJsZV9hcGk6IHRydWUKICBydWxlX3BhdGg6ICcvZGF0YScKICBhbGVydG1hbmFnZXJfdXJsOiBkbnNzcnZub2EraHR0cDovL19odHRwLW1ldHJpY3MuX3RjcC50ZXN0LWVudGVycHJpc2UtdmFsdWVzLW1pbWlyLWFsZXJ0bWFuYWdlci1oZWFkbGVzcy5kZWZhdWx0LnN2Yy5jbHVzdGVyLmxvY2FsL2FsZXJ0bWFuYWdlcgoKc2VydmVyOgogIGdycGNfc2VydmVyX21heF9yZWN2X21zZ19zaXplOiAxMDQ4NTc2MDAKICBncnBjX3NlcnZlcl9tYXhfc2VuZF9tc2dfc2l6ZTogMTA0ODU3NjAwCiAgZ3JwY19zZXJ2ZXJfbWF4X2NvbmN1cnJlbnRfc3RyZWFtczogMTAwMAoKZnJvbnRlbmQ6CiAgbG9nX3F1ZXJpZXNfbG9uZ2VyX3RoYW46IDEwcwogIGFsaWduX3F1ZXJpZXNfd2l0aF9zdGVwOiB0cnVlCgpjb21wYWN0b3I6CiAgZGF0YV9kaXI6ICIvZGF0YSIKCmluZ2VzdGVyOgogIHJpbmc6CiAgICBmaW5hbF9zbGVlcDogMHMKICAgIG51bV90b2tlbnM6IDUxMgogICAgdW5yZWdpc3Rlcl9vbl9zaHV0ZG93bjogZmFsc2UKCmluZ2VzdGVyX2NsaWVudDoKICBncnBjX2NsaWVudF9jb25maWc6CiAgICBtYXhfcmVjdl9tc2dfc2l6ZTogMTA0ODU3NjAwCiAgICBtYXhfc2VuZF9tc2dfc2l6ZTogMTA0ODU3NjAwCgpydW50aW1lX2NvbmZpZzoKICBmaWxlOiAvdmFyL21pbWlyL3J1bnRpbWUueWFtbAoKbWVtYmVybGlzdDoKICBhYm9ydF9pZl9jbHVzdGVyX2pvaW5fZmFpbHM6IGZhbHNlCiAgY29tcHJlc3Npb25fZW5hYmxlZDogZmFsc2UKICBqb2luX21lbWJlcnM6CiAgLSB0ZXN0LWVudGVycHJpc2UtdmFsdWVzLW1pbWlyLWdvc3NpcC1yaW5nCgojIFRoaXMgY29uZmlndXJlcyBob3cgdGhlIHN0b3JlLWdhdGV3YXkgc3luY2hyb25pemVzIGJsb2NrcyBzdG9yZWQgaW4gdGhlIGJ1Y2tldC4gSXQgdXNlcyBNaW5pbyBieSBkZWZhdWx0IGZvciBnZXR0aW5nIHN0YXJ0ZWQgKGNvbmZpZ3VyZWQgdmlhIGZsYWdzKSBidXQgdGhpcyBzaG91bGQgYmUgY2hhbmdlZCBmb3IgcHJvZHVjdGlvbiBkZXBsb3ltZW50cy4KYmxvY2tzX3N0b3JhZ2U6CiAgYmFja2VuZDogczMKICB0c2RiOgogICAgZGlyOiAvZGF0YS90c2RiCiAgYnVja2V0X3N0b3JlOgogICAgc3luY19kaXI6IC9kYXRhL3RzZGItc3luYwogIHMzOgogICAgZW5kcG9pbnQ6IHRlc3QtZW50ZXJwcmlzZS12YWx1ZXMtbWluaW8uZGVmYXVsdC5zdmM6OTAwMAogICAgYnVja2V0X25hbWU6IG1pbWlyLXRzZGIKICAgIGFjY2Vzc19rZXlfaWQ6IGdyYWZhbmEtbWltaXIKICAgIHNlY3JldF9hY2Nlc3Nfa2V5OiBzdXBlcnNlY3JldAogICAgaW5zZWN1cmU6IHRydWUKcnVsZXJfc3RvcmFnZToKICBiYWNrZW5kOiBzMwogIHMzOgogICAgZW5kcG9pbnQ6IHRlc3QtZW50ZXJwcmlzZS12YWx1ZXMtbWluaW8uZGVmYXVsdC5zdmM6OTAwMAogICAgYnVja2V0X25hbWU6IG1pbWlyLXJ1bGVyCiAgICBhY2Nlc3Nfa2V5X2lkOiBncmFmYW5hLW1pbWlyCiAgICBzZWNyZXRfYWNjZXNzX2tleTogc3VwZXJzZWNyZXQKICAgIGluc2VjdXJlOiB0cnVlCm11bHRpdGVuYW5jeV9lbmFibGVkOiB0cnVlCgphZG1pbl9hcGk6CiAgbGVhZGVyX2VsZWN0aW9uOgogICAgZW5hYmxlZDogdHJ1ZQogICAgcmluZzoKICAgICAga3ZzdG9yZToKICAgICAgICBzdG9yZTogIm1lbWJlcmxpc3QiCmFkbWluX2NsaWVudDoKICBzdG9yYWdlOgogICAgdHlwZTogczMKICAgIHMzOgogICAgICBlbmRwb2ludDogdGVzdC1lbnRlcnByaXNlLXZhbHVlcy1taW5pby5kZWZhdWx0LnN2Yzo5MDAwCiAgICAgIGJ1Y2tldF9uYW1lOiBlbnRlcnByaXNlLW1ldHJpY3MtYWRtaW4KICAgICAgYWNjZXNzX2tleV9pZDogZ3JhZmFuYS1taW1pcgogICAgICBzZWNyZXRfYWNjZXNzX2tleTogc3VwZXJzZWNyZXQKICAgICAgaW5zZWN1cmU6IHRydWUKCmF1dGg6CiAgdHlwZTogZW50ZXJwcmlzZQoKY2x1c3Rlcl9uYW1lOiAidGVzdC1lbnRlcnByaXNlLXZhbHVlcyIKCmxpY2Vuc2U6CiAgcGF0aDogIi9saWNlbnNlL2xpY2Vuc2Uuand0IgpnYXRld2F5OgogIHByb3h5OgogICAgZGVmYXVsdDoKICAgICAgdXJsOiBodHRwOi8vdGVzdC1lbnRlcnByaXNlLXZhbHVlcy1taW1pci1hZG1pbi1hcGkuZGVmYXVsdC5zdmM6ODA4MAogICAgYWRtaW5fYXBpOgogICAgICB1cmw6IGh0dHA6Ly90ZXN0LWVudGVycHJpc2UtdmFsdWVzLW1pbWlyLWFkbWluLWFwaS5kZWZhdWx0LnN2Yzo4MDgwCiAgICBhbGVydG1hbmFnZXI6CiAgICAgIHVybDogaHR0cDovL3Rlc3QtZW50ZXJwcmlzZS12YWx1ZXMtbWltaXItYWxlcnRtYW5hZ2VyLmRlZmF1bHQuc3ZjOjgwODAKICAgIGNvbXBhY3RvcjoKICAgICAgdXJsOiBodHRwOi8vdGVzdC1lbnRlcnByaXNlLXZhbHVlcy1taW1pci1jb21wYWN0b3IuZGVmYXVsdC5zdmM6ODA4MAogICAgZGlzdHJpYnV0b3I6CiAgICAgIHVybDogZG5zOi8vL3Rlc3QtZW50ZXJwcmlzZS12YWx1ZXMtbWltaXItZGlzdHJpYnV0b3ItaGVhZGxlc3MuZGVmYXVsdC5zdmMuY2x1c3Rlci5sb2NhbDo5MDk1CiAgICBpbmdlc3RlcjoKICAgICAgdXJsOiBodHRwOi8vdGVzdC1lbnRlcnByaXNlLXZhbHVlcy1taW1pci1pbmdlc3Rlci5kZWZhdWx0LnN2Yzo4MDgwCiAgICBxdWVyeV9mcm9udGVuZDoKICAgICAgdXJsOiBodHRwOi8vdGVzdC1lbnRlcnByaXNlLXZhbHVlcy1taW1pci1xdWVyeS1mcm9udGVuZC5kZWZhdWx0LnN2Yzo4MDgwCiAgICBydWxlcjoKICAgICAgdXJsOiBodHRwOi8vdGVzdC1lbnRlcnByaXNlLXZhbHVlcy1taW1pci1ydWxlci5kZWZhdWx0LnN2Yzo4MDgwCiAgICBzdG9yZV9nYXRld2F5OgogICAgICB1cmw6IGh0dHA6Ly90ZXN0LWVudGVycHJpc2UtdmFsdWVzLW1pbWlyLXN0b3JlLWdhdGV3YXkuZGVmYXVsdC5zdmM6ODA4MAoKaW5zdHJ1bWVudGF0aW9uOgogIGVuYWJsZWQ6IHRydWUKICBkaXN0cmlidXRvcl9jbGllbnQ6CiAgICBhZGRyZXNzOiAnZG5zOi8vL3Rlc3QtZW50ZXJwcmlzZS12YWx1ZXMtbWltaXItZGlzdHJpYnV0b3ItaGVhZGxlc3MuZGVmYXVsdC5zdmMuY2x1c3Rlci5sb2NhbDo5MDk1Jwo= diff --git a/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/serviceaccount.yaml b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/serviceaccount.yaml new file mode 100644 index 00000000000..78a8ad657b4 --- /dev/null +++ b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/serviceaccount.yaml @@ -0,0 +1,14 @@ +--- +# Source: mimir-distributed/templates/serviceaccount.yaml +apiVersion: v1 +kind: ServiceAccount +metadata: + name: test-enterprise-values-mimir + labels: + helm.sh/chart: mimir-distributed-2.2.0-weekly.189 + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/version: "2.1.0" + app.kubernetes.io/managed-by: Helm + annotations: + {} diff --git a/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/store-gateway/store-gateway-pdb.yaml b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/store-gateway/store-gateway-pdb.yaml new file mode 100644 index 00000000000..485f99bff0d --- /dev/null +++ b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/store-gateway/store-gateway-pdb.yaml @@ -0,0 +1,21 @@ +--- +# Source: mimir-distributed/templates/store-gateway/store-gateway-pdb.yaml +apiVersion: policy/v1beta1 +kind: PodDisruptionBudget +metadata: + name: test-enterprise-values-mimir-store-gateway + labels: + helm.sh/chart: mimir-distributed-2.2.0-weekly.189 + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: store-gateway + app.kubernetes.io/part-of: memberlist + app.kubernetes.io/version: "2.1.0" + app.kubernetes.io/managed-by: Helm +spec: + selector: + matchLabels: + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: store-gateway + maxUnavailable: 1 diff --git a/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/store-gateway/store-gateway-statefulset.yaml b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/store-gateway/store-gateway-statefulset.yaml new file mode 100644 index 00000000000..a6fd00b3770 --- /dev/null +++ b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/store-gateway/store-gateway-statefulset.yaml @@ -0,0 +1,113 @@ +--- +# Source: mimir-distributed/templates/store-gateway/store-gateway-statefulset.yaml +apiVersion: apps/v1 +kind: StatefulSet +metadata: + name: test-enterprise-values-mimir-store-gateway + labels: + helm.sh/chart: mimir-distributed-2.2.0-weekly.189 + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: store-gateway + app.kubernetes.io/part-of: memberlist + app.kubernetes.io/version: "2.1.0" + app.kubernetes.io/managed-by: Helm + annotations: + {} +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: store-gateway + updateStrategy: + type: RollingUpdate + serviceName: test-enterprise-values-mimir-store-gateway-headless + template: + metadata: + labels: + helm.sh/chart: mimir-distributed-2.2.0-weekly.189 + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/version: "2.1.0" + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: store-gateway + app.kubernetes.io/part-of: memberlist + annotations: + checksum/config: 20297fef45efa773cd872a3e65ada08c59029003e83d3b1eace4d87bbf72ce99 + spec: + serviceAccountName: test-enterprise-values-mimir + securityContext: + {} + initContainers: + [] + nodeSelector: + {} + affinity: + podAntiAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + - labelSelector: + matchExpressions: + - key: target + operator: In + values: + - store-gateway + topologyKey: kubernetes.io/hostname + tolerations: + [] + terminationGracePeriodSeconds: 240 + volumes: + - name: config + secret: + secretName: test-enterprise-values-mimir-config + - name: license + secret: + secretName: test-enterprise-values-mimir-license + - name: runtime-config + configMap: + name: test-enterprise-values-mimir-runtime + - name: storage + emptyDir: {} + containers: + - name: store-gateway + image: "grafana/enterprise-metrics:v2.1.0" + imagePullPolicy: IfNotPresent + args: + - "-target=store-gateway" + - "-config.expand-env=true" + - "-config.file=/etc/mimir/mimir.yaml" + volumeMounts: + - name: config + mountPath: /etc/mimir + - name: license + mountPath: /license + - name: runtime-config + mountPath: /var/mimir + - name: storage + mountPath: "/data" + ports: + - name: http-metrics + containerPort: 8080 + protocol: TCP + - name: grpc + containerPort: 9095 + protocol: TCP + - name: memberlist + containerPort: 7946 + protocol: TCP + livenessProbe: + null + readinessProbe: + httpGet: + path: /ready + port: http-metrics + initialDelaySeconds: 60 + resources: + requests: + cpu: 100m + memory: 512Mi + securityContext: + readOnlyRootFilesystem: true + env: + envFrom: diff --git a/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/store-gateway/store-gateway-svc-headless.yaml b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/store-gateway/store-gateway-svc-headless.yaml new file mode 100644 index 00000000000..33c3e07dd34 --- /dev/null +++ b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/store-gateway/store-gateway-svc-headless.yaml @@ -0,0 +1,29 @@ +--- +# Source: mimir-distributed/templates/store-gateway/store-gateway-svc-headless.yaml +apiVersion: v1 +kind: Service +metadata: + name: test-enterprise-values-mimir-store-gateway-headless + labels: + helm.sh/chart: mimir-distributed-2.2.0-weekly.189 + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: store-gateway + app.kubernetes.io/part-of: memberlist + app.kubernetes.io/version: "2.1.0" + app.kubernetes.io/managed-by: Helm + prometheus.io/service-monitor: "false" + annotations: + {} +spec: + type: ClusterIP + clusterIP: None + ports: + - port: 9095 + protocol: TCP + name: grpc + targetPort: grpc + selector: + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: store-gateway diff --git a/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/store-gateway/store-gateway-svc.yaml b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/store-gateway/store-gateway-svc.yaml new file mode 100644 index 00000000000..a94d269f9ae --- /dev/null +++ b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/store-gateway/store-gateway-svc.yaml @@ -0,0 +1,31 @@ +--- +# Source: mimir-distributed/templates/store-gateway/store-gateway-svc.yaml +apiVersion: v1 +kind: Service +metadata: + name: test-enterprise-values-mimir-store-gateway + labels: + helm.sh/chart: mimir-distributed-2.2.0-weekly.189 + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: store-gateway + app.kubernetes.io/part-of: memberlist + app.kubernetes.io/version: "2.1.0" + app.kubernetes.io/managed-by: Helm + annotations: + {} +spec: + type: ClusterIP + ports: + - port: 8080 + protocol: TCP + name: http-metrics + targetPort: http-metrics + - port: 9095 + protocol: TCP + name: grpc + targetPort: grpc + selector: + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: store-gateway diff --git a/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/tokengen/tokengen-job.yaml b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/tokengen/tokengen-job.yaml new file mode 100644 index 00000000000..0e2ea38b721 --- /dev/null +++ b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/tokengen/tokengen-job.yaml @@ -0,0 +1,60 @@ +--- +# Source: mimir-distributed/templates/tokengen/tokengen-job.yaml +apiVersion: batch/v1 +kind: Job +metadata: + name: test-enterprise-values-mimir-tokengen + labels: + helm.sh/chart: mimir-distributed-2.2.0-weekly.189 + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/component: tokengen + app.kubernetes.io/version: "2.1.0" + app.kubernetes.io/managed-by: Helm + annotations: + "helm.sh/hook": post-install +spec: + backoffLimit: 6 + completions: 1 + parallelism: 1 + selector: + template: + metadata: + labels: + helm.sh/chart: mimir-distributed-2.2.0-weekly.189 + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-enterprise-values + app.kubernetes.io/version: "2.1.0" + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/component: tokengen + spec: + serviceAccountName: test-enterprise-values-mimir + securityContext: + null + initContainers: + [] + containers: + - name: tokengen + image: "grafana/enterprise-metrics:v2.1.0" + imagePullPolicy: IfNotPresent + args: + - "-target=tokengen" + - "-config.expand-env=true" + - "-config.file=/etc/mimir/mimir.yaml" + volumeMounts: + - name: config + mountPath: /etc/mimir + - name: license + mountPath: /license + env: + envFrom: + restartPolicy: OnFailure + volumes: + - name: config + secret: + secretName: test-enterprise-values-mimir-config + - name: license + secret: + secretName: test-enterprise-values-mimir-license + - name: storage + emptyDir: {} diff --git a/operations/helm/tests/test-values-generated/mimir-distributed/charts/minio/templates/configmap.yaml b/operations/helm/tests/test-oss-values-generated/mimir-distributed/charts/minio/templates/configmap.yaml similarity index 98% rename from operations/helm/tests/test-values-generated/mimir-distributed/charts/minio/templates/configmap.yaml rename to operations/helm/tests/test-oss-values-generated/mimir-distributed/charts/minio/templates/configmap.yaml index d7cdca036a8..b5dc96c16cd 100644 --- a/operations/helm/tests/test-values-generated/mimir-distributed/charts/minio/templates/configmap.yaml +++ b/operations/helm/tests/test-oss-values-generated/mimir-distributed/charts/minio/templates/configmap.yaml @@ -3,11 +3,11 @@ apiVersion: v1 kind: ConfigMap metadata: - name: test-values-minio + name: test-oss-values-minio labels: app: minio chart: minio-8.0.10 - release: test-values + release: test-oss-values heritage: Helm data: initialize: |- diff --git a/operations/helm/tests/test-values-generated/mimir-distributed/charts/minio/templates/deployment.yaml b/operations/helm/tests/test-oss-values-generated/mimir-distributed/charts/minio/templates/deployment.yaml similarity index 71% rename from operations/helm/tests/test-values-generated/mimir-distributed/charts/minio/templates/deployment.yaml rename to operations/helm/tests/test-oss-values-generated/mimir-distributed/charts/minio/templates/deployment.yaml index a9201399f52..a9f44e76c20 100644 --- a/operations/helm/tests/test-values-generated/mimir-distributed/charts/minio/templates/deployment.yaml +++ b/operations/helm/tests/test-oss-values-generated/mimir-distributed/charts/minio/templates/deployment.yaml @@ -3,11 +3,11 @@ apiVersion: apps/v1 kind: Deployment metadata: - name: test-values-minio + name: test-oss-values-minio labels: app: minio chart: minio-8.0.10 - release: test-values + release: test-oss-values heritage: Helm spec: strategy: @@ -18,18 +18,18 @@ spec: selector: matchLabels: app: minio - release: test-values + release: test-oss-values template: metadata: - name: test-values-minio + name: test-oss-values-minio labels: app: minio - release: test-values + release: test-oss-values annotations: - checksum/secrets: 8af9cc7657e6fe0f8941b7c13e1e9f3ec03347f722287c4f756584160e123077 - checksum/config: 479e243d04325170fdb799a27a42290e62c8db576b4f7e11f690d5efceeeb4ed + checksum/secrets: f7d601b8641bf40718836a3781f3547aa41f4d5a36774f49fbe5353840847956 + checksum/config: 32ca71423a92c84343fe0ae8158915116831302093797101294d27b284a8c78b spec: - serviceAccountName: "test-values-minio" + serviceAccountName: "test-oss-values-minio" securityContext: runAsUser: 1000 runAsGroup: 1000 @@ -52,12 +52,12 @@ spec: - name: MINIO_ACCESS_KEY valueFrom: secretKeyRef: - name: test-values-minio + name: test-oss-values-minio key: accesskey - name: MINIO_SECRET_KEY valueFrom: secretKeyRef: - name: test-values-minio + name: test-oss-values-minio key: secretkey resources: requests: @@ -66,7 +66,7 @@ spec: volumes: - name: export persistentVolumeClaim: - claimName: test-values-minio + claimName: test-oss-values-minio - name: minio-user secret: - secretName: test-values-minio + secretName: test-oss-values-minio diff --git a/operations/helm/tests/test-values-generated/mimir-distributed/charts/minio/templates/post-install-create-bucket-job.yaml b/operations/helm/tests/test-oss-values-generated/mimir-distributed/charts/minio/templates/post-install-create-bucket-job.yaml similarity index 78% rename from operations/helm/tests/test-values-generated/mimir-distributed/charts/minio/templates/post-install-create-bucket-job.yaml rename to operations/helm/tests/test-oss-values-generated/mimir-distributed/charts/minio/templates/post-install-create-bucket-job.yaml index 5f1a1b55ada..ab4cbae0e05 100644 --- a/operations/helm/tests/test-values-generated/mimir-distributed/charts/minio/templates/post-install-create-bucket-job.yaml +++ b/operations/helm/tests/test-oss-values-generated/mimir-distributed/charts/minio/templates/post-install-create-bucket-job.yaml @@ -3,11 +3,11 @@ apiVersion: batch/v1 kind: Job metadata: - name: test-values-minio-make-bucket-job + name: test-oss-values-minio-make-bucket-job labels: app: minio-make-bucket-job chart: minio-8.0.10 - release: test-values + release: test-oss-values heritage: Helm annotations: "helm.sh/hook": post-install,post-upgrade @@ -17,7 +17,7 @@ spec: metadata: labels: app: minio-job - release: test-values + release: test-oss-values spec: restartPolicy: OnFailure volumes: @@ -25,10 +25,10 @@ spec: projected: sources: - configMap: - name: test-values-minio + name: test-oss-values-minio - secret: - name: test-values-minio - serviceAccountName: "test-values-minio" + name: test-oss-values-minio + serviceAccountName: "test-oss-values-minio" containers: - name: minio-mc image: "minio/mc:RELEASE.2021-02-14T04-28-06Z" @@ -36,7 +36,7 @@ spec: command: ["/bin/sh", "/config/initialize"] env: - name: MINIO_ENDPOINT - value: test-values-minio + value: test-oss-values-minio - name: MINIO_PORT value: "9000" volumeMounts: diff --git a/operations/helm/tests/test-values-generated/mimir-distributed/charts/minio/templates/post-install-prometheus-metrics-role.yaml b/operations/helm/tests/test-oss-values-generated/mimir-distributed/charts/minio/templates/post-install-prometheus-metrics-role.yaml similarity index 79% rename from operations/helm/tests/test-values-generated/mimir-distributed/charts/minio/templates/post-install-prometheus-metrics-role.yaml rename to operations/helm/tests/test-oss-values-generated/mimir-distributed/charts/minio/templates/post-install-prometheus-metrics-role.yaml index f5d146c3705..7829ff55941 100644 --- a/operations/helm/tests/test-values-generated/mimir-distributed/charts/minio/templates/post-install-prometheus-metrics-role.yaml +++ b/operations/helm/tests/test-oss-values-generated/mimir-distributed/charts/minio/templates/post-install-prometheus-metrics-role.yaml @@ -3,11 +3,11 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: - name: test-values-minio-update-prometheus-secret + name: test-oss-values-minio-update-prometheus-secret labels: app: minio-update-prometheus-secret chart: minio-8.0.10 - release: test-values + release: test-oss-values heritage: Helm rules: - apiGroups: @@ -20,7 +20,7 @@ rules: - update - patch resourceNames: - - test-values-minio-prometheus + - test-oss-values-minio-prometheus - apiGroups: - "" resources: @@ -34,4 +34,4 @@ rules: verbs: - get resourceNames: - - test-values-minio + - test-oss-values-minio diff --git a/operations/helm/tests/test-values-generated/mimir-distributed/charts/minio/templates/post-install-prometheus-metrics-rolebinding.yaml b/operations/helm/tests/test-oss-values-generated/mimir-distributed/charts/minio/templates/post-install-prometheus-metrics-rolebinding.yaml similarity index 66% rename from operations/helm/tests/test-values-generated/mimir-distributed/charts/minio/templates/post-install-prometheus-metrics-rolebinding.yaml rename to operations/helm/tests/test-oss-values-generated/mimir-distributed/charts/minio/templates/post-install-prometheus-metrics-rolebinding.yaml index b6749a059ab..49d29f0d92b 100644 --- a/operations/helm/tests/test-values-generated/mimir-distributed/charts/minio/templates/post-install-prometheus-metrics-rolebinding.yaml +++ b/operations/helm/tests/test-oss-values-generated/mimir-distributed/charts/minio/templates/post-install-prometheus-metrics-rolebinding.yaml @@ -3,17 +3,17 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: - name: test-values-minio-update-prometheus-secret + name: test-oss-values-minio-update-prometheus-secret labels: app: minio-update-prometheus-secret chart: minio-8.0.10 - release: test-values + release: test-oss-values heritage: Helm roleRef: apiGroup: rbac.authorization.k8s.io kind: Role - name: test-values-minio-update-prometheus-secret + name: test-oss-values-minio-update-prometheus-secret subjects: - kind: ServiceAccount - name: test-values-minio-update-prometheus-secret + name: test-oss-values-minio-update-prometheus-secret namespace: "default" diff --git a/operations/helm/tests/test-values-generated/mimir-distributed/charts/minio/templates/post-install-prometheus-metrics-serviceaccount.yaml b/operations/helm/tests/test-oss-values-generated/mimir-distributed/charts/minio/templates/post-install-prometheus-metrics-serviceaccount.yaml similarity index 74% rename from operations/helm/tests/test-values-generated/mimir-distributed/charts/minio/templates/post-install-prometheus-metrics-serviceaccount.yaml rename to operations/helm/tests/test-oss-values-generated/mimir-distributed/charts/minio/templates/post-install-prometheus-metrics-serviceaccount.yaml index 93fda9af06c..d8dec25b606 100644 --- a/operations/helm/tests/test-values-generated/mimir-distributed/charts/minio/templates/post-install-prometheus-metrics-serviceaccount.yaml +++ b/operations/helm/tests/test-oss-values-generated/mimir-distributed/charts/minio/templates/post-install-prometheus-metrics-serviceaccount.yaml @@ -3,9 +3,9 @@ apiVersion: v1 kind: ServiceAccount metadata: - name: test-values-minio-update-prometheus-secret + name: test-oss-values-minio-update-prometheus-secret labels: app: minio-update-prometheus-secret chart: minio-8.0.10 - release: test-values + release: test-oss-values heritage: Helm diff --git a/operations/helm/tests/test-values-generated/mimir-distributed/charts/minio/templates/pvc.yaml b/operations/helm/tests/test-oss-values-generated/mimir-distributed/charts/minio/templates/pvc.yaml similarity index 82% rename from operations/helm/tests/test-values-generated/mimir-distributed/charts/minio/templates/pvc.yaml rename to operations/helm/tests/test-oss-values-generated/mimir-distributed/charts/minio/templates/pvc.yaml index a4f50714f40..a4915536b96 100644 --- a/operations/helm/tests/test-values-generated/mimir-distributed/charts/minio/templates/pvc.yaml +++ b/operations/helm/tests/test-oss-values-generated/mimir-distributed/charts/minio/templates/pvc.yaml @@ -3,11 +3,11 @@ apiVersion: v1 kind: PersistentVolumeClaim metadata: - name: test-values-minio + name: test-oss-values-minio labels: app: minio chart: minio-8.0.10 - release: test-values + release: test-oss-values heritage: Helm spec: accessModes: diff --git a/operations/helm/tests/test-values-generated/mimir-distributed/charts/minio/templates/secrets.yaml b/operations/helm/tests/test-oss-values-generated/mimir-distributed/charts/minio/templates/secrets.yaml similarity index 81% rename from operations/helm/tests/test-values-generated/mimir-distributed/charts/minio/templates/secrets.yaml rename to operations/helm/tests/test-oss-values-generated/mimir-distributed/charts/minio/templates/secrets.yaml index 2b532360bfb..dbbcc64fd5b 100644 --- a/operations/helm/tests/test-values-generated/mimir-distributed/charts/minio/templates/secrets.yaml +++ b/operations/helm/tests/test-oss-values-generated/mimir-distributed/charts/minio/templates/secrets.yaml @@ -3,11 +3,11 @@ apiVersion: v1 kind: Secret metadata: - name: test-values-minio + name: test-oss-values-minio labels: app: minio chart: minio-8.0.10 - release: test-values + release: test-oss-values heritage: Helm type: Opaque data: diff --git a/operations/helm/tests/test-values-generated/mimir-distributed/charts/minio/templates/service.yaml b/operations/helm/tests/test-oss-values-generated/mimir-distributed/charts/minio/templates/service.yaml similarity index 78% rename from operations/helm/tests/test-values-generated/mimir-distributed/charts/minio/templates/service.yaml rename to operations/helm/tests/test-oss-values-generated/mimir-distributed/charts/minio/templates/service.yaml index a1fd4a9b281..09ff81bb01a 100644 --- a/operations/helm/tests/test-values-generated/mimir-distributed/charts/minio/templates/service.yaml +++ b/operations/helm/tests/test-oss-values-generated/mimir-distributed/charts/minio/templates/service.yaml @@ -3,11 +3,11 @@ apiVersion: v1 kind: Service metadata: - name: test-values-minio + name: test-oss-values-minio labels: app: minio chart: minio-8.0.10 - release: test-values + release: test-oss-values heritage: Helm spec: type: ClusterIP @@ -18,4 +18,4 @@ spec: targetPort: 9000 selector: app: minio - release: test-values + release: test-oss-values diff --git a/operations/helm/tests/test-values-generated/mimir-distributed/charts/minio/templates/serviceaccount.yaml b/operations/helm/tests/test-oss-values-generated/mimir-distributed/charts/minio/templates/serviceaccount.yaml similarity index 75% rename from operations/helm/tests/test-values-generated/mimir-distributed/charts/minio/templates/serviceaccount.yaml rename to operations/helm/tests/test-oss-values-generated/mimir-distributed/charts/minio/templates/serviceaccount.yaml index 21516f76e26..117733a9d99 100644 --- a/operations/helm/tests/test-values-generated/mimir-distributed/charts/minio/templates/serviceaccount.yaml +++ b/operations/helm/tests/test-oss-values-generated/mimir-distributed/charts/minio/templates/serviceaccount.yaml @@ -3,9 +3,9 @@ apiVersion: v1 kind: ServiceAccount metadata: - name: "test-values-minio" + name: "test-oss-values-minio" namespace: "default" labels: app: minio chart: minio-8.0.10 - release: "test-values" + release: "test-oss-values" diff --git a/operations/helm/tests/test-values-generated/mimir-distributed/templates/alertmanager/alertmanager-statefulset.yaml b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/alertmanager/alertmanager-statefulset.yaml similarity index 84% rename from operations/helm/tests/test-values-generated/mimir-distributed/templates/alertmanager/alertmanager-statefulset.yaml rename to operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/alertmanager/alertmanager-statefulset.yaml index c779c762e1d..be6b9c174a5 100644 --- a/operations/helm/tests/test-values-generated/mimir-distributed/templates/alertmanager/alertmanager-statefulset.yaml +++ b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/alertmanager/alertmanager-statefulset.yaml @@ -3,11 +3,11 @@ apiVersion: apps/v1 kind: StatefulSet metadata: - name: test-values-mimir-alertmanager + name: test-oss-values-mimir-alertmanager labels: helm.sh/chart: mimir-distributed-2.2.0-weekly.189 app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/component: alertmanager app.kubernetes.io/part-of: memberlist app.kubernetes.io/version: "2.1.0" @@ -19,25 +19,25 @@ spec: selector: matchLabels: app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/component: alertmanager updateStrategy: type: RollingUpdate - serviceName: test-values-mimir-alertmanager + serviceName: test-oss-values-mimir-alertmanager template: metadata: labels: helm.sh/chart: mimir-distributed-2.2.0-weekly.189 app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/version: "2.1.0" app.kubernetes.io/managed-by: Helm app.kubernetes.io/component: alertmanager app.kubernetes.io/part-of: memberlist annotations: - checksum/config: c1cf6dac6755ebbe42de2ac5b0bfb04128c427b548db0d65a67ce5cd4d64326d + checksum/config: 7b9ed84df22bf324205968cf49b0d824eb15e1748888719ffc3bab3f17d5e2e4 spec: - serviceAccountName: test-values-mimir + serviceAccountName: test-oss-values-mimir securityContext: {} initContainers: @@ -52,10 +52,10 @@ spec: volumes: - name: config secret: - secretName: test-values-mimir-config + secretName: test-oss-values-mimir-config - name: runtime-config configMap: - name: test-values-mimir-runtime + name: test-oss-values-mimir-runtime - name: storage emptyDir: {} - name: tmp diff --git a/operations/helm/tests/test-values-generated/mimir-distributed/templates/alertmanager/alertmanager-svc-headless.yaml b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/alertmanager/alertmanager-svc-headless.yaml similarity index 85% rename from operations/helm/tests/test-values-generated/mimir-distributed/templates/alertmanager/alertmanager-svc-headless.yaml rename to operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/alertmanager/alertmanager-svc-headless.yaml index f64b182660f..662fb5387b6 100644 --- a/operations/helm/tests/test-values-generated/mimir-distributed/templates/alertmanager/alertmanager-svc-headless.yaml +++ b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/alertmanager/alertmanager-svc-headless.yaml @@ -3,11 +3,11 @@ apiVersion: v1 kind: Service metadata: - name: test-values-mimir-alertmanager-headless + name: test-oss-values-mimir-alertmanager-headless labels: helm.sh/chart: mimir-distributed-2.2.0-weekly.189 app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/component: alertmanager app.kubernetes.io/part-of: memberlist app.kubernetes.io/version: "2.1.0" @@ -33,5 +33,5 @@ spec: name: cluster selector: app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/component: alertmanager diff --git a/operations/helm/tests/test-values-generated/mimir-distributed/templates/alertmanager/alertmanager-svc.yaml b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/alertmanager/alertmanager-svc.yaml similarity index 83% rename from operations/helm/tests/test-values-generated/mimir-distributed/templates/alertmanager/alertmanager-svc.yaml rename to operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/alertmanager/alertmanager-svc.yaml index 1fbccf15657..3c6dcb67190 100644 --- a/operations/helm/tests/test-values-generated/mimir-distributed/templates/alertmanager/alertmanager-svc.yaml +++ b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/alertmanager/alertmanager-svc.yaml @@ -3,11 +3,11 @@ apiVersion: v1 kind: Service metadata: - name: test-values-mimir-alertmanager + name: test-oss-values-mimir-alertmanager labels: helm.sh/chart: mimir-distributed-2.2.0-weekly.189 app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/component: alertmanager app.kubernetes.io/part-of: memberlist app.kubernetes.io/version: "2.1.0" @@ -27,5 +27,5 @@ spec: targetPort: grpc selector: app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/component: alertmanager diff --git a/operations/helm/tests/test-values-generated/mimir-distributed/templates/compactor/compactor-statefulset.yaml b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/compactor/compactor-statefulset.yaml similarity index 85% rename from operations/helm/tests/test-values-generated/mimir-distributed/templates/compactor/compactor-statefulset.yaml rename to operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/compactor/compactor-statefulset.yaml index 0c01a3cc2f0..1205d24e97b 100644 --- a/operations/helm/tests/test-values-generated/mimir-distributed/templates/compactor/compactor-statefulset.yaml +++ b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/compactor/compactor-statefulset.yaml @@ -3,11 +3,11 @@ apiVersion: apps/v1 kind: StatefulSet metadata: - name: test-values-mimir-compactor + name: test-oss-values-mimir-compactor labels: helm.sh/chart: mimir-distributed-2.2.0-weekly.189 app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/component: compactor app.kubernetes.io/part-of: memberlist app.kubernetes.io/version: "2.1.0" @@ -19,25 +19,25 @@ spec: selector: matchLabels: app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/component: compactor updateStrategy: type: RollingUpdate - serviceName: test-values-mimir-compactor + serviceName: test-oss-values-mimir-compactor template: metadata: labels: helm.sh/chart: mimir-distributed-2.2.0-weekly.189 app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/version: "2.1.0" app.kubernetes.io/managed-by: Helm app.kubernetes.io/component: compactor app.kubernetes.io/part-of: memberlist annotations: - checksum/config: c1cf6dac6755ebbe42de2ac5b0bfb04128c427b548db0d65a67ce5cd4d64326d + checksum/config: 7b9ed84df22bf324205968cf49b0d824eb15e1748888719ffc3bab3f17d5e2e4 spec: - serviceAccountName: test-values-mimir + serviceAccountName: test-oss-values-mimir securityContext: {} initContainers: @@ -62,10 +62,10 @@ spec: volumes: - name: config secret: - secretName: test-values-mimir-config + secretName: test-oss-values-mimir-config - name: runtime-config configMap: - name: test-values-mimir-runtime + name: test-oss-values-mimir-runtime - name: storage emptyDir: {} containers: diff --git a/operations/helm/tests/test-values-generated/mimir-distributed/templates/compactor/compactor-svc.yaml b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/compactor/compactor-svc.yaml similarity index 83% rename from operations/helm/tests/test-values-generated/mimir-distributed/templates/compactor/compactor-svc.yaml rename to operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/compactor/compactor-svc.yaml index 733dc9dc67b..2a5af3a6e46 100644 --- a/operations/helm/tests/test-values-generated/mimir-distributed/templates/compactor/compactor-svc.yaml +++ b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/compactor/compactor-svc.yaml @@ -3,11 +3,11 @@ apiVersion: v1 kind: Service metadata: - name: test-values-mimir-compactor + name: test-oss-values-mimir-compactor labels: helm.sh/chart: mimir-distributed-2.2.0-weekly.189 app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/component: compactor app.kubernetes.io/part-of: memberlist app.kubernetes.io/version: "2.1.0" @@ -27,5 +27,5 @@ spec: targetPort: grpc selector: app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/component: compactor diff --git a/operations/helm/tests/test-values-generated/mimir-distributed/templates/distributor/distributor-dep.yaml b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/distributor/distributor-dep.yaml similarity index 86% rename from operations/helm/tests/test-values-generated/mimir-distributed/templates/distributor/distributor-dep.yaml rename to operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/distributor/distributor-dep.yaml index 21bbed03b9e..d27718199d8 100644 --- a/operations/helm/tests/test-values-generated/mimir-distributed/templates/distributor/distributor-dep.yaml +++ b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/distributor/distributor-dep.yaml @@ -3,11 +3,11 @@ apiVersion: apps/v1 kind: Deployment metadata: - name: test-values-mimir-distributor + name: test-oss-values-mimir-distributor labels: helm.sh/chart: mimir-distributed-2.2.0-weekly.189 app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/component: distributor app.kubernetes.io/part-of: memberlist app.kubernetes.io/version: "2.1.0" @@ -19,7 +19,7 @@ spec: selector: matchLabels: app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/component: distributor strategy: rollingUpdate: @@ -31,15 +31,15 @@ spec: labels: helm.sh/chart: mimir-distributed-2.2.0-weekly.189 app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/version: "2.1.0" app.kubernetes.io/managed-by: Helm app.kubernetes.io/component: distributor app.kubernetes.io/part-of: memberlist annotations: - checksum/config: c1cf6dac6755ebbe42de2ac5b0bfb04128c427b548db0d65a67ce5cd4d64326d + checksum/config: 7b9ed84df22bf324205968cf49b0d824eb15e1748888719ffc3bab3f17d5e2e4 spec: - serviceAccountName: test-values-mimir + serviceAccountName: test-oss-values-mimir securityContext: {} initContainers: @@ -103,9 +103,9 @@ spec: volumes: - name: config secret: - secretName: test-values-mimir-config + secretName: test-oss-values-mimir-config - name: runtime-config configMap: - name: test-values-mimir-runtime + name: test-oss-values-mimir-runtime - name: storage emptyDir: {} diff --git a/operations/helm/tests/test-values-generated/mimir-distributed/templates/distributor/distributor-svc-headless.yaml b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/distributor/distributor-svc-headless.yaml similarity index 82% rename from operations/helm/tests/test-values-generated/mimir-distributed/templates/distributor/distributor-svc-headless.yaml rename to operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/distributor/distributor-svc-headless.yaml index 6f111345e6a..2cecc4be2c9 100644 --- a/operations/helm/tests/test-values-generated/mimir-distributed/templates/distributor/distributor-svc-headless.yaml +++ b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/distributor/distributor-svc-headless.yaml @@ -3,11 +3,11 @@ apiVersion: v1 kind: Service metadata: - name: test-values-mimir-distributor-headless + name: test-oss-values-mimir-distributor-headless labels: helm.sh/chart: mimir-distributed-2.2.0-weekly.189 app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/component: distributor app.kubernetes.io/part-of: memberlist app.kubernetes.io/version: "2.1.0" @@ -25,5 +25,5 @@ spec: targetPort: grpc selector: app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/component: distributor diff --git a/operations/helm/tests/test-values-generated/mimir-distributed/templates/distributor/distributor-svc.yaml b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/distributor/distributor-svc.yaml similarity index 83% rename from operations/helm/tests/test-values-generated/mimir-distributed/templates/distributor/distributor-svc.yaml rename to operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/distributor/distributor-svc.yaml index 3432c2ce8aa..ef0dff05dc7 100644 --- a/operations/helm/tests/test-values-generated/mimir-distributed/templates/distributor/distributor-svc.yaml +++ b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/distributor/distributor-svc.yaml @@ -3,11 +3,11 @@ apiVersion: v1 kind: Service metadata: - name: test-values-mimir-distributor + name: test-oss-values-mimir-distributor labels: helm.sh/chart: mimir-distributed-2.2.0-weekly.189 app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/component: distributor app.kubernetes.io/part-of: memberlist app.kubernetes.io/version: "2.1.0" @@ -27,5 +27,5 @@ spec: targetPort: grpc selector: app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/component: distributor diff --git a/operations/helm/tests/test-values-generated/mimir-distributed/templates/gossip-ring/gossip-ring-svc.yaml b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/gossip-ring/gossip-ring-svc.yaml similarity index 81% rename from operations/helm/tests/test-values-generated/mimir-distributed/templates/gossip-ring/gossip-ring-svc.yaml rename to operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/gossip-ring/gossip-ring-svc.yaml index fa5a8cb64c0..ae66fd7c268 100644 --- a/operations/helm/tests/test-values-generated/mimir-distributed/templates/gossip-ring/gossip-ring-svc.yaml +++ b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/gossip-ring/gossip-ring-svc.yaml @@ -3,11 +3,11 @@ apiVersion: v1 kind: Service metadata: - name: test-values-mimir-gossip-ring + name: test-oss-values-mimir-gossip-ring labels: helm.sh/chart: mimir-distributed-2.2.0-weekly.189 app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/component: gossip-ring app.kubernetes.io/version: "2.1.0" app.kubernetes.io/managed-by: Helm @@ -22,5 +22,5 @@ spec: publishNotReadyAddresses: true selector: app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/part-of: memberlist diff --git a/operations/helm/tests/test-values-generated/mimir-distributed/templates/ingester/ingester-pdb.yaml b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/ingester/ingester-pdb.yaml similarity index 79% rename from operations/helm/tests/test-values-generated/mimir-distributed/templates/ingester/ingester-pdb.yaml rename to operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/ingester/ingester-pdb.yaml index 67048f96fa3..8772a9d15af 100644 --- a/operations/helm/tests/test-values-generated/mimir-distributed/templates/ingester/ingester-pdb.yaml +++ b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/ingester/ingester-pdb.yaml @@ -3,11 +3,11 @@ apiVersion: policy/v1beta1 kind: PodDisruptionBudget metadata: - name: test-values-mimir-ingester + name: test-oss-values-mimir-ingester labels: helm.sh/chart: mimir-distributed-2.2.0-weekly.189 app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/component: ingester app.kubernetes.io/part-of: memberlist app.kubernetes.io/version: "2.1.0" @@ -16,6 +16,6 @@ spec: selector: matchLabels: app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/component: ingester maxUnavailable: 1 diff --git a/operations/helm/tests/test-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml similarity index 83% rename from operations/helm/tests/test-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml rename to operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml index 4b7af7acd7f..8b9acade53d 100644 --- a/operations/helm/tests/test-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml +++ b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml @@ -3,11 +3,11 @@ apiVersion: apps/v1 kind: StatefulSet metadata: - name: test-values-mimir-ingester + name: test-oss-values-mimir-ingester labels: helm.sh/chart: mimir-distributed-2.2.0-weekly.189 app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/component: ingester app.kubernetes.io/part-of: memberlist app.kubernetes.io/version: "2.1.0" @@ -20,25 +20,25 @@ spec: selector: matchLabels: app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/component: ingester updateStrategy: type: RollingUpdate - serviceName: test-values-mimir-ingester-headless + serviceName: test-oss-values-mimir-ingester-headless template: metadata: labels: helm.sh/chart: mimir-distributed-2.2.0-weekly.189 app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/version: "2.1.0" app.kubernetes.io/managed-by: Helm app.kubernetes.io/component: ingester app.kubernetes.io/part-of: memberlist annotations: - checksum/config: c1cf6dac6755ebbe42de2ac5b0bfb04128c427b548db0d65a67ce5cd4d64326d + checksum/config: 7b9ed84df22bf324205968cf49b0d824eb15e1748888719ffc3bab3f17d5e2e4 spec: - serviceAccountName: test-values-mimir + serviceAccountName: test-oss-values-mimir securityContext: {} initContainers: @@ -53,10 +53,10 @@ spec: volumes: - name: config secret: - secretName: test-values-mimir-config + secretName: test-oss-values-mimir-config - name: runtime-config configMap: - name: test-values-mimir-runtime + name: test-oss-values-mimir-runtime - name: storage emptyDir: {} containers: diff --git a/operations/helm/tests/test-values-generated/mimir-distributed/templates/ingester/ingester-svc-headless.yaml b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/ingester/ingester-svc-headless.yaml similarity index 82% rename from operations/helm/tests/test-values-generated/mimir-distributed/templates/ingester/ingester-svc-headless.yaml rename to operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/ingester/ingester-svc-headless.yaml index 6441ce16b79..bdde7e36d02 100644 --- a/operations/helm/tests/test-values-generated/mimir-distributed/templates/ingester/ingester-svc-headless.yaml +++ b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/ingester/ingester-svc-headless.yaml @@ -3,11 +3,11 @@ apiVersion: v1 kind: Service metadata: - name: test-values-mimir-ingester-headless + name: test-oss-values-mimir-ingester-headless labels: helm.sh/chart: mimir-distributed-2.2.0-weekly.189 app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/component: ingester app.kubernetes.io/part-of: memberlist app.kubernetes.io/version: "2.1.0" @@ -25,5 +25,5 @@ spec: targetPort: grpc selector: app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/component: ingester diff --git a/operations/helm/tests/test-values-generated/mimir-distributed/templates/ingester/ingester-svc.yaml b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/ingester/ingester-svc.yaml similarity index 83% rename from operations/helm/tests/test-values-generated/mimir-distributed/templates/ingester/ingester-svc.yaml rename to operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/ingester/ingester-svc.yaml index 476702ee0d7..75966d41959 100644 --- a/operations/helm/tests/test-values-generated/mimir-distributed/templates/ingester/ingester-svc.yaml +++ b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/ingester/ingester-svc.yaml @@ -3,11 +3,11 @@ apiVersion: v1 kind: Service metadata: - name: test-values-mimir-ingester + name: test-oss-values-mimir-ingester labels: helm.sh/chart: mimir-distributed-2.2.0-weekly.189 app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/component: ingester app.kubernetes.io/part-of: memberlist app.kubernetes.io/version: "2.1.0" @@ -27,5 +27,5 @@ spec: targetPort: grpc selector: app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/component: ingester diff --git a/operations/helm/tests/test-values-generated/mimir-distributed/templates/minio/create-bucket-job.yaml b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/minio/create-bucket-job.yaml similarity index 79% rename from operations/helm/tests/test-values-generated/mimir-distributed/templates/minio/create-bucket-job.yaml rename to operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/minio/create-bucket-job.yaml index f923e227179..b714a38d655 100644 --- a/operations/helm/tests/test-values-generated/mimir-distributed/templates/minio/create-bucket-job.yaml +++ b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/minio/create-bucket-job.yaml @@ -3,19 +3,19 @@ apiVersion: batch/v1 kind: Job metadata: - name: test-values-mimir-distributed-make-bucket-job + name: test-oss-values-mimir-distributed-make-bucket-job namespace: "default" labels: app: mimir-distributed-make-bucket-job chart: mimir-distributed-2.2.0-weekly.189 - release: test-values + release: test-oss-values heritage: Helm spec: template: metadata: labels: app: mimir-distributed-job - release: test-values + release: test-oss-values spec: restartPolicy: OnFailure volumes: @@ -23,9 +23,9 @@ spec: projected: sources: - configMap: - name: test-values-minio + name: test-oss-values-minio - secret: - name: test-values-minio + name: test-oss-values-minio containers: - name: minio-mc image: "minio/mc:RELEASE.2021-02-14T04-28-06Z" @@ -33,7 +33,7 @@ spec: command: ["/bin/sh", "/config/initialize"] env: - name: MINIO_ENDPOINT - value: test-values-minio + value: test-oss-values-minio - name: MINIO_PORT value: "9000" volumeMounts: diff --git a/operations/helm/tests/test-values-generated/mimir-distributed/templates/nginx/nginx-configmap.yaml b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/nginx/nginx-configmap.yaml similarity index 59% rename from operations/helm/tests/test-values-generated/mimir-distributed/templates/nginx/nginx-configmap.yaml rename to operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/nginx/nginx-configmap.yaml index b37c3636c8d..e85527322ab 100644 --- a/operations/helm/tests/test-values-generated/mimir-distributed/templates/nginx/nginx-configmap.yaml +++ b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/nginx/nginx-configmap.yaml @@ -3,11 +3,11 @@ apiVersion: v1 kind: ConfigMap metadata: - name: test-values-mimir-nginx + name: test-oss-values-mimir-nginx labels: helm.sh/chart: mimir-distributed-2.2.0-weekly.189 app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/component: nginx app.kubernetes.io/version: "2.1.0" app.kubernetes.io/managed-by: Helm @@ -50,52 +50,52 @@ data: # Distributor endpoints location /distributor { - proxy_pass http://test-values-mimir-distributor-headless.default.svc.cluster.local:8080$request_uri; + proxy_pass http://test-oss-values-mimir-distributor-headless.default.svc.cluster.local:8080$request_uri; } location = /api/v1/push { - proxy_pass http://test-values-mimir-distributor-headless.default.svc.cluster.local:8080$request_uri; + proxy_pass http://test-oss-values-mimir-distributor-headless.default.svc.cluster.local:8080$request_uri; } # Alertmanager endpoints location /alertmanager { - proxy_pass http://test-values-mimir-alertmanager.default.svc.cluster.local:8080$request_uri; + proxy_pass http://test-oss-values-mimir-alertmanager.default.svc.cluster.local:8080$request_uri; } location = /multitenant_alertmanager/status { - proxy_pass http://test-values-mimir-alertmanager.default.svc.cluster.local:8080$request_uri; + proxy_pass http://test-oss-values-mimir-alertmanager.default.svc.cluster.local:8080$request_uri; } location = /api/v1/alerts { - proxy_pass http://test-values-mimir-alertmanager.default.svc.cluster.local:8080$request_uri; + proxy_pass http://test-oss-values-mimir-alertmanager.default.svc.cluster.local:8080$request_uri; } # Ruler endpoints location /prometheus/config/v1/rules { - proxy_pass http://test-values-mimir-ruler.default.svc.cluster.local:8080$request_uri; + proxy_pass http://test-oss-values-mimir-ruler.default.svc.cluster.local:8080$request_uri; } location /prometheus/api/v1/rules { - proxy_pass http://test-values-mimir-ruler.default.svc.cluster.local:8080$request_uri; + proxy_pass http://test-oss-values-mimir-ruler.default.svc.cluster.local:8080$request_uri; } location /api/v1/rules { - proxy_pass http://test-values-mimir-ruler.default.svc.cluster.local:8080$request_uri; + proxy_pass http://test-oss-values-mimir-ruler.default.svc.cluster.local:8080$request_uri; } location /prometheus/api/v1/alerts { - proxy_pass http://test-values-mimir-ruler.default.svc.cluster.local:8080$request_uri; + proxy_pass http://test-oss-values-mimir-ruler.default.svc.cluster.local:8080$request_uri; } location /prometheus/rules { - proxy_pass http://test-values-mimir-ruler.default.svc.cluster.local:8080$request_uri; + proxy_pass http://test-oss-values-mimir-ruler.default.svc.cluster.local:8080$request_uri; } location = /ruler/ring { - proxy_pass http://test-values-mimir-ruler.default.svc.cluster.local:8080$request_uri; + proxy_pass http://test-oss-values-mimir-ruler.default.svc.cluster.local:8080$request_uri; } # Rest of /prometheus goes to the query frontend location /prometheus { - proxy_pass http://test-values-mimir-query-frontend.default.svc.cluster.local:8080$request_uri; + proxy_pass http://test-oss-values-mimir-query-frontend.default.svc.cluster.local:8080$request_uri; } # Buildinfo endpoint can go to any component location = /api/v1/status/buildinfo { - proxy_pass http://test-values-mimir-query-frontend.default.svc.cluster.local:8080$request_uri; + proxy_pass http://test-oss-values-mimir-query-frontend.default.svc.cluster.local:8080$request_uri; } } } diff --git a/operations/helm/tests/test-values-generated/mimir-distributed/templates/nginx/nginx-dep.yaml b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/nginx/nginx-dep.yaml similarity index 86% rename from operations/helm/tests/test-values-generated/mimir-distributed/templates/nginx/nginx-dep.yaml rename to operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/nginx/nginx-dep.yaml index a0d022e2581..7ed199b4cb0 100644 --- a/operations/helm/tests/test-values-generated/mimir-distributed/templates/nginx/nginx-dep.yaml +++ b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/nginx/nginx-dep.yaml @@ -3,11 +3,11 @@ apiVersion: apps/v1 kind: Deployment metadata: - name: test-values-mimir-nginx + name: test-oss-values-mimir-nginx labels: helm.sh/chart: mimir-distributed-2.2.0-weekly.189 app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/component: nginx app.kubernetes.io/version: "2.1.0" app.kubernetes.io/managed-by: Helm @@ -20,21 +20,21 @@ spec: selector: matchLabels: app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/component: nginx template: metadata: annotations: - checksum/config: 5ceafcac915eaf4ea912ec11ae4f1ec2b8d39e7a90c0495c45d94debaaa34fc8 + checksum/config: d7fa3f4c1e841a4634ee7561fa92990e6525d1bfdb176f416744e0b8f72ae99d labels: helm.sh/chart: mimir-distributed-2.2.0-weekly.189 app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/version: "2.1.0" app.kubernetes.io/managed-by: Helm app.kubernetes.io/component: nginx spec: - serviceAccountName: test-values-mimir + serviceAccountName: test-oss-values-mimir securityContext: fsGroup: 101 runAsGroup: 101 @@ -88,7 +88,7 @@ spec: volumes: - name: config configMap: - name: test-values-mimir-nginx + name: test-oss-values-mimir-nginx - name: tmp emptyDir: {} - name: docker-entrypoint-d-override diff --git a/operations/helm/tests/test-values-generated/mimir-distributed/templates/nginx/nginx-svc.yaml b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/nginx/nginx-svc.yaml similarity index 80% rename from operations/helm/tests/test-values-generated/mimir-distributed/templates/nginx/nginx-svc.yaml rename to operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/nginx/nginx-svc.yaml index f44f638afd2..e331454c698 100644 --- a/operations/helm/tests/test-values-generated/mimir-distributed/templates/nginx/nginx-svc.yaml +++ b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/nginx/nginx-svc.yaml @@ -3,11 +3,11 @@ apiVersion: v1 kind: Service metadata: - name: test-values-mimir-nginx + name: test-oss-values-mimir-nginx labels: helm.sh/chart: mimir-distributed-2.2.0-weekly.189 app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/component: nginx app.kubernetes.io/version: "2.1.0" app.kubernetes.io/managed-by: Helm @@ -22,5 +22,5 @@ spec: protocol: TCP selector: app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/component: nginx diff --git a/operations/helm/tests/test-values-generated/mimir-distributed/templates/overrides-exporter/overrides-exporter-dep.yaml b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/overrides-exporter/overrides-exporter-dep.yaml similarity index 85% rename from operations/helm/tests/test-values-generated/mimir-distributed/templates/overrides-exporter/overrides-exporter-dep.yaml rename to operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/overrides-exporter/overrides-exporter-dep.yaml index 496ac8b458d..107d7216c8b 100644 --- a/operations/helm/tests/test-values-generated/mimir-distributed/templates/overrides-exporter/overrides-exporter-dep.yaml +++ b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/overrides-exporter/overrides-exporter-dep.yaml @@ -8,17 +8,17 @@ metadata: labels: helm.sh/chart: mimir-distributed-2.2.0-weekly.189 app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/component: overrides-exporter app.kubernetes.io/version: "2.1.0" app.kubernetes.io/managed-by: Helm - name: test-values-mimir-overrides-exporter + name: test-oss-values-mimir-overrides-exporter spec: replicas: 1 selector: matchLabels: app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/component: overrides-exporter strategy: rollingUpdate: @@ -30,14 +30,14 @@ spec: labels: helm.sh/chart: mimir-distributed-2.2.0-weekly.189 app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/version: "2.1.0" app.kubernetes.io/managed-by: Helm app.kubernetes.io/component: overrides-exporter annotations: - checksum/config: c1cf6dac6755ebbe42de2ac5b0bfb04128c427b548db0d65a67ce5cd4d64326d + checksum/config: 7b9ed84df22bf324205968cf49b0d824eb15e1748888719ffc3bab3f17d5e2e4 spec: - serviceAccountName: test-values-mimir + serviceAccountName: test-oss-values-mimir securityContext: {} initContainers: @@ -93,9 +93,9 @@ spec: volumes: - name: config secret: - secretName: test-values-mimir-config + secretName: test-oss-values-mimir-config - name: runtime-config configMap: - name: test-values-mimir-runtime + name: test-oss-values-mimir-runtime - name: storage emptyDir: {} diff --git a/operations/helm/tests/test-values-generated/mimir-distributed/templates/overrides-exporter/overrides-exporter-svc.yaml b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/overrides-exporter/overrides-exporter-svc.yaml similarity index 82% rename from operations/helm/tests/test-values-generated/mimir-distributed/templates/overrides-exporter/overrides-exporter-svc.yaml rename to operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/overrides-exporter/overrides-exporter-svc.yaml index 4925525056a..0ff1ee8ec9d 100644 --- a/operations/helm/tests/test-values-generated/mimir-distributed/templates/overrides-exporter/overrides-exporter-svc.yaml +++ b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/overrides-exporter/overrides-exporter-svc.yaml @@ -3,11 +3,11 @@ apiVersion: v1 kind: Service metadata: - name: test-values-mimir-overrides-exporter + name: test-oss-values-mimir-overrides-exporter labels: helm.sh/chart: mimir-distributed-2.2.0-weekly.189 app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/component: overrides-exporter app.kubernetes.io/version: "2.1.0" app.kubernetes.io/managed-by: Helm @@ -26,5 +26,5 @@ spec: targetPort: grpc selector: app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/component: overrides-exporter diff --git a/operations/helm/tests/test-values-generated/mimir-distributed/templates/podsecuritypolicy.yaml b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/podsecuritypolicy.yaml similarity index 91% rename from operations/helm/tests/test-values-generated/mimir-distributed/templates/podsecuritypolicy.yaml rename to operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/podsecuritypolicy.yaml index 5a17a107894..395db399470 100644 --- a/operations/helm/tests/test-values-generated/mimir-distributed/templates/podsecuritypolicy.yaml +++ b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/podsecuritypolicy.yaml @@ -3,11 +3,11 @@ apiVersion: policy/v1beta1 kind: PodSecurityPolicy metadata: - name: test-values-mimir + name: test-oss-values-mimir labels: helm.sh/chart: mimir-distributed-2.2.0-weekly.189 app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/version: "2.1.0" app.kubernetes.io/managed-by: Helm spec: diff --git a/operations/helm/tests/test-values-generated/mimir-distributed/templates/querier/querier-dep.yaml b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/querier/querier-dep.yaml similarity index 86% rename from operations/helm/tests/test-values-generated/mimir-distributed/templates/querier/querier-dep.yaml rename to operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/querier/querier-dep.yaml index ca0cd3db3ec..f5cd09319ed 100644 --- a/operations/helm/tests/test-values-generated/mimir-distributed/templates/querier/querier-dep.yaml +++ b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/querier/querier-dep.yaml @@ -3,11 +3,11 @@ apiVersion: apps/v1 kind: Deployment metadata: - name: test-values-mimir-querier + name: test-oss-values-mimir-querier labels: helm.sh/chart: mimir-distributed-2.2.0-weekly.189 app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/component: querier app.kubernetes.io/part-of: memberlist app.kubernetes.io/version: "2.1.0" @@ -19,7 +19,7 @@ spec: selector: matchLabels: app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/component: querier strategy: rollingUpdate: @@ -31,15 +31,15 @@ spec: labels: helm.sh/chart: mimir-distributed-2.2.0-weekly.189 app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/version: "2.1.0" app.kubernetes.io/managed-by: Helm app.kubernetes.io/component: querier app.kubernetes.io/part-of: memberlist annotations: - checksum/config: c1cf6dac6755ebbe42de2ac5b0bfb04128c427b548db0d65a67ce5cd4d64326d + checksum/config: 7b9ed84df22bf324205968cf49b0d824eb15e1748888719ffc3bab3f17d5e2e4 spec: - serviceAccountName: test-values-mimir + serviceAccountName: test-oss-values-mimir securityContext: {} initContainers: @@ -105,9 +105,9 @@ spec: volumes: - name: config secret: - secretName: test-values-mimir-config + secretName: test-oss-values-mimir-config - name: runtime-config configMap: - name: test-values-mimir-runtime + name: test-oss-values-mimir-runtime - name: storage emptyDir: {} diff --git a/operations/helm/tests/test-values-generated/mimir-distributed/templates/querier/querier-svc.yaml b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/querier/querier-svc.yaml similarity index 83% rename from operations/helm/tests/test-values-generated/mimir-distributed/templates/querier/querier-svc.yaml rename to operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/querier/querier-svc.yaml index acbd42374da..c1fcf0582bc 100644 --- a/operations/helm/tests/test-values-generated/mimir-distributed/templates/querier/querier-svc.yaml +++ b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/querier/querier-svc.yaml @@ -3,11 +3,11 @@ apiVersion: v1 kind: Service metadata: - name: test-values-mimir-querier + name: test-oss-values-mimir-querier labels: helm.sh/chart: mimir-distributed-2.2.0-weekly.189 app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/component: querier app.kubernetes.io/part-of: memberlist app.kubernetes.io/version: "2.1.0" @@ -27,5 +27,5 @@ spec: targetPort: grpc selector: app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/component: querier diff --git a/operations/helm/tests/test-values-generated/mimir-distributed/templates/query-frontend/query-frontend-dep.yaml b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/query-frontend/query-frontend-dep.yaml similarity index 86% rename from operations/helm/tests/test-values-generated/mimir-distributed/templates/query-frontend/query-frontend-dep.yaml rename to operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/query-frontend/query-frontend-dep.yaml index f5ef4d13e46..c14cc7b880a 100644 --- a/operations/helm/tests/test-values-generated/mimir-distributed/templates/query-frontend/query-frontend-dep.yaml +++ b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/query-frontend/query-frontend-dep.yaml @@ -3,11 +3,11 @@ apiVersion: apps/v1 kind: Deployment metadata: - name: test-values-mimir-query-frontend + name: test-oss-values-mimir-query-frontend labels: helm.sh/chart: mimir-distributed-2.2.0-weekly.189 app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/component: query-frontend app.kubernetes.io/version: "2.1.0" app.kubernetes.io/managed-by: Helm @@ -18,7 +18,7 @@ spec: selector: matchLabels: app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/component: query-frontend strategy: rollingUpdate: @@ -30,14 +30,14 @@ spec: labels: helm.sh/chart: mimir-distributed-2.2.0-weekly.189 app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/version: "2.1.0" app.kubernetes.io/managed-by: Helm app.kubernetes.io/component: query-frontend annotations: - checksum/config: c1cf6dac6755ebbe42de2ac5b0bfb04128c427b548db0d65a67ce5cd4d64326d + checksum/config: 7b9ed84df22bf324205968cf49b0d824eb15e1748888719ffc3bab3f17d5e2e4 spec: - serviceAccountName: test-values-mimir + serviceAccountName: test-oss-values-mimir securityContext: {} initContainers: @@ -99,9 +99,9 @@ spec: volumes: - name: config secret: - secretName: test-values-mimir-config + secretName: test-oss-values-mimir-config - name: runtime-config configMap: - name: test-values-mimir-runtime + name: test-oss-values-mimir-runtime - name: storage emptyDir: {} diff --git a/operations/helm/tests/test-values-generated/mimir-distributed/templates/query-frontend/query-frontend-svc-headless.yaml b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/query-frontend/query-frontend-svc-headless.yaml similarity index 83% rename from operations/helm/tests/test-values-generated/mimir-distributed/templates/query-frontend/query-frontend-svc-headless.yaml rename to operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/query-frontend/query-frontend-svc-headless.yaml index 26de040dd08..7295c71edcd 100644 --- a/operations/helm/tests/test-values-generated/mimir-distributed/templates/query-frontend/query-frontend-svc-headless.yaml +++ b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/query-frontend/query-frontend-svc-headless.yaml @@ -3,11 +3,11 @@ apiVersion: v1 kind: Service metadata: - name: test-values-mimir-query-frontend-headless + name: test-oss-values-mimir-query-frontend-headless labels: helm.sh/chart: mimir-distributed-2.2.0-weekly.189 app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/component: query-frontend app.kubernetes.io/version: "2.1.0" app.kubernetes.io/managed-by: Helm @@ -29,5 +29,5 @@ spec: targetPort: grpc selector: app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/component: query-frontend diff --git a/operations/helm/tests/test-values-generated/mimir-distributed/templates/query-frontend/query-frontend-svc.yaml b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/query-frontend/query-frontend-svc.yaml similarity index 82% rename from operations/helm/tests/test-values-generated/mimir-distributed/templates/query-frontend/query-frontend-svc.yaml rename to operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/query-frontend/query-frontend-svc.yaml index d78772a6771..f38983aca6f 100644 --- a/operations/helm/tests/test-values-generated/mimir-distributed/templates/query-frontend/query-frontend-svc.yaml +++ b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/query-frontend/query-frontend-svc.yaml @@ -3,11 +3,11 @@ apiVersion: v1 kind: Service metadata: - name: test-values-mimir-query-frontend + name: test-oss-values-mimir-query-frontend labels: helm.sh/chart: mimir-distributed-2.2.0-weekly.189 app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/component: query-frontend app.kubernetes.io/version: "2.1.0" app.kubernetes.io/managed-by: Helm @@ -26,5 +26,5 @@ spec: targetPort: grpc selector: app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/component: query-frontend diff --git a/operations/helm/tests/test-values-generated/mimir-distributed/templates/role.yaml b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/role.yaml similarity index 76% rename from operations/helm/tests/test-values-generated/mimir-distributed/templates/role.yaml rename to operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/role.yaml index ba66215b461..744b7b2a513 100644 --- a/operations/helm/tests/test-values-generated/mimir-distributed/templates/role.yaml +++ b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/role.yaml @@ -3,15 +3,15 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: - name: test-values-mimir + name: test-oss-values-mimir labels: helm.sh/chart: mimir-distributed-2.2.0-weekly.189 app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/version: "2.1.0" app.kubernetes.io/managed-by: Helm rules: - apiGroups: ['extensions'] resources: ['podsecuritypolicies'] verbs: ['use'] - resourceNames: [test-values-mimir] + resourceNames: [test-oss-values-mimir] diff --git a/operations/helm/tests/test-values-generated/mimir-distributed/templates/rolebinding.yaml b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/rolebinding.yaml similarity index 74% rename from operations/helm/tests/test-values-generated/mimir-distributed/templates/rolebinding.yaml rename to operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/rolebinding.yaml index 0a95e4770a5..a2310f0d972 100644 --- a/operations/helm/tests/test-values-generated/mimir-distributed/templates/rolebinding.yaml +++ b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/rolebinding.yaml @@ -3,17 +3,17 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: - name: test-values-mimir + name: test-oss-values-mimir labels: helm.sh/chart: mimir-distributed-2.2.0-weekly.189 app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/version: "2.1.0" app.kubernetes.io/managed-by: Helm roleRef: apiGroup: rbac.authorization.k8s.io kind: Role - name: test-values-mimir + name: test-oss-values-mimir subjects: - kind: ServiceAccount - name: test-values-mimir + name: test-oss-values-mimir diff --git a/operations/helm/tests/test-values-generated/mimir-distributed/templates/ruler/ruler-dep.yaml b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/ruler/ruler-dep.yaml similarity index 85% rename from operations/helm/tests/test-values-generated/mimir-distributed/templates/ruler/ruler-dep.yaml rename to operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/ruler/ruler-dep.yaml index 65052f202f8..f7ceb3b0491 100644 --- a/operations/helm/tests/test-values-generated/mimir-distributed/templates/ruler/ruler-dep.yaml +++ b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/ruler/ruler-dep.yaml @@ -3,11 +3,11 @@ apiVersion: apps/v1 kind: Deployment metadata: - name: test-values-mimir-ruler + name: test-oss-values-mimir-ruler labels: helm.sh/chart: mimir-distributed-2.2.0-weekly.189 app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/component: ruler app.kubernetes.io/part-of: memberlist app.kubernetes.io/version: "2.1.0" @@ -19,7 +19,7 @@ spec: selector: matchLabels: app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/component: ruler strategy: rollingUpdate: @@ -31,15 +31,15 @@ spec: labels: helm.sh/chart: mimir-distributed-2.2.0-weekly.189 app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/version: "2.1.0" app.kubernetes.io/managed-by: Helm app.kubernetes.io/component: ruler app.kubernetes.io/part-of: memberlist annotations: - checksum/config: c1cf6dac6755ebbe42de2ac5b0bfb04128c427b548db0d65a67ce5cd4d64326d + checksum/config: 7b9ed84df22bf324205968cf49b0d824eb15e1748888719ffc3bab3f17d5e2e4 spec: - serviceAccountName: test-values-mimir + serviceAccountName: test-oss-values-mimir securityContext: {} initContainers: @@ -95,9 +95,9 @@ spec: volumes: - name: config secret: - secretName: test-values-mimir-config + secretName: test-oss-values-mimir-config - name: runtime-config configMap: - name: test-values-mimir-runtime + name: test-oss-values-mimir-runtime - name: storage emptyDir: {} diff --git a/operations/helm/tests/test-values-generated/mimir-distributed/templates/ruler/ruler-svc.yaml b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/ruler/ruler-svc.yaml similarity index 81% rename from operations/helm/tests/test-values-generated/mimir-distributed/templates/ruler/ruler-svc.yaml rename to operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/ruler/ruler-svc.yaml index 46fe9dfe69e..ce75a9acecc 100644 --- a/operations/helm/tests/test-values-generated/mimir-distributed/templates/ruler/ruler-svc.yaml +++ b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/ruler/ruler-svc.yaml @@ -3,11 +3,11 @@ apiVersion: v1 kind: Service metadata: - name: test-values-mimir-ruler + name: test-oss-values-mimir-ruler labels: helm.sh/chart: mimir-distributed-2.2.0-weekly.189 app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/component: ruler app.kubernetes.io/part-of: memberlist app.kubernetes.io/version: "2.1.0" @@ -23,5 +23,5 @@ spec: targetPort: http-metrics selector: app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/component: ruler diff --git a/operations/helm/tests/test-values-generated/mimir-distributed/templates/runtime-configmap.yaml b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/runtime-configmap.yaml similarity index 78% rename from operations/helm/tests/test-values-generated/mimir-distributed/templates/runtime-configmap.yaml rename to operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/runtime-configmap.yaml index 09b13c011af..7c5ea9aa679 100644 --- a/operations/helm/tests/test-values-generated/mimir-distributed/templates/runtime-configmap.yaml +++ b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/runtime-configmap.yaml @@ -3,11 +3,11 @@ apiVersion: v1 kind: ConfigMap metadata: - name: test-values-mimir-runtime + name: test-oss-values-mimir-runtime labels: helm.sh/chart: mimir-distributed-2.2.0-weekly.189 app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/version: "2.1.0" app.kubernetes.io/managed-by: Helm data: diff --git a/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/secret.yaml b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/secret.yaml new file mode 100644 index 00000000000..31de04f6fc8 --- /dev/null +++ b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/secret.yaml @@ -0,0 +1,14 @@ +--- +# Source: mimir-distributed/templates/secret.yaml +apiVersion: v1 +kind: Secret +metadata: + name: test-oss-values-mimir-config + labels: + helm.sh/chart: mimir-distributed-2.2.0-weekly.189 + app.kubernetes.io/name: mimir + app.kubernetes.io/instance: test-oss-values + app.kubernetes.io/version: "2.1.0" + app.kubernetes.io/managed-by: Helm +data: + mimir.yaml: bXVsdGl0ZW5hbmN5X2VuYWJsZWQ6IGZhbHNlCgpsaW1pdHM6IHt9CgphY3Rpdml0eV90cmFja2VyOgogIGZpbGVwYXRoOiAvZGF0YS9tZXRyaWNzLWFjdGl2aXR5LmxvZwoKYWxlcnRtYW5hZ2VyOgogIGRhdGFfZGlyOiAnL2RhdGEnCiAgZW5hYmxlX2FwaTogdHJ1ZQogIGV4dGVybmFsX3VybDogJy9hbGVydG1hbmFnZXInCmFsZXJ0bWFuYWdlcl9zdG9yYWdlOgogIGJhY2tlbmQ6IHMzCiAgczM6CiAgICBlbmRwb2ludDogdGVzdC1vc3MtdmFsdWVzLW1pbmlvLmRlZmF1bHQuc3ZjOjkwMDAKICAgIGJ1Y2tldF9uYW1lOiBtaW1pci1ydWxlcgogICAgYWNjZXNzX2tleV9pZDogZ3JhZmFuYS1taW1pcgogICAgc2VjcmV0X2FjY2Vzc19rZXk6IHN1cGVyc2VjcmV0CiAgICBpbnNlY3VyZTogdHJ1ZQoKZnJvbnRlbmRfd29ya2VyOgogIGZyb250ZW5kX2FkZHJlc3M6IHRlc3Qtb3NzLXZhbHVlcy1taW1pci1xdWVyeS1mcm9udGVuZC1oZWFkbGVzcy5kZWZhdWx0LnN2Yzo5MDk1CgpydWxlcjoKICBlbmFibGVfYXBpOiB0cnVlCiAgcnVsZV9wYXRoOiAnL2RhdGEnCiAgYWxlcnRtYW5hZ2VyX3VybDogZG5zc3J2bm9hK2h0dHA6Ly9faHR0cC1tZXRyaWNzLl90Y3AudGVzdC1vc3MtdmFsdWVzLW1pbWlyLWFsZXJ0bWFuYWdlci1oZWFkbGVzcy5kZWZhdWx0LnN2Yy5jbHVzdGVyLmxvY2FsL2FsZXJ0bWFuYWdlcgoKc2VydmVyOgogIGdycGNfc2VydmVyX21heF9yZWN2X21zZ19zaXplOiAxMDQ4NTc2MDAKICBncnBjX3NlcnZlcl9tYXhfc2VuZF9tc2dfc2l6ZTogMTA0ODU3NjAwCiAgZ3JwY19zZXJ2ZXJfbWF4X2NvbmN1cnJlbnRfc3RyZWFtczogMTAwMAoKZnJvbnRlbmQ6CiAgbG9nX3F1ZXJpZXNfbG9uZ2VyX3RoYW46IDEwcwogIGFsaWduX3F1ZXJpZXNfd2l0aF9zdGVwOiB0cnVlCgpjb21wYWN0b3I6CiAgZGF0YV9kaXI6ICIvZGF0YSIKCmluZ2VzdGVyOgogIHJpbmc6CiAgICBmaW5hbF9zbGVlcDogMHMKICAgIG51bV90b2tlbnM6IDUxMgogICAgdW5yZWdpc3Rlcl9vbl9zaHV0ZG93bjogZmFsc2UKCmluZ2VzdGVyX2NsaWVudDoKICBncnBjX2NsaWVudF9jb25maWc6CiAgICBtYXhfcmVjdl9tc2dfc2l6ZTogMTA0ODU3NjAwCiAgICBtYXhfc2VuZF9tc2dfc2l6ZTogMTA0ODU3NjAwCgpydW50aW1lX2NvbmZpZzoKICBmaWxlOiAvdmFyL21pbWlyL3J1bnRpbWUueWFtbAoKbWVtYmVybGlzdDoKICBhYm9ydF9pZl9jbHVzdGVyX2pvaW5fZmFpbHM6IGZhbHNlCiAgY29tcHJlc3Npb25fZW5hYmxlZDogZmFsc2UKICBqb2luX21lbWJlcnM6CiAgLSB0ZXN0LW9zcy12YWx1ZXMtbWltaXItZ29zc2lwLXJpbmcKCiMgVGhpcyBjb25maWd1cmVzIGhvdyB0aGUgc3RvcmUtZ2F0ZXdheSBzeW5jaHJvbml6ZXMgYmxvY2tzIHN0b3JlZCBpbiB0aGUgYnVja2V0LiBJdCB1c2VzIE1pbmlvIGJ5IGRlZmF1bHQgZm9yIGdldHRpbmcgc3RhcnRlZCAoY29uZmlndXJlZCB2aWEgZmxhZ3MpIGJ1dCB0aGlzIHNob3VsZCBiZSBjaGFuZ2VkIGZvciBwcm9kdWN0aW9uIGRlcGxveW1lbnRzLgpibG9ja3Nfc3RvcmFnZToKICBiYWNrZW5kOiBzMwogIHRzZGI6CiAgICBkaXI6IC9kYXRhL3RzZGIKICBidWNrZXRfc3RvcmU6CiAgICBzeW5jX2RpcjogL2RhdGEvdHNkYi1zeW5jCiAgczM6CiAgICBlbmRwb2ludDogdGVzdC1vc3MtdmFsdWVzLW1pbmlvLmRlZmF1bHQuc3ZjOjkwMDAKICAgIGJ1Y2tldF9uYW1lOiBtaW1pci10c2RiCiAgICBhY2Nlc3Nfa2V5X2lkOiBncmFmYW5hLW1pbWlyCiAgICBzZWNyZXRfYWNjZXNzX2tleTogc3VwZXJzZWNyZXQKICAgIGluc2VjdXJlOiB0cnVlCnJ1bGVyX3N0b3JhZ2U6CiAgYmFja2VuZDogczMKICBzMzoKICAgIGVuZHBvaW50OiB0ZXN0LW9zcy12YWx1ZXMtbWluaW8uZGVmYXVsdC5zdmM6OTAwMAogICAgYnVja2V0X25hbWU6IG1pbWlyLXJ1bGVyCiAgICBhY2Nlc3Nfa2V5X2lkOiBncmFmYW5hLW1pbWlyCiAgICBzZWNyZXRfYWNjZXNzX2tleTogc3VwZXJzZWNyZXQKICAgIGluc2VjdXJlOiB0cnVlCg== diff --git a/operations/helm/tests/test-values-generated/mimir-distributed/templates/serviceaccount.yaml b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/serviceaccount.yaml similarity index 79% rename from operations/helm/tests/test-values-generated/mimir-distributed/templates/serviceaccount.yaml rename to operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/serviceaccount.yaml index af9c1c081df..c5f94d48a9c 100644 --- a/operations/helm/tests/test-values-generated/mimir-distributed/templates/serviceaccount.yaml +++ b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/serviceaccount.yaml @@ -3,11 +3,11 @@ apiVersion: v1 kind: ServiceAccount metadata: - name: test-values-mimir + name: test-oss-values-mimir labels: helm.sh/chart: mimir-distributed-2.2.0-weekly.189 app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/version: "2.1.0" app.kubernetes.io/managed-by: Helm annotations: diff --git a/operations/helm/tests/test-values-generated/mimir-distributed/templates/store-gateway/store-gateway-pdb.yaml b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/store-gateway/store-gateway-pdb.yaml similarity index 79% rename from operations/helm/tests/test-values-generated/mimir-distributed/templates/store-gateway/store-gateway-pdb.yaml rename to operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/store-gateway/store-gateway-pdb.yaml index b9691b83a15..4d990a193d4 100644 --- a/operations/helm/tests/test-values-generated/mimir-distributed/templates/store-gateway/store-gateway-pdb.yaml +++ b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/store-gateway/store-gateway-pdb.yaml @@ -3,11 +3,11 @@ apiVersion: policy/v1beta1 kind: PodDisruptionBudget metadata: - name: test-values-mimir-store-gateway + name: test-oss-values-mimir-store-gateway labels: helm.sh/chart: mimir-distributed-2.2.0-weekly.189 app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/component: store-gateway app.kubernetes.io/part-of: memberlist app.kubernetes.io/version: "2.1.0" @@ -16,6 +16,6 @@ spec: selector: matchLabels: app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/component: store-gateway maxUnavailable: 1 diff --git a/operations/helm/tests/test-values-generated/mimir-distributed/templates/store-gateway/store-gateway-statefulset.yaml b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/store-gateway/store-gateway-statefulset.yaml similarity index 84% rename from operations/helm/tests/test-values-generated/mimir-distributed/templates/store-gateway/store-gateway-statefulset.yaml rename to operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/store-gateway/store-gateway-statefulset.yaml index cb0e15f6442..9f9eca6fde0 100644 --- a/operations/helm/tests/test-values-generated/mimir-distributed/templates/store-gateway/store-gateway-statefulset.yaml +++ b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/store-gateway/store-gateway-statefulset.yaml @@ -3,11 +3,11 @@ apiVersion: apps/v1 kind: StatefulSet metadata: - name: test-values-mimir-store-gateway + name: test-oss-values-mimir-store-gateway labels: helm.sh/chart: mimir-distributed-2.2.0-weekly.189 app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/component: store-gateway app.kubernetes.io/part-of: memberlist app.kubernetes.io/version: "2.1.0" @@ -19,25 +19,25 @@ spec: selector: matchLabels: app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/component: store-gateway updateStrategy: type: RollingUpdate - serviceName: test-values-mimir-store-gateway-headless + serviceName: test-oss-values-mimir-store-gateway-headless template: metadata: labels: helm.sh/chart: mimir-distributed-2.2.0-weekly.189 app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/version: "2.1.0" app.kubernetes.io/managed-by: Helm app.kubernetes.io/component: store-gateway app.kubernetes.io/part-of: memberlist annotations: - checksum/config: c1cf6dac6755ebbe42de2ac5b0bfb04128c427b548db0d65a67ce5cd4d64326d + checksum/config: 7b9ed84df22bf324205968cf49b0d824eb15e1748888719ffc3bab3f17d5e2e4 spec: - serviceAccountName: test-values-mimir + serviceAccountName: test-oss-values-mimir securityContext: {} initContainers: @@ -60,10 +60,10 @@ spec: volumes: - name: config secret: - secretName: test-values-mimir-config + secretName: test-oss-values-mimir-config - name: runtime-config configMap: - name: test-values-mimir-runtime + name: test-oss-values-mimir-runtime - name: storage emptyDir: {} containers: diff --git a/operations/helm/tests/test-values-generated/mimir-distributed/templates/store-gateway/store-gateway-svc-headless.yaml b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/store-gateway/store-gateway-svc-headless.yaml similarity index 81% rename from operations/helm/tests/test-values-generated/mimir-distributed/templates/store-gateway/store-gateway-svc-headless.yaml rename to operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/store-gateway/store-gateway-svc-headless.yaml index 8f0e4003df9..07f36435a33 100644 --- a/operations/helm/tests/test-values-generated/mimir-distributed/templates/store-gateway/store-gateway-svc-headless.yaml +++ b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/store-gateway/store-gateway-svc-headless.yaml @@ -3,11 +3,11 @@ apiVersion: v1 kind: Service metadata: - name: test-values-mimir-store-gateway-headless + name: test-oss-values-mimir-store-gateway-headless labels: helm.sh/chart: mimir-distributed-2.2.0-weekly.189 app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/component: store-gateway app.kubernetes.io/part-of: memberlist app.kubernetes.io/version: "2.1.0" @@ -25,5 +25,5 @@ spec: targetPort: grpc selector: app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/component: store-gateway diff --git a/operations/helm/tests/test-values-generated/mimir-distributed/templates/store-gateway/store-gateway-svc.yaml b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/store-gateway/store-gateway-svc.yaml similarity index 83% rename from operations/helm/tests/test-values-generated/mimir-distributed/templates/store-gateway/store-gateway-svc.yaml rename to operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/store-gateway/store-gateway-svc.yaml index a62489267b2..288c52639da 100644 --- a/operations/helm/tests/test-values-generated/mimir-distributed/templates/store-gateway/store-gateway-svc.yaml +++ b/operations/helm/tests/test-oss-values-generated/mimir-distributed/templates/store-gateway/store-gateway-svc.yaml @@ -3,11 +3,11 @@ apiVersion: v1 kind: Service metadata: - name: test-values-mimir-store-gateway + name: test-oss-values-mimir-store-gateway labels: helm.sh/chart: mimir-distributed-2.2.0-weekly.189 app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/component: store-gateway app.kubernetes.io/part-of: memberlist app.kubernetes.io/version: "2.1.0" @@ -27,5 +27,5 @@ spec: targetPort: grpc selector: app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values + app.kubernetes.io/instance: test-oss-values app.kubernetes.io/component: store-gateway diff --git a/operations/helm/tests/test-values-generated/mimir-distributed/templates/secret.yaml b/operations/helm/tests/test-values-generated/mimir-distributed/templates/secret.yaml deleted file mode 100644 index 278a5b56cc4..00000000000 --- a/operations/helm/tests/test-values-generated/mimir-distributed/templates/secret.yaml +++ /dev/null @@ -1,14 +0,0 @@ ---- -# Source: mimir-distributed/templates/secret.yaml -apiVersion: v1 -kind: Secret -metadata: - name: test-values-mimir-config - labels: - helm.sh/chart: mimir-distributed-2.2.0-weekly.189 - app.kubernetes.io/name: mimir - app.kubernetes.io/instance: test-values - app.kubernetes.io/version: "2.1.0" - app.kubernetes.io/managed-by: Helm -data: - mimir.yaml: bXVsdGl0ZW5hbmN5X2VuYWJsZWQ6IGZhbHNlCgpsaW1pdHM6IHt9CgphY3Rpdml0eV90cmFja2VyOgogIGZpbGVwYXRoOiAvZGF0YS9tZXRyaWNzLWFjdGl2aXR5LmxvZwoKYWxlcnRtYW5hZ2VyOgogIGRhdGFfZGlyOiAnL2RhdGEnCiAgZW5hYmxlX2FwaTogdHJ1ZQogIGV4dGVybmFsX3VybDogJy9hbGVydG1hbmFnZXInCmFsZXJ0bWFuYWdlcl9zdG9yYWdlOgogIGJhY2tlbmQ6IHMzCiAgczM6CiAgICBlbmRwb2ludDogdGVzdC12YWx1ZXMtbWluaW8uZGVmYXVsdC5zdmM6OTAwMAogICAgYnVja2V0X25hbWU6IG1pbWlyLXJ1bGVyCiAgICBhY2Nlc3Nfa2V5X2lkOiBncmFmYW5hLW1pbWlyCiAgICBzZWNyZXRfYWNjZXNzX2tleTogc3VwZXJzZWNyZXQKICAgIGluc2VjdXJlOiB0cnVlCgpmcm9udGVuZF93b3JrZXI6CiAgZnJvbnRlbmRfYWRkcmVzczogdGVzdC12YWx1ZXMtbWltaXItcXVlcnktZnJvbnRlbmQtaGVhZGxlc3MuZGVmYXVsdC5zdmM6OTA5NQoKcnVsZXI6CiAgZW5hYmxlX2FwaTogdHJ1ZQogIHJ1bGVfcGF0aDogJy9kYXRhJwogIGFsZXJ0bWFuYWdlcl91cmw6IGRuc3Nydm5vYStodHRwOi8vX2h0dHAtbWV0cmljcy5fdGNwLnRlc3QtdmFsdWVzLW1pbWlyLWFsZXJ0bWFuYWdlci1oZWFkbGVzcy5kZWZhdWx0LnN2Yy5jbHVzdGVyLmxvY2FsL2FsZXJ0bWFuYWdlcgoKc2VydmVyOgogIGdycGNfc2VydmVyX21heF9yZWN2X21zZ19zaXplOiAxMDQ4NTc2MDAKICBncnBjX3NlcnZlcl9tYXhfc2VuZF9tc2dfc2l6ZTogMTA0ODU3NjAwCiAgZ3JwY19zZXJ2ZXJfbWF4X2NvbmN1cnJlbnRfc3RyZWFtczogMTAwMAoKZnJvbnRlbmQ6CiAgbG9nX3F1ZXJpZXNfbG9uZ2VyX3RoYW46IDEwcwogIGFsaWduX3F1ZXJpZXNfd2l0aF9zdGVwOiB0cnVlCgpjb21wYWN0b3I6CiAgZGF0YV9kaXI6ICIvZGF0YSIKCmluZ2VzdGVyOgogIHJpbmc6CiAgICBmaW5hbF9zbGVlcDogMHMKICAgIG51bV90b2tlbnM6IDUxMgogICAgdW5yZWdpc3Rlcl9vbl9zaHV0ZG93bjogZmFsc2UKCmluZ2VzdGVyX2NsaWVudDoKICBncnBjX2NsaWVudF9jb25maWc6CiAgICBtYXhfcmVjdl9tc2dfc2l6ZTogMTA0ODU3NjAwCiAgICBtYXhfc2VuZF9tc2dfc2l6ZTogMTA0ODU3NjAwCgpydW50aW1lX2NvbmZpZzoKICBmaWxlOiAvdmFyL21pbWlyL3J1bnRpbWUueWFtbAoKbWVtYmVybGlzdDoKICBhYm9ydF9pZl9jbHVzdGVyX2pvaW5fZmFpbHM6IGZhbHNlCiAgY29tcHJlc3Npb25fZW5hYmxlZDogZmFsc2UKICBqb2luX21lbWJlcnM6CiAgLSB0ZXN0LXZhbHVlcy1taW1pci1nb3NzaXAtcmluZwoKIyBUaGlzIGNvbmZpZ3VyZXMgaG93IHRoZSBzdG9yZS1nYXRld2F5IHN5bmNocm9uaXplcyBibG9ja3Mgc3RvcmVkIGluIHRoZSBidWNrZXQuIEl0IHVzZXMgTWluaW8gYnkgZGVmYXVsdCBmb3IgZ2V0dGluZyBzdGFydGVkIChjb25maWd1cmVkIHZpYSBmbGFncykgYnV0IHRoaXMgc2hvdWxkIGJlIGNoYW5nZWQgZm9yIHByb2R1Y3Rpb24gZGVwbG95bWVudHMuCmJsb2Nrc19zdG9yYWdlOgogIGJhY2tlbmQ6IHMzCiAgdHNkYjoKICAgIGRpcjogL2RhdGEvdHNkYgogIGJ1Y2tldF9zdG9yZToKICAgIHN5bmNfZGlyOiAvZGF0YS90c2RiLXN5bmMKICBzMzoKICAgIGVuZHBvaW50OiB0ZXN0LXZhbHVlcy1taW5pby5kZWZhdWx0LnN2Yzo5MDAwCiAgICBidWNrZXRfbmFtZTogbWltaXItdHNkYgogICAgYWNjZXNzX2tleV9pZDogZ3JhZmFuYS1taW1pcgogICAgc2VjcmV0X2FjY2Vzc19rZXk6IHN1cGVyc2VjcmV0CiAgICBpbnNlY3VyZTogdHJ1ZQpydWxlcl9zdG9yYWdlOgogIGJhY2tlbmQ6IHMzCiAgczM6CiAgICBlbmRwb2ludDogdGVzdC12YWx1ZXMtbWluaW8uZGVmYXVsdC5zdmM6OTAwMAogICAgYnVja2V0X25hbWU6IG1pbWlyLXJ1bGVyCiAgICBhY2Nlc3Nfa2V5X2lkOiBncmFmYW5hLW1pbWlyCiAgICBzZWNyZXRfYWNjZXNzX2tleTogc3VwZXJzZWNyZXQKICAgIGluc2VjdXJlOiB0cnVlCg==