apiVersion: v1 kind: Deployment metadata: name: oauth namespace: dolphin spec: selector: matchLabels: app: oauth template: metadata: labels: app: oauth spec: containers: - name: oauth image: registry.cn-hangzhou.aliyuncs.com/oauth:1001 volumeMounts: - name: config mountPath: /app/app.properties subPath: app.properties resources: limits: memory: "2Gi" cpu: "1000m" requests: memory: "10Mi" cpu: "11m" ports: - containerPort: 80 imagePullSecrets: - name: registrykey volumes: - name: config configMap: name: oauth