diff --git a/04-gen-secrets-job.yaml b/04-gen-secrets-job.yaml deleted file mode 100644 --- a/04-gen-secrets-job.yaml +++ /dev/null @@ -1,36 +0,0 @@ -apiVersion: batch/v1 -kind: Job -metadata: - labels: - app.kubernetes.io/name: pomerium - name: pomerium-gen-secrets - namespace: pomerium -spec: - template: - metadata: - labels: - app.kubernetes.io/name: pomerium - name: pomerium-gen-secrets - spec: - containers: - - args: - - gen-secrets - - --secrets=$(POD_NAMESPACE)/bootstrap - env: - - name: POD_NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - image: pomerium/ingress-controller:sha-efe2d11 - imagePullPolicy: IfNotPresent - name: gen-secrets - securityContext: - allowPrivilegeEscalation: false - nodeSelector: - kubernetes.io/os: linux - restartPolicy: OnFailure - securityContext: - fsGroup: 1000 - runAsNonRoot: true - runAsUser: 1000 - serviceAccountName: pomerium-gen-secrets