account

command module
v0.0.0-...-950e6cb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

README

创建微信支付所需要的 secret 选择 secret 的方式是因为 WechatPrivateKey 有很多特殊符号很容易解析错误,先base64加密之后通过secret是一种比较合适的办法。

apiVersion: v1
kind: Secret
metadata:
  name: payment-secret
  namespace: account-system
type: Opaque
data:
  MchID: xxxx
  AppID: xxxxx
  MchAPIv3Key: xxxx
  MchCertificateSerialNumber: xxxx
  WechatPrivateKey: xxxx

部署方式

sealos run ghcr.io/labring/sealos-account-controller:deploy-cluster --env MONGO_URI="mongodb://username:passwd@ip:port/sealos-resources?authSource=admin"

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
v1
Package v1 contains API Schema definitions for the account v1 API group +kubebuilder:object:generate=true +groupName=account.sealos.io
Package v1 contains API Schema definitions for the account v1 API group +kubebuilder:object:generate=true +groupName=account.sealos.io

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL