Skip to content

Commit

Permalink
namespace fix in EFS pvc
Browse files Browse the repository at this point in the history
  • Loading branch information
youngjeong46 committed May 27, 2023
1 parent 1c633fc commit 9689dbb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/addons/apache-airflow/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ import { IFileSystem } from "aws-cdk-lib/aws-efs";
* User provided options for the Helm Chart
*/
export interface AirflowAddOnProps extends HelmAddOnUserProps {
/**
* Namespace
*/
namespace?: string,

/**
* Enable Load Balancer for Ingress - default is false
*/
Expand Down Expand Up @@ -197,7 +202,7 @@ function populateValues(clusterInfo: ClusterInfo, ns: KubernetesManifest, helmOp
kind: "PersistentVolumeClaim",
metadata: {
name: AIRFLOWPVC,
namespace: `${ns}`
namespace: `${helmOptions.namespace!}`
},
spec: {
accessModes: ["ReadWriteMany"],
Expand Down

0 comments on commit 9689dbb

Please sign in to comment.