Deploying Apigee Edge (mainly Developer Portal) for Private Cloud using Bitnami helm drupal chart.

I have been trying to deploy Apigee Developer portal in K8 cluster using Bitnami Drupal Helm chart. I tried using a custome Docker image using Bitnami Drupal Base image and installing devportal-kickstart-project:10.x-dev on it through many ways. But the Drupal site gets deployed Fine But I dont see any apigee components on it. I wanted some help to set it up using Bitnami helm chart.
The Docker FIle I have used.

Use Bitnami’s production-grade Drupal 10 base image

FROM bitnami/drupal:10

Switch to root to install packages and modify directories

USER root

Install required tools

RUN install_packages git unzip composer php-curl

WORKDIR must match Bitnami’s copy source

WORKDIR /opt/bitnami/base

I have tried using Different WORKDIR /opt/bitnami/drupal ,/app

Clean any existing contents to avoid conflicts

RUN rm -rf ./*

Install Apigee Kickstart Drupal project

RUN composer create-project apigee/devportal-kickstart-project:10.x-dev . --no-interaction

Add Apigee integration modules

RUN composer require drupal/apigee_edge drupal/apigee_api_catalog drupal/smartdocs --no-interaction
#I have tried installing project

RUN composer install --no-dev --optimize-autoloader

Fix permissions to match the container user

RUN chown -R 1001:0 /opt/bitnami/base

Drop back to non-root user as expected by Bitnami

USER 1001

I use this image in my Bitnami Drupal helm chart.
I am new to Devops I needed some help setting this up.

5 Likes

Can we deploy Apigee Developer Portal through Helm chart?

Bitnami Drupal Helm chart offers all php and mariadb inside its helm chart

Hello @AdityaaSharma

I am not sure if devportal can be deployed through helm chart, but I can tell you is that.
Your first command is deploying Drupal 10 - # Use Bitnami’s production-grade Drupal 10 base image
FROM bitnami/drupal:10

Also the other command RUN composer create-project apigee/devportal-kickstart-project:10.x-dev . --no-interaction
This also deploys Drupal 10 setup with the Apigee Devportal kickstart

So I see here, you are installing drupal twice.

Please check this docker based apigee-kickstart devportal

https://github.com/apigee/docker-apigee-drupal-kickstart?tab=readme-ov-file

Thank you @kedarkhaire , I did remove
“RUN composer create-project apigee/devportal-kickstart-project:10.x-dev . --no-interaction”
and tried it before by just including
“RUN composer require drupal/apigee_edge drupal/apigee_api_catalog --no-interaction”
I did Download the modules, But installation had to be run through extend in Drupal Administration Menu.
But the problem was even then it did not deploy Apigee Developer Portal.
I wanted to know If I am missing something here.

I wanted to use a existing Drupal Helm chart to deploy Apigee Developer Portal. Is that possible?

Can someone please help me with this?

Same issue here

I am also facing this issue.

Drupal Helm chart. I’ve built a custom Docker image using the Bitnami Drupal base image and attempted to install devportal-kickstart-project:10.x-dev onto it.

While the Drupal site deploys successfully, none of the Apigee-specific components show up on the site. I’ve tried multiple methods to integrate the kickstart project during the image build process, but with no success.

Below is the Dockerfile I’ve been using. Any guidance on properly integrating Apigee dev portal components using this setup would be appreciated.