I am getting validation errors though I received final output of installation page.
Here is the error what I am getting
first volumeMount name for ‘iron-gallery’ deployment is not ‘config’ under namespace ‘iron-namespace-nautilus’
Deploy_Service YAML file
apiVersion: apps/v1
kind: Deployment
metadata:
creationTimestamp: null
labels:
run: iron-gallery
name: iron-gallery-deployment-nautilus
namespace: iron-namespace-nautilus
spec:
replicas: 1
selector:
matchLabels:
run: iron-gallery
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
run: iron-gallery
spec:
containers:
- image: kodekloud/irongallery:2.0
name: iron-gallery-container-nautilus
resources:
limits:
cpu: “50m”
memory: “100Mi”
volumeMounts:
- mountPath: /usr/share/nginx/html/data
name: config
volumeMounts:
- mountPath: /usr/share/nginx/html/uploads
name: images
volumes:
- name: config
emptyDir: {}
volumes:
- name: images
emptyDir: {}
status: {}
apiVersion: apps/v1
kind: Deployment
metadata:
creationTimestamp: null
labels:
db: mariadb
name: iron-db-deployment-nautilus
namespace: iron-namespace-nautilus
spec:
replicas: 1
selector:
matchLabels:
db: mariadb
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
db: mariadb
spec:
containers:
- image: kodekloud/irondb:2.0
name: iron-db-container-nautilus
env:
- name: MYSQL_DATABASE
value: “database_host”
- name: MYSQL_ROOT_PASSWORD
value: “mysql12345#”
- name: MYSQL_PASSWORD
value: “mysql54321#”
- name: MYSQL_USER
value: “trust”
volumeMounts:
- mountPath: /var/lib/mysql
name: db
volumes:
- name: db
emptyDir: {}
status: {}
apiVersion: v1
kind: Service
metadata:
name: iron-db-service-nautilus
namespace: iron-namespace-nautilus
spec:
selector:
db: mariadb
ports:
- port: 3306
protocol: TCP
targetPort: 3306
apiVersion: v1
kind: Service
metadata:
name: iron-gallery-service-nautilus
namespace: iron-namespace-nautilus
spec:
type: NodePort
selector:
run: iron-gallery
ports:
- port: 80
targetPort: 80
protocol: TCP
nodePort: 32678
FInal Output of executing the above code.