[CI] Please linter
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing

This commit is contained in:
kleph 2020-02-22 02:52:32 +01:00
parent 3260c6ea1a
commit 46ccd88278
3 changed files with 5 additions and 16 deletions

View file

@ -61,10 +61,10 @@ steps:
kubernetes_token:
from_secret: kubectl_token
commands:
- kubectl get pods
- kubectl get deployments
- kubectl get svc
- kubectl apply -f kube/beer-deployment.yaml
- kubectl get pods --namespace=beer
- kubectl get deployments --namespace=beer
- kubectl get svc --namespace=beer
- kubectl apply -f kube/beer-deployment.yaml --namespace=beer
depends_on:
- build

View file

@ -5,4 +5,3 @@ metadata:
name: beer
labels:
name: beer

View file

@ -10,7 +10,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: beer-deploy-role
namespace: beer # Should be namespace you are granting access to
namespace: beer
rules:
- apiGroups: ["*"]
resources: ["*"]
@ -29,13 +29,3 @@ subjects:
- namespace: beer
kind: ServiceAccount
name: beer-deploy
#---
#ApiVersion: v1
#Kind: Secret
#Metadata:
# name: beer-deploy-secret
# annotations:
# kubernetes.io/service-account.name: beer-deploy
#Type: kubernetes.io/service-account-token