You've already forked prometheus-postgres-exporter
fix(serviceAccount): remove top level dict .spec
This commit is contained in:
@ -29,12 +29,12 @@ tests:
|
||||
- notExists:
|
||||
path: metadata.labels
|
||||
- equal:
|
||||
path: spec.automountServiceAccountToken
|
||||
path: automountServiceAccountToken
|
||||
value: true
|
||||
- notExists:
|
||||
path: spec.imagePullSecrets
|
||||
path: imagePullSecrets
|
||||
- notExists:
|
||||
path: spec.secrets
|
||||
path: secrets
|
||||
|
||||
|
||||
- it: Rendering serviceAccount with custom values.
|
||||
@ -65,14 +65,14 @@ tests:
|
||||
path: metadata.name
|
||||
value: prometheus-postgres-exporter-unittest
|
||||
- equal:
|
||||
path: spec.automountServiceAccountToken
|
||||
path: automountServiceAccountToken
|
||||
value: false
|
||||
- equal:
|
||||
path: spec.imagePullSecrets
|
||||
path: imagePullSecrets
|
||||
value:
|
||||
- name: "my-pull-secret"
|
||||
- equal:
|
||||
path: spec.secrets
|
||||
path: secrets
|
||||
value:
|
||||
- name: "my-secret"
|
||||
namespace: "my-namespace"
|
||||
|
Reference in New Issue
Block a user