Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "args" to ContainerBuilder #595

Closed
tommaso-borgato opened this issue Nov 4, 2024 · 1 comment
Closed

Add "args" to ContainerBuilder #595

tommaso-borgato opened this issue Nov 4, 2024 · 1 comment

Comments

@tommaso-borgato
Copy link
Contributor

We need to add "args" to ContainerBuilder in order to have e.g.:

kind: DeploymentConfig
apiVersion: apps.openshift.io/v1
metadata:
  name: postgres-sample
spec:
  selector:
    name: postgres-sample
  template:
    metadata:
      name: postgres-sample
      labels:
        name: postgres-sample
    spec:
      containers:
        - name: postgres-sample
          image: 'quay.io/tborgato/postgres:16'
          args:
            - '-c'
            - shared_buffers=256MB
            - '-c'
            - max_connections=200
          env:
            - name: POSTGRES_USER
              value: admin
            - name: POSTGRES_PASSWORD
              value: admin
            - name: POSTGRES_DB
              value: sampledb
            - name: PGDATA
              value: /var/lib/postgresql/data/pgdata
tommaso-borgato added a commit that referenced this issue Nov 4, 2024
@tommaso-borgato
Copy link
Contributor Author

Fixed in #596

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant