github push error
git push origin master后出错
error: src refspec master does not match any
error: failed to push some refs to 'https://github.com/test.test.git'
原来github的master已经改成main了。。。
……每一行错误,都值得记录。
git push origin master后出错
error: src refspec master does not match any
error: failed to push some refs to 'https://github.com/test.test.git'
原来github的master已经改成main了。。。
……SendAsDenied; gitlib@example.com not allowed to send as gitlab@git.example.com; STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message Cannot submit message
遇到一个gitlab发送邮件的错误,原因是因为gitlab_rails['gitlab_email_from'] = 'gitlab@example.com'
该参数没有设置。
系统信息如下:
Linux 4.14.104-95.84.amzn2.x86_64 #1 SMP x86_64 GNU/Linux
执行 sudo /usr/local/mysql/bin/mysql -uroot -p 报出如下错误:
……
|
|
|
|
|
|
|
|
kubectl rollout history deployment/grafana -n kubesphere-monitoring-system
kubectl rollout history deployment/grafana --revision=83 -n kubesphere-monitoring-system
kubectl rollout undo deployment/grafana --to-revision=1 -n kubesphere-monitoring-system
|
|
|
|
|
|
|
|
# 创建tls证书
kubectl create secret tls my-tls-secret --cert=path/to/cert/file --key=path/to/key/file -n foreground --kubeconfig=.\.kube\kubeconfig
# 加密证书Opaque
kubectl create secret generic mycerts --from-file=private-rsa.pfx=.\private-rsa.pfx -n foreground \
--kubeconfig=.\.kube\kubeconfig
然后yaml引用
```yaml
spec:
volumes:
- name: mycerts
secret:
secretName: mycerts
defaultMode: 420
...
containers:
volumeMounts:
- name: mycerts
readOnly: true
mountPath: /data/cer/
kubectl create secret docker-registry secret-tiger-docker
–docker-email=tiger@acme.example
–docker-username=tiger
–docker-password=pass1234
–docker-server=my-registry.example:5000