Skip to content
This repository has been archived by the owner on Dec 6, 2024. It is now read-only.

Commit

Permalink
Updated templates to match updates to blog.
Browse files Browse the repository at this point in the history
  • Loading branch information
troy-ameigh committed Jul 9, 2021
1 parent 119d5e1 commit c14b649
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions samples/eks-app-helm-deploy/helm3-wordpress-deploy-RDS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Metadata:
- Label:
default: Kube Cluster
Parameters:
- ClusterName
- EKSClusterName
- Namespace
- Name
- Label:
Expand All @@ -32,7 +32,7 @@ Metadata:
default: Wordpress Username
wordpressPassword:
default: Wordpress Password
ClusterName:
EKSClusterName:
default: EKS Kube Cluster Name
Namespace:
default: Kube Namespace for this function
Expand Down Expand Up @@ -74,7 +74,7 @@ Parameters:
MaxLength: '64'
NoEcho: 'true'
Type: String
ClusterName:
EKSClusterName:
Description: 'Use the "EKSClusterName" from the EKSStack outputs section in CloudFormation.'
Type: String
Namespace:
Expand Down Expand Up @@ -185,7 +185,7 @@ Resources:
HelmExample:
Type: "AWSQS::Kubernetes::Helm"
Properties:
ClusterID: !Ref ClusterName
ClusterID: !Ref EKSClusterName
Namespace: !Ref Namespace
Chart: stable/wordpress
Name: !Ref Name
Expand All @@ -203,8 +203,8 @@ Resources:
Type: "Custom::KubeGet"
Version: '1.0'
Properties:
ServiceToken: !Sub "arn:${AWS::Partition}:lambda:${AWS::Region}:${AWS::AccountId}:function:EKS-QuickStart-KubeGet-${ClusterName}"
ClusterName: !Ref ClusterName
ServiceToken: !Sub "arn:${AWS::Partition}:lambda:${AWS::Region}:${AWS::AccountId}:function:EKS-QuickStart-KubeGet-${EKSClusterName}"
ClusterName: !Ref EKSClusterName
Namespace: !Ref Namespace
Name: !Sub 'service/${Name}-wordpress'
JsonPath: '{.status.loadBalancer.ingress[0].hostname}'
Expand Down
12 changes: 6 additions & 6 deletions samples/eks-app-helm-deploy/helm3-wordpress-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Metadata:
- Label:
default: Kube Cluster
Parameters:
- ClusterName
- EKSClusterName
- KubeConfigKmsContext
- Namespace
- Name
Expand All @@ -22,7 +22,7 @@ Metadata:
default: Wordpress Username
wordpressPassword:
default: Wordpress Password
ClusterName:
EKSClusterName:
default: EKS Kube Cluster Name
KubeConfigKmsContext:
default: Kube KMS Context
Expand Down Expand Up @@ -50,7 +50,7 @@ Parameters:
MaxLength: '64'
NoEcho: 'true'
Type: String
ClusterName:
EKSClusterName:
Description: 'Use the "EKSClusterName" from the EKSStack outputs section in CloudFormation.'
Type: String
KubeConfigKmsContext:
Expand All @@ -74,7 +74,7 @@ Resources:
HelmExample:
Type: "AWSQS::Kubernetes::Helm"
Properties:
ClusterID: !Ref ClusterName
ClusterID: !Ref EKSClusterName
KubeConfigKmsContext: !Ref KubeConfigKmsContext
Namespace: !Ref Namespace
Chart: stable/wordpress
Expand All @@ -87,8 +87,8 @@ Resources:
Type: "Custom::KubeGet"
Version: '1.0'
Properties:
ServiceToken: !Sub "arn:${AWS::Partition}:lambda:${AWS::Region}:${AWS::AccountId}:function:EKS-QuickStart-KubeGet-${ClusterName}"
ClusterName: !Ref ClusterName
ServiceToken: !Sub "arn:${AWS::Partition}:lambda:${AWS::Region}:${AWS::AccountId}:function:EKS-QuickStart-KubeGet-${EKSClusterName}"
ClusterName: !Ref EKSClusterName
KubeConfigKmsContext: !Ref KubeConfigKmsContext
Namespace: !Ref Namespace
Name: !Sub 'service/${Name}-wordpress'
Expand Down

0 comments on commit c14b649

Please sign in to comment.