...

Text file src/edge-infra.dev/config/pallets/sds/emergencyaccess/authservice/base/manifests.yaml

Documentation: edge-infra.dev/config/pallets/sds/emergencyaccess/authservice/base

     1apiVersion: apps/v1
     2kind: Deployment
     3metadata:
     4  name: authservice
     5  labels:
     6    app: authservice
     7spec:
     8  selector:
     9    matchLabels:
    10      app: authservice
    11  template:
    12    metadata:
    13      labels:
    14        app: authservice
    15    spec:
    16      serviceAccountName: ea-authservice-sa
    17      automountServiceAccountToken: true
    18      containers:
    19      - name: authservice
    20        image: bzl://cmd/sds/emergencyaccess/authservice:container_push
    21        ports:
    22        - name: authservice
    23          containerPort: 8080
    24        envFrom:
    25        - configMapRef:
    26            name: authservice
    27        resources:
    28          limits:
    29            cpu: "100m"
    30            memory: "100Mi"
    31          requests:
    32            cpu: "100m"
    33            memory: "100Mi"
    34        livenessProbe:
    35          httpGet:
    36            port: authservice
    37            path: /health
    38          initialDelaySeconds: 3
    39        readinessProbe:
    40          httpGet:
    41            port: authservice
    42            path: /ready
    43          initialDelaySeconds: 3
    44        imagePullPolicy: IfNotPresent
    45      volumes:
    46      - name: authservice
    47        configMap:
    48          name: authservice
    49      imagePullSecrets:
    50      - name: edge-docker-pull-secret
    51---
    52apiVersion: v1
    53kind: Service
    54metadata:
    55  name: authservice
    56spec:
    57  selector:
    58    app: authservice
    59  ports:
    60  - name: authservice
    61    protocol: TCP
    62    port: 80
    63    targetPort: authservice

View as plain text