- Changed the key from `secretOperator` to `secret-operator` in `values.yaml`. - Updated the deployment template to reflect the new key name for image configuration. Signed-off-by: zhenyus <zhenyus@mathmast.com>
113 lines
2.4 KiB
YAML
113 lines
2.4 KiB
YAML
# Default values for freeleaps-secret-operator
|
|
replicaCount: 1
|
|
|
|
secret-operator:
|
|
image:
|
|
registry: docker.io
|
|
repository: freeleaps/secret-operator
|
|
pullPolicy: IfNotPresent
|
|
tag: "latest"
|
|
name: "secret-operator"
|
|
|
|
imagePullSecrets: []
|
|
nameOverride: ""
|
|
fullnameOverride: ""
|
|
|
|
serviceAccount:
|
|
create: true
|
|
annotations: {}
|
|
name: "freeleaps-secret-operator"
|
|
|
|
podAnnotations: {}
|
|
|
|
podSecurityContext: {}
|
|
|
|
securityContext:
|
|
allowPrivilegeEscalation: false
|
|
readOnlyRootFilesystem: true
|
|
runAsNonRoot: true
|
|
runAsUser: 1000
|
|
capabilities:
|
|
drop:
|
|
- ALL
|
|
|
|
resources:
|
|
limits:
|
|
cpu: 500m
|
|
memory: 512Mi
|
|
requests:
|
|
cpu: 100m
|
|
memory: 128Mi
|
|
|
|
nodeSelector: {}
|
|
|
|
tolerations: []
|
|
|
|
affinity: {}
|
|
|
|
# Operator specific configuration
|
|
operator:
|
|
# General Configuration
|
|
debug: false
|
|
apiServerPort: 8080
|
|
watchedNamespaces: "" # Empty means watch all namespaces
|
|
k8sClusterDomain: "kubernetes.default.svc.freeleaps.cluster"
|
|
autoDiscoverK8sClusterDomainMaxRetries: 5
|
|
|
|
# Kopf Configuration
|
|
kopfPeeringName: "freeleaps-secret-operator"
|
|
leaderElection:
|
|
enabled: true
|
|
|
|
# Namespace where the operator will be deployed
|
|
namespace: "freeleaps-devops-system"
|
|
|
|
# Azure Key Vault Configuration
|
|
# These values should be provided through a secret
|
|
azureKeyVault:
|
|
# If true, will create a secret for Azure Key Vault credentials
|
|
createSecret: true
|
|
# Reference to existing secret containing Azure credentials
|
|
existingSecret: ""
|
|
# Values used if createSecret is true
|
|
credentials:
|
|
tenantId: ""
|
|
clientId: ""
|
|
clientSecret: ""
|
|
vaultUrl: ""
|
|
vaultName: ""
|
|
subscriptionId: ""
|
|
resourceGroup: ""
|
|
|
|
# JWT Configuration
|
|
jwt:
|
|
# If true, will create a secret for JWT configuration
|
|
createSecret: true
|
|
# Reference to existing secret containing JWT configuration
|
|
existingSecret: ""
|
|
# Values used if createSecret is true
|
|
config:
|
|
secretKey: "your-secret-key-change-in-production"
|
|
algorithm: "HS256"
|
|
|
|
# HMAC Configuration
|
|
hmac:
|
|
# If true, will create a secret for HMAC configuration
|
|
createSecret: true
|
|
# Reference to existing secret containing HMAC configuration
|
|
existingSecret: ""
|
|
# Values used if createSecret is true
|
|
config:
|
|
secretKey: "your-hmac-secret-key-change-in-production"
|
|
|
|
# CRDs configuration
|
|
crds:
|
|
install: false # Set to false if you want to manage CRDs separately
|
|
|
|
# Metrics configuration
|
|
metrics:
|
|
enabled: false
|
|
service:
|
|
type: ClusterIP
|
|
port: 8080
|