[CI] Please linter
This commit is contained in:
parent
3260c6ea1a
commit
46ccd88278
3 changed files with 5 additions and 16 deletions
|
@ -61,10 +61,10 @@ steps:
|
||||||
kubernetes_token:
|
kubernetes_token:
|
||||||
from_secret: kubectl_token
|
from_secret: kubectl_token
|
||||||
commands:
|
commands:
|
||||||
- kubectl get pods
|
- kubectl get pods --namespace=beer
|
||||||
- kubectl get deployments
|
- kubectl get deployments --namespace=beer
|
||||||
- kubectl get svc
|
- kubectl get svc --namespace=beer
|
||||||
- kubectl apply -f kube/beer-deployment.yaml
|
- kubectl apply -f kube/beer-deployment.yaml --namespace=beer
|
||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- build
|
- build
|
||||||
|
|
|
@ -5,4 +5,3 @@ metadata:
|
||||||
name: beer
|
name: beer
|
||||||
labels:
|
labels:
|
||||||
name: beer
|
name: beer
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: Role
|
kind: Role
|
||||||
metadata:
|
metadata:
|
||||||
name: beer-deploy-role
|
name: beer-deploy-role
|
||||||
namespace: beer # Should be namespace you are granting access to
|
namespace: beer
|
||||||
rules:
|
rules:
|
||||||
- apiGroups: ["*"]
|
- apiGroups: ["*"]
|
||||||
resources: ["*"]
|
resources: ["*"]
|
||||||
|
@ -29,13 +29,3 @@ subjects:
|
||||||
- namespace: beer
|
- namespace: beer
|
||||||
kind: ServiceAccount
|
kind: ServiceAccount
|
||||||
name: beer-deploy
|
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
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue