Ticket: Postiz Deployment Issues with ArgoCD & Kustomize
@Filipe Oliveira Just created a ticket
Question: Deploying Postiz with ArgoCD via Kustomize
Attempted: I'm trying to deploy Postiz with Kustomize and ArgoCD, however, Postiz does not use the configmap created neither updates the .env file. It creates the configmap just fine, however, the pod does not use this values whatsoever.
Working On: Self-hosting
Using Postiz On: Kubernetes
Take it from here @Postiz
Question: Deploying Postiz with ArgoCD via Kustomize
Attempted: I'm trying to deploy Postiz with Kustomize and ArgoCD, however, Postiz does not use the configmap created neither updates the .env file. It creates the configmap just fine, however, the pod does not use this values whatsoever.
Working On: Self-hosting
Using Postiz On: Kubernetes
Take it from here @Postiz
2 Replies
Values.yaml:
This is my values.yaml:
replicaCount: 1
image:
repository: ghcr.io/gitroomhq/postiz-app
pullPolicy: IfNotPresent
tag: "latest"
imagePullSecrets: []
nameOverride: "postiz"
fullnameOverride: "postiz"
serviceAccount:
create: true
annotations: {}
name: ""
podAnnotations: {}
podSecurityContext: {}
securityContext: {}
resources:
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
limits:
cpu: 400m
memory: 512Mi
requests:
cpu: 400m
memory: 512Mi
extraContainers: []
extraVolumes: []
extraVolumeMounts: []
autoscaling:
enabled: false
minReplicas: 1
maxReplicas: 2
targetCPUUtilizationPercentage: 20
nodeSelector: {}
tolerations: []
affinity: {}
PostgreSQL configuration
postgresql:
enabled: true
auth:
username: postiz
password:
database: postiz
service:
ports:
postgresql: 5432
Redis configuration
redis:
enabled: true
auth:
password:
master:
service:
ports:
redis: 6379
env:
FRONTEND_URL: "http://postiz.lab.local"
NEXT_PUBLIC_BACKEND_URL: "http://postiz.lab.local/api"
MAIN_URL: "http://postiz.lab.local"
IS_GENERAL: "true"
Sensitive environment variables (to be stored in Secrets)
secrets:
REDIS_URL:
DATABASE_URL:
JWT_SECRET: ""
X_API_KEY: ""
X_API_SECRET: ""
LINKEDIN_CLIENT_ID: ""
LINKEDIN_CLIENT_SECRET: ""
REDDIT_CLIENT_ID: ""
REDDIT_CLIENT_SECRET: ""
GITHUB_CLIENT_ID: ""
GITHUB_CLIENT_SECRET: ""
RESEND_API_KEY: ""
CLOUDFLARE_ACCOUNT_ID: ""
CLOUDFLARE_ACCESS_KEY: ""
CLOUDFLARE_SECRET_ACCESS_KEY: ""
CLOUDFLARE_BUCKETNAME: ""
CLOUDFLARE_BUCKET_URL: ""
@Postiz please help @Filipe Oliveira