Skip to content
Snippets Groups Projects
Verified Commit 36bb14e1 authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

fix(mastodon): fix unit tests to allow release of the chart

parent c6d8d458
Branches
Tags
No related merge requests found
Pipeline #18771 failed
...@@ -121,7 +121,7 @@ tests: ...@@ -121,7 +121,7 @@ tests:
- contains: - contains:
path: spec.template.spec.containers[0].env path: spec.template.spec.containers[0].env
content: content:
name: POSTGRES_DB name: POSTGRES_DATABASE
value: "mastodon_production" value: "mastodon_production"
template: charts/postgresql/templates/primary/statefulset.yaml template: charts/postgresql/templates/primary/statefulset.yaml
- it: should allow to change the database name - it: should allow to change the database name
...@@ -137,6 +137,6 @@ tests: ...@@ -137,6 +137,6 @@ tests:
- contains: - contains:
path: spec.template.spec.containers[0].env path: spec.template.spec.containers[0].env
content: content:
name: POSTGRES_DB name: POSTGRES_DATABASE
value: "test" value: "test"
template: charts/postgresql/templates/primary/statefulset.yaml template: charts/postgresql/templates/primary/statefulset.yaml
\ No newline at end of file
...@@ -8,9 +8,6 @@ allows to modify the temporaryVolumeTemplate correctly: ...@@ -8,9 +8,6 @@ allows to modify the temporaryVolumeTemplate correctly:
DB_PORT: "5432" DB_PORT: "5432"
DB_USER: mastodon DB_USER: mastodon
DEFAULT_LOCALE: en DEFAULT_LOCALE: en
ES_ENABLED: "true"
ES_HOST: RELEASE-NAME-elasticsearch-master-hl
ES_PORT: "9200"
LOCAL_DOMAIN: mastodon.local LOCAL_DOMAIN: mastodon.local
MALLOC_ARENA_MAX: "2" MALLOC_ARENA_MAX: "2"
NODE_ENV: production NODE_ENV: production
...@@ -62,7 +59,7 @@ allows to modify the temporaryVolumeTemplate correctly: ...@@ -62,7 +59,7 @@ allows to modify the temporaryVolumeTemplate correctly:
template: template:
metadata: metadata:
annotations: annotations:
checksum/config-configmap: 6171320454845e8c5c867b5db63251ff95089e25c0200ca8f72d6bb9f6535726 checksum/config-configmap: e95945d1de1fe21a68c3dc644c6b93291e3343e19569236e8d7df3e7462b788a
checksum/config-secrets: c0d40e352ffcd2127af550b605bb0464640cd2960d007d940960d3d69d3c6aa4 checksum/config-secrets: c0d40e352ffcd2127af550b605bb0464640cd2960d007d940960d3d69d3c6aa4
labels: labels:
app.kubernetes.io/component: sidekiq-scheduler app.kubernetes.io/component: sidekiq-scheduler
...@@ -160,7 +157,7 @@ allows to modify the temporaryVolumeTemplate correctly: ...@@ -160,7 +157,7 @@ allows to modify the temporaryVolumeTemplate correctly:
template: template:
metadata: metadata:
annotations: annotations:
checksum/config-configmap: 6171320454845e8c5c867b5db63251ff95089e25c0200ca8f72d6bb9f6535726 checksum/config-configmap: e95945d1de1fe21a68c3dc644c6b93291e3343e19569236e8d7df3e7462b788a
checksum/config-secrets: c0d40e352ffcd2127af550b605bb0464640cd2960d007d940960d3d69d3c6aa4 checksum/config-secrets: c0d40e352ffcd2127af550b605bb0464640cd2960d007d940960d3d69d3c6aa4
labels: labels:
app.kubernetes.io/component: sidekiq-default app.kubernetes.io/component: sidekiq-default
...@@ -303,9 +300,6 @@ renders temporaryVolumeTemplate correctly: ...@@ -303,9 +300,6 @@ renders temporaryVolumeTemplate correctly:
DB_PORT: "5432" DB_PORT: "5432"
DB_USER: mastodon DB_USER: mastodon
DEFAULT_LOCALE: en DEFAULT_LOCALE: en
ES_ENABLED: "true"
ES_HOST: RELEASE-NAME-elasticsearch-master-hl
ES_PORT: "9200"
LOCAL_DOMAIN: mastodon.local LOCAL_DOMAIN: mastodon.local
MALLOC_ARENA_MAX: "2" MALLOC_ARENA_MAX: "2"
NODE_ENV: production NODE_ENV: production
...@@ -362,7 +356,7 @@ renders temporaryVolumeTemplate correctly: ...@@ -362,7 +356,7 @@ renders temporaryVolumeTemplate correctly:
template: template:
metadata: metadata:
annotations: annotations:
checksum/config-configmap: b4ff25ac749821c69f078e62cf9ef4b11a561dfe000643b674f0cd4452c29379 checksum/config-configmap: e57a3719e3b525e43246b678c8be2067a38efc95b4f24b59725f193ec7674dc5
checksum/config-secrets: 90ba38117b49c3fae15b0af40de2acce58cfa37f2e6e5d981b39815786ab41d3 checksum/config-secrets: 90ba38117b49c3fae15b0af40de2acce58cfa37f2e6e5d981b39815786ab41d3
labels: labels:
app.kubernetes.io/component: sidekiq-scheduler app.kubernetes.io/component: sidekiq-scheduler
...@@ -444,7 +438,7 @@ renders temporaryVolumeTemplate correctly: ...@@ -444,7 +438,7 @@ renders temporaryVolumeTemplate correctly:
template: template:
metadata: metadata:
annotations: annotations:
checksum/config-configmap: b4ff25ac749821c69f078e62cf9ef4b11a561dfe000643b674f0cd4452c29379 checksum/config-configmap: e57a3719e3b525e43246b678c8be2067a38efc95b4f24b59725f193ec7674dc5
checksum/config-secrets: 90ba38117b49c3fae15b0af40de2acce58cfa37f2e6e5d981b39815786ab41d3 checksum/config-secrets: 90ba38117b49c3fae15b0af40de2acce58cfa37f2e6e5d981b39815786ab41d3
labels: labels:
app.kubernetes.io/component: sidekiq-default app.kubernetes.io/component: sidekiq-default
...@@ -573,9 +567,6 @@ should match basic snapshot: ...@@ -573,9 +567,6 @@ should match basic snapshot:
DB_PORT: "5432" DB_PORT: "5432"
DB_USER: mastodon DB_USER: mastodon
DEFAULT_LOCALE: en DEFAULT_LOCALE: en
ES_ENABLED: "true"
ES_HOST: RELEASE-NAME-elasticsearch-master-hl
ES_PORT: "9200"
LOCAL_DOMAIN: mastodon.local LOCAL_DOMAIN: mastodon.local
MALLOC_ARENA_MAX: "2" MALLOC_ARENA_MAX: "2"
NODE_ENV: production NODE_ENV: production
...@@ -622,12 +613,10 @@ should match basic snapshot: ...@@ -622,12 +613,10 @@ should match basic snapshot:
app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/name: mastodon app.kubernetes.io/name: mastodon
app.kubernetes.io/part-of: rails app.kubernetes.io/part-of: rails
strategy:
type: Recreate
template: template:
metadata: metadata:
annotations: annotations:
checksum/config-configmap: 6171320454845e8c5c867b5db63251ff95089e25c0200ca8f72d6bb9f6535726 checksum/config-configmap: e95945d1de1fe21a68c3dc644c6b93291e3343e19569236e8d7df3e7462b788a
checksum/config-secrets: c0d40e352ffcd2127af550b605bb0464640cd2960d007d940960d3d69d3c6aa4 checksum/config-secrets: c0d40e352ffcd2127af550b605bb0464640cd2960d007d940960d3d69d3c6aa4
labels: labels:
app.kubernetes.io/component: sidekiq-all-queues app.kubernetes.io/component: sidekiq-all-queues
...@@ -651,9 +640,9 @@ should match basic snapshot: ...@@ -651,9 +640,9 @@ should match basic snapshot:
- -q - -q
- mailers,2 - mailers,2
- -q - -q
- pull - pull,1
- -q - -q
- scheduler - scheduler,1
env: env:
- name: DB_PASS - name: DB_PASS
valueFrom: valueFrom:
......
...@@ -8,9 +8,6 @@ should allow manipulating the temporaryVolumeTemplate: ...@@ -8,9 +8,6 @@ should allow manipulating the temporaryVolumeTemplate:
DB_PORT: "5432" DB_PORT: "5432"
DB_USER: mastodon DB_USER: mastodon
DEFAULT_LOCALE: en DEFAULT_LOCALE: en
ES_ENABLED: "true"
ES_HOST: RELEASE-NAME-elasticsearch-master-hl
ES_PORT: "9200"
LOCAL_DOMAIN: mastodon.local LOCAL_DOMAIN: mastodon.local
MALLOC_ARENA_MAX: "2" MALLOC_ARENA_MAX: "2"
NODE_ENV: production NODE_ENV: production
...@@ -58,7 +55,7 @@ should allow manipulating the temporaryVolumeTemplate: ...@@ -58,7 +55,7 @@ should allow manipulating the temporaryVolumeTemplate:
template: template:
metadata: metadata:
annotations: annotations:
checksum/config-configmap: 6171320454845e8c5c867b5db63251ff95089e25c0200ca8f72d6bb9f6535726 checksum/config-configmap: e95945d1de1fe21a68c3dc644c6b93291e3343e19569236e8d7df3e7462b788a
checksum/config-secrets: c0d40e352ffcd2127af550b605bb0464640cd2960d007d940960d3d69d3c6aa4 checksum/config-secrets: c0d40e352ffcd2127af550b605bb0464640cd2960d007d940960d3d69d3c6aa4
labels: labels:
app.kubernetes.io/component: web app.kubernetes.io/component: web
...@@ -252,9 +249,6 @@ should match basic snapshot: ...@@ -252,9 +249,6 @@ should match basic snapshot:
DB_PORT: "5432" DB_PORT: "5432"
DB_USER: mastodon DB_USER: mastodon
DEFAULT_LOCALE: en DEFAULT_LOCALE: en
ES_ENABLED: "true"
ES_HOST: RELEASE-NAME-elasticsearch-master-hl
ES_PORT: "9200"
LOCAL_DOMAIN: mastodon.local LOCAL_DOMAIN: mastodon.local
MALLOC_ARENA_MAX: "2" MALLOC_ARENA_MAX: "2"
NODE_ENV: production NODE_ENV: production
...@@ -302,7 +296,7 @@ should match basic snapshot: ...@@ -302,7 +296,7 @@ should match basic snapshot:
template: template:
metadata: metadata:
annotations: annotations:
checksum/config-configmap: 6171320454845e8c5c867b5db63251ff95089e25c0200ca8f72d6bb9f6535726 checksum/config-configmap: e95945d1de1fe21a68c3dc644c6b93291e3343e19569236e8d7df3e7462b788a
checksum/config-secrets: c0d40e352ffcd2127af550b605bb0464640cd2960d007d940960d3d69d3c6aa4 checksum/config-secrets: c0d40e352ffcd2127af550b605bb0464640cd2960d007d940960d3d69d3c6aa4
labels: labels:
app.kubernetes.io/component: web app.kubernetes.io/component: web
......
...@@ -20,12 +20,10 @@ should allow disabling redis auth: ...@@ -20,12 +20,10 @@ should allow disabling redis auth:
app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/name: mastodon app.kubernetes.io/name: mastodon
app.kubernetes.io/part-of: rails app.kubernetes.io/part-of: rails
strategy:
type: Recreate
template: template:
metadata: metadata:
annotations: annotations:
checksum/config-configmap: 6171320454845e8c5c867b5db63251ff95089e25c0200ca8f72d6bb9f6535726 checksum/config-configmap: e95945d1de1fe21a68c3dc644c6b93291e3343e19569236e8d7df3e7462b788a
checksum/config-secrets: c0d40e352ffcd2127af550b605bb0464640cd2960d007d940960d3d69d3c6aa4 checksum/config-secrets: c0d40e352ffcd2127af550b605bb0464640cd2960d007d940960d3d69d3c6aa4
labels: labels:
app.kubernetes.io/component: sidekiq-all-queues app.kubernetes.io/component: sidekiq-all-queues
...@@ -49,9 +47,9 @@ should allow disabling redis auth: ...@@ -49,9 +47,9 @@ should allow disabling redis auth:
- -q - -q
- mailers,2 - mailers,2
- -q - -q
- pull - pull,1
- -q - -q
- scheduler - scheduler,1
env: env:
- name: DB_PASS - name: DB_PASS
valueFrom: valueFrom:
...@@ -120,7 +118,7 @@ should allow disabling redis auth: ...@@ -120,7 +118,7 @@ should allow disabling redis auth:
template: template:
metadata: metadata:
annotations: annotations:
checksum/config-configmap: 6171320454845e8c5c867b5db63251ff95089e25c0200ca8f72d6bb9f6535726 checksum/config-configmap: e95945d1de1fe21a68c3dc644c6b93291e3343e19569236e8d7df3e7462b788a
checksum/config-secrets: c0d40e352ffcd2127af550b605bb0464640cd2960d007d940960d3d69d3c6aa4 checksum/config-secrets: c0d40e352ffcd2127af550b605bb0464640cd2960d007d940960d3d69d3c6aa4
labels: labels:
app.kubernetes.io/component: streaming app.kubernetes.io/component: streaming
...@@ -195,7 +193,7 @@ should allow disabling redis auth: ...@@ -195,7 +193,7 @@ should allow disabling redis auth:
template: template:
metadata: metadata:
annotations: annotations:
checksum/config-configmap: 6171320454845e8c5c867b5db63251ff95089e25c0200ca8f72d6bb9f6535726 checksum/config-configmap: e95945d1de1fe21a68c3dc644c6b93291e3343e19569236e8d7df3e7462b788a
checksum/config-secrets: c0d40e352ffcd2127af550b605bb0464640cd2960d007d940960d3d69d3c6aa4 checksum/config-secrets: c0d40e352ffcd2127af550b605bb0464640cd2960d007d940960d3d69d3c6aa4
labels: labels:
app.kubernetes.io/component: web app.kubernetes.io/component: web
......
...@@ -8,9 +8,6 @@ should match basic snapshot: ...@@ -8,9 +8,6 @@ should match basic snapshot:
DB_PORT: "5432" DB_PORT: "5432"
DB_USER: mastodon DB_USER: mastodon
DEFAULT_LOCALE: en DEFAULT_LOCALE: en
ES_ENABLED: "true"
ES_HOST: RELEASE-NAME-elasticsearch-master-hl
ES_PORT: "9200"
LOCAL_DOMAIN: mastodon.local LOCAL_DOMAIN: mastodon.local
MALLOC_ARENA_MAX: "2" MALLOC_ARENA_MAX: "2"
NODE_ENV: production NODE_ENV: production
...@@ -137,12 +134,10 @@ should match basic snapshot: ...@@ -137,12 +134,10 @@ should match basic snapshot:
app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/name: mastodon app.kubernetes.io/name: mastodon
app.kubernetes.io/part-of: rails app.kubernetes.io/part-of: rails
strategy:
type: Recreate
template: template:
metadata: metadata:
annotations: annotations:
checksum/config-configmap: 6171320454845e8c5c867b5db63251ff95089e25c0200ca8f72d6bb9f6535726 checksum/config-configmap: e95945d1de1fe21a68c3dc644c6b93291e3343e19569236e8d7df3e7462b788a
checksum/config-secrets: c0d40e352ffcd2127af550b605bb0464640cd2960d007d940960d3d69d3c6aa4 checksum/config-secrets: c0d40e352ffcd2127af550b605bb0464640cd2960d007d940960d3d69d3c6aa4
labels: labels:
app.kubernetes.io/component: sidekiq-all-queues app.kubernetes.io/component: sidekiq-all-queues
...@@ -166,9 +161,9 @@ should match basic snapshot: ...@@ -166,9 +161,9 @@ should match basic snapshot:
- -q - -q
- mailers,2 - mailers,2
- -q - -q
- pull - pull,1
- -q - -q
- scheduler - scheduler,1
env: env:
- name: DB_PASS - name: DB_PASS
valueFrom: valueFrom:
...@@ -242,7 +237,7 @@ should match basic snapshot: ...@@ -242,7 +237,7 @@ should match basic snapshot:
template: template:
metadata: metadata:
annotations: annotations:
checksum/config-configmap: 6171320454845e8c5c867b5db63251ff95089e25c0200ca8f72d6bb9f6535726 checksum/config-configmap: e95945d1de1fe21a68c3dc644c6b93291e3343e19569236e8d7df3e7462b788a
checksum/config-secrets: c0d40e352ffcd2127af550b605bb0464640cd2960d007d940960d3d69d3c6aa4 checksum/config-secrets: c0d40e352ffcd2127af550b605bb0464640cd2960d007d940960d3d69d3c6aa4
labels: labels:
app.kubernetes.io/component: streaming app.kubernetes.io/component: streaming
...@@ -322,7 +317,7 @@ should match basic snapshot: ...@@ -322,7 +317,7 @@ should match basic snapshot:
template: template:
metadata: metadata:
annotations: annotations:
checksum/config-configmap: 6171320454845e8c5c867b5db63251ff95089e25c0200ca8f72d6bb9f6535726 checksum/config-configmap: e95945d1de1fe21a68c3dc644c6b93291e3343e19569236e8d7df3e7462b788a
checksum/config-secrets: c0d40e352ffcd2127af550b605bb0464640cd2960d007d940960d3d69d3c6aa4 checksum/config-secrets: c0d40e352ffcd2127af550b605bb0464640cd2960d007d940960d3d69d3c6aa4
labels: labels:
app.kubernetes.io/component: web app.kubernetes.io/component: web
...@@ -513,78 +508,6 @@ should match basic snapshot: ...@@ -513,78 +508,6 @@ should match basic snapshot:
persistentVolumeClaim: persistentVolumeClaim:
claimName: RELEASE-NAME-mastodon-system claimName: RELEASE-NAME-mastodon-system
8: | 8: |
apiVersion: batch/v1
kind: Job
metadata:
annotations:
helm.sh/hook: post-install
helm.sh/hook-delete-policy: before-hook-creation,hook-succeeded
helm.sh/hook-weight: "-1"
labels:
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: mastodon
app.kubernetes.io/version: 4.5.6
helm.sh/chart: mastodon-1.2.3
name: RELEASE-NAME-mastodon-chewy-upgrade
spec:
template:
metadata:
name: RELEASE-NAME-mastodon-chewy-upgrade
spec:
containers:
- command:
- bundle
- exec
- rake
- chewy:upgrade
env:
- name: DB_PASS
valueFrom:
secretKeyRef:
key: password
name: RELEASE-NAME-postgresql
- name: REDIS_PASSWORD
valueFrom:
secretKeyRef:
key: redis-password
name: RELEASE-NAME-redis
- name: PORT
value: "3000"
envFrom:
- configMapRef:
name: RELEASE-NAME-mastodon-env
- secretRef:
name: RELEASE-NAME-mastodon
image: ghcr.io/mastodon/mastodon:4.5.6
imagePullPolicy: IfNotPresent
name: RELEASE-NAME-mastodon-chewy-setup
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
volumeMounts:
- mountPath: /opt/mastodon/public/assets
name: assets
- mountPath: /opt/mastodon/public/system
name: system
restartPolicy: Never
securityContext:
fsGroup: 991
runAsGroup: 991
runAsNonRoot: true
runAsUser: 991
seccompProfile:
type: RuntimeDefault
volumes:
- name: assets
persistentVolumeClaim:
claimName: RELEASE-NAME-mastodon-assets
- name: system
persistentVolumeClaim:
claimName: RELEASE-NAME-mastodon-system
9: |
apiVersion: batch/v1 apiVersion: batch/v1
kind: Job kind: Job
metadata: metadata:
...@@ -661,7 +584,7 @@ should match basic snapshot: ...@@ -661,7 +584,7 @@ should match basic snapshot:
- name: system - name: system
persistentVolumeClaim: persistentVolumeClaim:
claimName: RELEASE-NAME-mastodon-system claimName: RELEASE-NAME-mastodon-system
10: | 9: |
apiVersion: batch/v1 apiVersion: batch/v1
kind: Job kind: Job
metadata: metadata:
...@@ -733,7 +656,7 @@ should match basic snapshot: ...@@ -733,7 +656,7 @@ should match basic snapshot:
- name: system - name: system
persistentVolumeClaim: persistentVolumeClaim:
claimName: RELEASE-NAME-mastodon-system claimName: RELEASE-NAME-mastodon-system
11: | 10: |
apiVersion: batch/v1 apiVersion: batch/v1
kind: Job kind: Job
metadata: metadata:
...@@ -807,7 +730,7 @@ should match basic snapshot: ...@@ -807,7 +730,7 @@ should match basic snapshot:
- name: system - name: system
persistentVolumeClaim: persistentVolumeClaim:
claimName: RELEASE-NAME-mastodon-system claimName: RELEASE-NAME-mastodon-system
12: | 11: |
apiVersion: policy/v1 apiVersion: policy/v1
kind: PodDisruptionBudget kind: PodDisruptionBudget
metadata: metadata:
...@@ -828,7 +751,7 @@ should match basic snapshot: ...@@ -828,7 +751,7 @@ should match basic snapshot:
app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/name: mastodon app.kubernetes.io/name: mastodon
app.kubernetes.io/part-of: rails app.kubernetes.io/part-of: rails
13: | 12: |
apiVersion: policy/v1 apiVersion: policy/v1
kind: PodDisruptionBudget kind: PodDisruptionBudget
metadata: metadata:
...@@ -847,7 +770,7 @@ should match basic snapshot: ...@@ -847,7 +770,7 @@ should match basic snapshot:
app.kubernetes.io/component: streaming app.kubernetes.io/component: streaming
app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/name: mastodon app.kubernetes.io/name: mastodon
14: | 13: |
apiVersion: policy/v1 apiVersion: policy/v1
kind: PodDisruptionBudget kind: PodDisruptionBudget
metadata: metadata:
...@@ -868,7 +791,7 @@ should match basic snapshot: ...@@ -868,7 +791,7 @@ should match basic snapshot:
app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/name: mastodon app.kubernetes.io/name: mastodon
app.kubernetes.io/part-of: rails app.kubernetes.io/part-of: rails
15: | 14: |
apiVersion: v1 apiVersion: v1
kind: PersistentVolumeClaim kind: PersistentVolumeClaim
metadata: metadata:
...@@ -886,7 +809,7 @@ should match basic snapshot: ...@@ -886,7 +809,7 @@ should match basic snapshot:
requests: requests:
storage: 10Gi storage: 10Gi
storageClassName: null storageClassName: null
16: | 15: |
apiVersion: v1 apiVersion: v1
kind: PersistentVolumeClaim kind: PersistentVolumeClaim
metadata: metadata:
...@@ -904,7 +827,7 @@ should match basic snapshot: ...@@ -904,7 +827,7 @@ should match basic snapshot:
requests: requests:
storage: 100Gi storage: 100Gi
storageClassName: null storageClassName: null
17: | 16: |
apiVersion: v1 apiVersion: v1
data: data:
OTP_SECRET: ZHVtbXktb3RwX3NlY3JldA== OTP_SECRET: ZHVtbXktb3RwX3NlY3JldA==
...@@ -921,18 +844,7 @@ should match basic snapshot: ...@@ -921,18 +844,7 @@ should match basic snapshot:
helm.sh/chart: mastodon-1.2.3 helm.sh/chart: mastodon-1.2.3
name: RELEASE-NAME-mastodon name: RELEASE-NAME-mastodon
type: Opaque type: Opaque
18: | 17: |
apiVersion: v1
kind: ServiceAccount
metadata:
labels:
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: mastodon
app.kubernetes.io/version: 4.5.6
helm.sh/chart: mastodon-1.2.3
name: RELEASE-NAME-mastodon
19: |
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
metadata: metadata:
...@@ -954,7 +866,7 @@ should match basic snapshot: ...@@ -954,7 +866,7 @@ should match basic snapshot:
app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/name: mastodon app.kubernetes.io/name: mastodon
type: ClusterIP type: ClusterIP
20: | 18: |
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
metadata: metadata:
...@@ -976,6 +888,17 @@ should match basic snapshot: ...@@ -976,6 +888,17 @@ should match basic snapshot:
app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/name: mastodon app.kubernetes.io/name: mastodon
type: ClusterIP type: ClusterIP
19: |
apiVersion: v1
kind: ServiceAccount
metadata:
labels:
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: mastodon
app.kubernetes.io/version: 4.5.6
helm.sh/chart: mastodon-1.2.3
name: RELEASE-NAME-mastodon
should match basic snapshot without dependencies: should match basic snapshot without dependencies:
1: | 1: |
apiVersion: v1 apiVersion: v1
...@@ -1111,8 +1034,6 @@ should match basic snapshot without dependencies: ...@@ -1111,8 +1034,6 @@ should match basic snapshot without dependencies:
app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/name: mastodon app.kubernetes.io/name: mastodon
app.kubernetes.io/part-of: rails app.kubernetes.io/part-of: rails
strategy:
type: Recreate
template: template:
metadata: metadata:
annotations: annotations:
...@@ -1140,9 +1061,9 @@ should match basic snapshot without dependencies: ...@@ -1140,9 +1061,9 @@ should match basic snapshot without dependencies:
- -q - -q
- mailers,2 - mailers,2
- -q - -q
- pull - pull,1
- -q - -q
- scheduler - scheduler,1
env: env:
- name: DB_PASS - name: DB_PASS
valueFrom: valueFrom:
...@@ -1825,17 +1746,6 @@ should match basic snapshot without dependencies: ...@@ -1825,17 +1746,6 @@ should match basic snapshot without dependencies:
name: RELEASE-NAME-mastodon name: RELEASE-NAME-mastodon
type: Opaque type: Opaque
17: | 17: |
apiVersion: v1
kind: ServiceAccount
metadata:
labels:
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: mastodon
app.kubernetes.io/version: 4.5.6
helm.sh/chart: mastodon-1.2.3
name: RELEASE-NAME-mastodon
18: |
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
metadata: metadata:
...@@ -1857,7 +1767,7 @@ should match basic snapshot without dependencies: ...@@ -1857,7 +1767,7 @@ should match basic snapshot without dependencies:
app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/name: mastodon app.kubernetes.io/name: mastodon
type: ClusterIP type: ClusterIP
19: | 18: |
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
metadata: metadata:
...@@ -1879,3 +1789,14 @@ should match basic snapshot without dependencies: ...@@ -1879,3 +1789,14 @@ should match basic snapshot without dependencies:
app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/name: mastodon app.kubernetes.io/name: mastodon
type: ClusterIP type: ClusterIP
19: |
apiVersion: v1
kind: ServiceAccount
metadata:
labels:
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: mastodon
app.kubernetes.io/version: 4.5.6
helm.sh/chart: mastodon-1.2.3
name: RELEASE-NAME-mastodon
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment